Plugin: MP2Extended | Page 4

Discussion in 'MP2Extended' started by FreakyJ, October 5, 2015.

  1. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    Is the webMovieDetailed.Runtime in minutes or seconds?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    E.g. GetMovieDetailedDetailedById return Runtime in minutes.
     
    • Thank You! Thank You! x 1
  4. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    It looks like I can't implement the following:
    MP2 doesn't save any playlists, so the music part needs to be extended for this part.

    We don't have any details about Artists and we don't really have Album items. So we need to wait for the MIA rework, to get this done, I think. I could return empty WebSomething, if your App has problems.

    Everything else except GetMediaInfo and GetExternalMediaInfo is implemented :)
     
  5. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    I think you forgot one, How do you initially get any info about what is available? For every call you need some other information, except the first one...
     
  6. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    About music. We have three lists in our gui, artist/album/tracks. Its not possible to do anything without the artists/albums. So we first call GetMusicArtistsDetailed to get the artists, then select an artist to get it's albums, then select an album to get the tracks.

    I would have guessed that the playlist handling would be different in MP2.

    So I suggest that we pause music for now.

    How do one navigate music in MP2 without having artists or albums:rolleyes:
     
  7. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    Haha don't ask me, I use MP2 since two weeks and never listened to music :D
    I try to implement GetMediaInfo and GetExternalMediaInfo now, than I will uploaded a new version and fix the bugs for WifiRemote reported yesterday :)
     
  8. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    Sounds great.

    Btw, is the GetArtworkResized in place with all the parameters from MPExt?

    Is there an easy way to see what functions you have implemented already in MP2Ext? I can browse at git but that is a bit time consuming...
     
  9. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    I hope so :) As written in an earlier post, I don't know why I don't get FanArt for Episodes, I guess I call the fanart provider wrong :/ But I get Images for Seasons and Series inside AMPdroid.
    To be precise, I described the problem at the bottom of this post: https://forum.team-mediaportal.com/threads/plugin-wifiremote-for-mp2.132267/page-5#post-1155261

    You can see it in this file: https://github.com/FreakyJ/MediaPor...d/ResourceAccess/MediaAccessServiceHandler.cs
    I will push before releasing the new version so that you get the newest List :) It will also tell you in the logs in case something is missing:
     
    • Thank You! Thank You! x 1
  10. breese
    • Team MediaPortal

    breese Retired Team Member

    Joined:
    July 11, 2011
    Messages:
    3,903
    Likes Received:
    325
    Gender:
    Male
    Occupation:
    Sr. Systems Engineer
    Location:
    Arlington Heights, Illinois
    Ratings:
    +768 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Very interesting....
    I discovered the following from a post yesterday
    http://192.168.1.250:53461/MPExtended/MediaAccessService/json/GetServiceDescription
    In my logs the new plugin does not show the real address but using my server IP this command worked.

    Problem is, it does not respond with the correct MP2 Server Shares
    I have, MPMovies, MPMusic, and Recordings
    The response from the plugin is

    {"ApiVersion":4,"ServiceVersion":"0.4.99.1","AvailableMovieLibraries":[{"Name":"MP MyVideo","Version":"0.4.99.1","Id":7}],"AvailableMusicLibraries":[{"Name":"MP MyMusic","Version":"0.4.99.1","Id":4}],"AvailablePictureLibraries":[{"Name":"MP Picture Shares","Version":"0.4.99.1","Id":8}],"AvailableTvShowLibraries":[{"Name":"MP-TVSeries","Version":"0.4.99.1","Id":6}],"AvailableFileSystemLibraries":[{"Name":"MP Movie Shares","Version":"0.4.99.1","Id":10},{"Name":"MP Picture Shares","Version":"0.4.99.1","Id":11},{"Name":"MP Shares","Version":"0.4.99.1","Id":5},{"Name":"MP Music Shares","Version":"0.4.99.1","Id":9}],"DefaultMovieLibrary":0,"DefaultMusicLibrary":4,"DefaultPictureLibrary":0,"DefaultTvShowLibrary":6,"DefaultFileSystemLibrary":5}

    Also, when calling the GetMusicGenres I did get Micromodule not found: in the logs.
     
  11. johanj
    • Premium Supporter

    johanj Well-Known Member

    Joined:
    January 31, 2009
    Messages:
    781
    Likes Received:
    270
    Gender:
    Male
    Ratings:
    +398 / 1
    Home Country:
    Sweden Sweden
    @breese FreakyJ is reusing lots of code from MPExt so I assume that the getservicedescription message is hard coded right now. I'm not sure what you can test if not being a developer that want to test that the methods here:
    https://github.com/FreakyJ/MediaPor...d/ResourceAccess/MediaAccessServiceHandler.cs
    give what is needed for the existing clients.

    Basically we try to get the same clients that work with MP1 and MPExt to work with MP2Ext and MP2.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 1)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!