API documentation for the internal player?

Discussion in 'General Development' started by andy22, May 20, 2022.

  1. andy22

    andy22 Active Member

    Is there any API documentation for the internal player, so we can add better support for ZDMC/Emby/Jellyfin or any other app that wants to use the player?

    Mainly to get resume, audio/subtitle selection and playback position reporting working?

    Something like MX player has would be nice: https://sites.google.com/site/mxvpen/api
     
    wizmo likes this.
  2. Markswift2003

    Markswift2003 Well-Known Member SUPER Administrator Beta test group Contributor

    I'll ask the question...

    As I said on the other thread, the Zidoo player is closed source but I agree, an open API would be incredibly helpful here...
     
    Sledgehamma likes this.
  3. Sledgehamma

    Sledgehamma Well-Known Member

    A big +1 from me!
     
  4. andy22

    andy22 Active Member

    I really don't understand Zidoo here, they only have to provide very basic API documentation on the Android Intent callbacks and supported extra data fields. They don't need to provide any source-code.
    I mean Vimu is written by a single guy and even he managed to add the most basic api + documantation.... www.vimu.tv/player-api
    Its literally just a few paragraphs, which was all i needed to add support for it in Jellyfin on a weekend.

    From Zidoo i would have expected something like MX player has, which is way better.

    It also makes no sense to me, since Emby/Jellyfin Apps run fine on Zidoo, so why would they not want to have premium support for there own internal player... they could even add this as a selling point?
    I mean hell if you push hard enough maybe even the mighty Plex would add support for it, if they had the API.... ok little chance but not zero.
     
  5. Markswift2003

    Markswift2003 Well-Known Member SUPER Administrator Beta test group Contributor

  6. wizmo

    wizmo Member

    There is this too
    oem v2: http://apidoc.zidoo.tv/s/98365225. Would recommend using Google Chrome for translate.

    It has a little more information, but I too would like more. Especially if there is a way to launch a network stream in the player. (video or audio)
     
  7. andy22

    andy22 Active Member

    I mean the default Activity for "com.android.gallery3d" is registered for http/s streams and that is what Jellyfin app uses by default and it works.

    <intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data android:scheme="http"/>
    <data android:scheme="https"/>
    <data android:scheme="content"/>
    <data android:scheme="file"/>
    <data android:mimeType="video/*"/>
    <data android:mimeType="application/sdp"/>
    </intent-filter>
     
  8. mattmarsden

    mattmarsden Active Member

    So does Jellyfin resume etc on the Zidoo player using https streams now?
     
  9. andy22

    andy22 Active Member

    No thats one of the missing api features atm that i try to solve, but need changes from Zidoo or may need to find some other hack.
     
  10. Purple

    Purple New Member

    Best of luck with this Andy! Would definitely appreciate the effort from you and the devs!
     
  11. wizmo

    wizmo Member

    Thanks. I'll have a look, but I'm not sure if I can launch a android intent from HA (except from the android app). Was hoping there was an undocumented API call.
     

Share This Page