Kodi Community Forum
Android nightly builds and PVR clients - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184)
+---- Thread: Android nightly builds and PVR clients (/showthread.php?tid=183313)

Pages: 1 2


Android nightly builds and PVR clients - scarecrow420 - 2014-01-14

Hi guys,

Thanks to the help of Memphiz and others, I got ubuntu build environments setup prior to xmas for Gotham (and then also setup one for Frodo) and was able to build/test the PVR addon I am one of the contributing developers (pvr.wmc windows media centre) on android devices.

Our pvr.wmc addon was officially added to the xbmc-pvr-addons repository late last year, and the xbmc master PVR dependencies makefile was also eventually updated to a github commit hash that includes our addon. The windows nightly builds now come with our pvr addon included. But the latest Android nightly build does not (I also tried one from a few days ago). Infact the android nightlies dont seem to include any PVR addons at all.

When I build my own XBMC apk for android, all PVR addons (including ours) are in the build... so are the nightly builds specifically setup to not include pvr addons (to keep size down or something?) or is there just an issue with the nightlies at the moment not including the pvr dependencies?

You can go to System -> Add Ons -> Get Addons -> XBMC.org PVR Addons -> PVR Clients and the official PVR addons are listed by TeamXBMC, but our wmc addon is not in this list. How do we get our (officially recognised) addon to be in the "Get Addons" section for android?

Many thanks


RE: Android nightly builds and PVR clients - Memphiz - 2014-01-14

https://github.com/xbmc/xbmc/commit/c0ee12a8ef2cff8b6af9b17550c46a016ae3d22d


RE: Android nightly builds and PVR clients - Koying - 2014-01-14

Today's nightly apk is back to 55Mb, so I assume the pvr addons are back in.


RE: Android nightly builds and PVR clients - scarecrow420 - 2014-01-14

Oh nice, thanks fellas. I tried 2 nightlies a week apart... I couldnt go back too far, as our addon would only have been in for the last week or two Smile Looks like it was an unintended consequence of a change made a bit before that, and has just been fixed. Good stuff! Smile


RE: Android nightly builds and PVR clients - scarecrow420 - 2014-01-14

Wait... The PVR addons are back in the latest nightly android build, but not our addon!? It should have been included in /tools/depends/targets/xbmc-pvr-addons after this commit from 10 days ago:
https://github.com/xbmc/xbmc/commit/a101ca5098a4af7dc2ba5c06e1663f1a74ae75f8


Also just wondering where/who/how do these PVR clients end up in the "System -> Add Ons -> Get Addons -> XBMC.org PVR Addons -> PVR Clients" area, because ours isnt showing up there either. Will it show up there once it's in nightly builds or is that another thing that needs to be refreshed/kicked off/whatever?

Thanks


RE: Android nightly builds and PVR clients - Koying - 2014-01-14

Well, "libXBMC_WMC.so" is properly built and packaged.
I cannot say more regarding usage, not using PVR myself.

[EDIT]
If I understand correctly, the lib is only one of the required elements.
You additionally must create and submit an actual PVR addon for wmc.


RE: Android nightly builds and PVR clients - scarecrow420 - 2014-01-14

Hi Koying,

Yes our addon is developed, and was officially accepted into XBMC repo (see here https://github.com/opdenkamp/xbmc-pvr-addons/tree/master/addons/pvr.wmc )

It is included in the windows nightly builds... and when I build an android apk myself on my ubuntu build server, the pvr.wmc addon is included as a binary addon in the apk. I believe the makefiles etc are correct. But in the nightly android builds it is not there alongside the others (like mythtv, tvheadend etc)?


RE: Android nightly builds and PVR clients - Koying - 2014-01-14

If I was not clear, it *IS* in the latest nightly apk.


RE: Android nightly builds and PVR clients - scarecrow420 - 2014-01-14

Yeah, not sure what you meant by "you must create and submit an actual PVR addon for wmc". All the required addon files etc should be there, and when I perform my own apk build they are all installed to my device.

Perhaps it's something I've done, I will completely remove everything from the android device and download/install the nightly APK again...


RE: Android nightly builds and PVR clients - Koying - 2014-01-14

What I mean is that I don't see your addon there: http://mirrors.xbmc.org/addons/frodo/pvr/android/
No idea if it actually matters, but i'd bet so.


Re: RE: Android nightly builds and PVR clients - Martijn - 2014-01-14

(2014-01-14, 15:57)Koying Wrote: What I mean is that I don't see your addon there: http://mirrors.xbmc.org/addons/frodo/pvr/android/
No idea if it actually matters, but i'd bet so.

PVR repo does not work. No point in placing it there.


RE: Android nightly builds and PVR clients - Koying - 2014-01-14

(2014-01-14, 17:47)Martijn Wrote: PVR repo does not work. No point in placing it there.
Right. So, to answer the OP's question, pvr.wmc will not appear in "Download" but all PVR addons are actually installed together with XBMC.


RE: Android nightly builds and PVR clients - scarecrow420 - 2014-01-15

ok so I downloaded and clean installed the nightly apk again, and our addon is indeed there. I have no idea how the first time I did this I ended up with all PVR Client addons except ours. I installed over the top rather than uninstalling first, perhaps this somehow caused it. The device isnt rooted so I couldnt actually look at the file system to see whether the files were there or not. But yes I opened the APK in 7zip and saw everything was there that should be, so then I did an uninstall and fresh install from apk and everything is good now.

Thanks for the help.

In terms of the "Download" addon area, if they dont work anyway then perhaps the whole PVR Client section should be removed? Otherwise, I guess my thoughts are that for completeness all PVR Client addons should be listed there (even if they dont work)


RE: Android nightly builds and PVR clients - Koying - 2014-01-16

(2014-01-14, 17:47)Martijn Wrote:
(2014-01-14, 15:57)Koying Wrote: What I mean is that I don't see your addon there: http://mirrors.xbmc.org/addons/frodo/pvr/android/
No idea if it actually matters, but i'd bet so.

PVR repo does not work. No point in placing it there.
That confuses a lot of users (including me Wink )
We should keep the pvr repo up-to-date or remove it altogether, shouldn't we?


RE: Android nightly builds and PVR clients - Martijn - 2014-01-16

(2014-01-16, 12:04)Koying Wrote:
(2014-01-14, 17:47)Martijn Wrote:
(2014-01-14, 15:57)Koying Wrote: What I mean is that I don't see your addon there: http://mirrors.xbmc.org/addons/frodo/pvr/android/
No idea if it actually matters, but i'd bet so.

PVR repo does not work. No point in placing it there.
That confuses a lot of users (including me Wink )
We should keep the pvr repo up-to-date or remove it altogether, shouldn't we?

TheUni started experimenting with it and there is where it stopped. Install through repo doesn't work and needs binary addons

To be honest i don't see where the confusion is. All PVR addons are installed by default so it doesn't even matter if the repo works or not.
The only confusion i see here is that some one was expecting the WMC addon to be added to Frodo "repo" while it was never build/added for Frodo and only got added to Gotham master. To add the issues we had with building them on Android.
The situation has been like this from before Frodo. I never understood why those repos were already added but it was their choice. Maybe opdenkamp knows more about this.