[WebService] General Media Access Webservice (2 Viewers)

RicoHTPC

MP Donator
  • Premium Supporter
  • February 4, 2011
    1,441
    172
    Cuxhaven
    Home Country
    Germany Germany
    AW: Re: [WebService] General Media Access Webservice

    MPExtended, it's successor, will be released in a few weeks and has a whole new API.
    That's good news!! :D
    I think it's high time for this and I can't wait to see this...
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    pünktchen
    Feel free to do some pr for this. Personally i have not enough spare time to search for someone to work on this... I'm glad that i had a few hours to work on the new layout...
     

    pacoma

    Portal Pro
    March 22, 2005
    404
    25
    53
    Wil
    Home Country
    Switzerland Switzerland
    AW: [WebService] General Media Access Webservice

    Hello everybody

    I've download this Plugin but i dont know how to install or use???

    can somebody help me??
     

    ay129

    Portal Pro
    October 7, 2011
    184
    24
    Home Country
    United Kingdom United Kingdom
    Hey pacoma,

    I am not sure the GMA Webservice is meant to be a standalone application. Rather i think it is a background service that enables you to access content on your MePo server.

    I have used this service in conjunction with the ampdroid app for android phones and tablets. See here:
    aMPdroid - MediaPortal Wiki

    Hope this helps.
     

    ay129

    Portal Pro
    October 7, 2011
    184
    24
    Home Country
    United Kingdom United Kingdom
    GMAWebservice - Codec issue with Ampdroid

    Hello all,

    I am running ampdroid on my Samsung Galaxy S2, and a single seat mediaportal 1.2 install on Windows 7 Ultimate 64 bit. I am using the CCCP (combined community codec pack. GMAwebservice is installed on the sole user account on the HTPC.

    Within Ampdroid, I can navigate through the series and movies, but I notice that I can only stream Xvid encoded movies or series. After clicking on the "Stream" option in ampdroid, I am then presented with a screen with Play, Resume and Streaming Quality options. Please see attached screenshots.

    Above the "Play" button is a ribbon showing the film's Format ("Xvid"), aspect ratio and file size. I will give some examples related to the attached screenshots. For the movie "About Schmidt", this ribbon is fully populated as you can see. But for the film "A Man Apart", which is an mkv file on the HTPC, that ribbon is full of zeroes. Which suggests the GMAwebservice is not transcoding or recognising these properly.

    Sure enough, playing About Schmidt works with no problems, I simply select Vplayer as the external player to use and away we go. But A man apart wont play under any circumstances, returning error result code 7 in Vplayer and unable to play video in the onboard video player. Also tried animal farm which is in divx format - no joy.

    Is this a codec issue to do with me not using ffmpeg? I attach some ampdroid logs, as well as the gmawebservice logs. i also attach some info about the video files i am having trouble with.

    can anyone help at all?

    Mike Lowrey Sir, do you have any suggestions? Any other galaxy s2 users want to chip in? I'd appreciate any help as I've been struggling for days now.

    Many thanks :D
     

    Attachments

    • SC20111221-091910.png
      SC20111221-091910.png
      212.7 KB
    • SC20111221-091931.png
      SC20111221-091931.png
      195.8 KB
    • SC20111221-091948.png
      SC20111221-091948.png
      243.6 KB
    • SC20111221-092809.png
      SC20111221-092809.png
      129.1 KB
    • alogcat.2011-12-21-09-31-28+0000.txt
      20.7 KB
    • mediainfo - about schmidt.txt
      3.4 KB
    • mediainfo - a man apart.txt
      2.7 KB
    • mediainfo - animal farm.txt
      2 KB

    ay129

    Portal Pro
    October 7, 2011
    184
    24
    Home Country
    United Kingdom United Kingdom
    Re: [WebService] General Media Access Webservice - Issue resolved

    As it turns out, my problems were due to an access issue as the GMA webservice was running off the local account. I created a new account with administrator rights and gave it a username and password (password is important). Then I went into services and right clicked GMAwebservice -> Properties -> Log on and set the webservice to run while logged into that account.

    and voila - i can now stream and play everything in my collection. Still a niggle with m2ts files, but thats ok to be honest.

    My heartfelt thanks to Oxan for your help with this issue.
     

    Pletskop

    MP Donator
  • Premium Supporter
  • January 7, 2009
    92
    12
    Home Country
    Belgium Belgium
    AW: [WebService] General Media Access Webservice

    I came across an error using aMPdroid when trying to access my NAS network share.
    The gmaWebservice is running with admin credentials that also allow access to the NAS share, so in theory it should work?!
    Any further ideas of how to drill down this issue?

    I'm currently facing a similar problem.

    I'm using GMA in combination with aMPdroid.
    My MP connects to all its media through a mapped network drive pointing a Windows Server 2008R2 acting as fileserver.
    My "Z:"-drive is authenticated using a specific - dedicated - account on the fileserver. This account is "stored" in the persistent drive mapping.
    Within MP, I can access all media without any problem and I have always used drive letters in my configurations.

    When I fire up aMPdroid and select the "music" section, I can retrieve all my music files through the tabs "artists", "albums" & "songs".
    I can download files and play them directly through MP.
    However, when selecting the tab "folder", I get the following error: "Loading failed, check your connection".

    The GMA log shows the following entry, seeming to indicate the network drive can't be accessed by GMA:
    Code:
    2012-02-20 17:16:08.7918 INFO: GmaWebService version 0.3.2
    2012-02-20 17:16:17.1468 ERROR: Error getting files from directory Z:\Music
    (MediaAccessService.GetFilesFromDirectory => FileSystem.GetFilesFromDirectory => Log.Error)

    A bit further down this post, I read that replacing the drive mapping by a UNC entry should solve the problem. It didn't:
    Code:
    2012-02-20 17:29:38.1222 ERROR: Error getting files from directory \\sun\pelikaan\multimedia\music
    (MediaAccessService.GetFilesFromDirectory => FileSystem.GetFilesFromDirectory => Log.Error)

    I tried running the GMA service under the local administrator account instead of the "local system account" but that didn't solve the problem either.

    It definitely seems to be a rights issue but I can't put my finger on where exactly it is going wrong.

    Any other suggestion on how to reolve this issue?

    Peter
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    You should run the GMA service under the same username and password as the account on the fileserver. Unfortunately it can't access the disk drive otherwise, though I'm working on that for MPExtended (the successor of GMA).
     

    Pletskop

    MP Donator
  • Premium Supporter
  • January 7, 2009
    92
    12
    Home Country
    Belgium Belgium
    You should run the GMA service under the same username and password as the account on the fileserver. Unfortunately it can't access the disk drive otherwise, though I'm working on that for MPExtended (the successor of GMA).

    Thanks for advice. Really appreciate it.

    Now... I tried this but I've run into trouble... :-(
    When I try to add the "SunPublicUser" account - which is defined on my fileserver - called "Sun", the "log on as" dialogue complains that it doesn't recognize the account. Changing the location also doesn't help as I only see the name of my PC where MP is running on, i.e. "Mars".
    Both systems "Sun" and "Mars" are in a workgroup called "pelikaan". I don't have a domain in place.

    I know that this is probably basic Windows and not so much GMA related but maybe you can help?

    Peter
     

    Users who are viewing this thread

    Top Bottom