[WebService] General Media Access Webservice (3 Viewers)

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    No (but the last TV4Home release can) and no (it's just an API for developers, you need an app like aMPdroid to use it)
     

    Wo0zy

    Retired Team Member
  • Premium Supporter
  • April 30, 2008
    394
    134
    Home Country
    United Kingdom United Kingdom
    Hi Guys,

    When doing an Album lookup using GMA (http://localhost:4321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0), some albums are returned multiple times.

    This happens if some of the fields returned are different in the album's metadata. For example the "AlbumArtists" and "Artists" fields. Obviously this sort of thing can happen a lot even (especially?) with accurate metadata tags.

    I've extracted the following example for reference

    {"AlbumArtists":["Gary Moore"],"Artists":["Albert Collins "," Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    {"AlbumArtists":["Gary Moore"],"Artists":["B.B. King "," Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    {"AlbumArtists":["Gary Moore"],"Artists":["Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    This is one album which happens to have two tracks with guest artists.

    In Mediaportal this album is only displayed once and has all the correct tracks but in aMPdroid the album appears three times.

    Not really sure if this is something that should/ could be fixed in GMA or in aMPdroid so I apologise if I've posted this in the wrong thread.

    All the best,

    Mick.
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    40
    Austria
    Home Country
    Austria Austria
    Hi Guys,

    When doing an Album lookup using GMA (http://localhost:4321/GmaWebService/MediaAccessService/json/GetAllAlbums?sort=0&order=0), some albums are returned multiple times.

    This happens if some of the fields returned are different in the album's metadata. For example the "AlbumArtists" and "Artists" fields. Obviously this sort of thing can happen a lot even (especially?) with accurate metadata tags.

    I've extracted the following example for reference

    {"AlbumArtists":["Gary Moore"],"Artists":["Albert Collins "," Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    {"AlbumArtists":["Gary Moore"],"Artists":["B.B. King "," Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    {"AlbumArtists":["Gary Moore"],"Artists":["Gary Moore"],"Composer":null,"CoverPath":null,"CoverPathL":"C:\\ProgramData\\Team MediaPortal\\MediaPortal\\thumbs\\Music\\Albums\\Gary Moore-After HoursL.jpg","Genre":null,"Publisher":null,"ShortedAlbumArtist":"Gary Moore","Title":"After Hours","Year":0},

    This is one album which happens to have two tracks with guest artists.

    In Mediaportal this album is only displayed once and has all the correct tracks but in aMPdroid the album appears three times.

    Not really sure if this is something that should/ could be fixed in GMA or in aMPdroid so I apologise if I've posted this in the wrong thread.

    All the best,

    Mick.


    iirc there is an option "Treat songs in the same folder as album" in MediaPortal. Maybe we should check and respect this option as well?
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Yeah - that one was already posted in the aMPdroid thread here. It's on my todo list to fix :)

    iirc there is an option "Treat songs in the same folder as album" in MediaPortal. Maybe we should check and respect this option as well?
    This is more like "treat songs with the same albumartist but different artist as the same album"
     

    Wo0zy

    Retired Team Member
  • Premium Supporter
  • April 30, 2008
    394
    134
    Home Country
    United Kingdom United Kingdom
    Thanks Guys.

    I checked through this thread before posting but not the aMPdroid thread. Sorry.

    iirc there is an option "Treat songs in the same folder as album" in MediaPortal. Maybe we should check and respect this option as well?

    Yeah. I do have that option ticked.

    I'll leave it up to you and Oxan to decide who fixes it :D

    All the best,

    Mick.
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    AW: [WebService] General Media Access Webservice

    Hello,

    first of all a BIG THANKS to the hard working devolopers of gmawebservice.:D
    Your service makes ampdroid such a wonderfull app.

    But what about a normal webinterface?
    It is our goal to provide worldwide access to your media without any dependence on special clients.
    Based on this goal part of the project itself is a html based webinterface with fanart support.

    I think it is webmediaportal :confused:
    I've downloaded all the sources and tried to compile, but I don't know what I'm doing :confused:

    Could you provide some binaries please?

    Thanks
    pünktchen
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    I think it is webmediaportal
    That's correct. My plan is to implement most features of both tv4home and gma to have a full featured webinterface with streaming, schedule programs, view series movies and so on.

    Could you provide some binaries please?
    I will provide binaries and corresponding documentation when WebMediaPortal's phase 1 features are implemented.
    This means basic features like adding schedules, tv guide the the current movie/music/tv show parts.

    If you want to test it before you have to download the sources open them with Visual Studio 2010 and start a new debug session. But it's possible that something isn't working because it's in continious development.
     

    Users who are viewing this thread

    Top Bottom