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
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...
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.
They've always had a simple http API, I guess no-one's asked for anything further until now... https://www.zidoo.tv/Support/developer.html
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)
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>
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.
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.