RE: TvOS Kodi Build - phunkyfish - 2019-04-14
So I ran the build on my Apple TV for the first time and I also built the PVR addons.
- Kodi is missing a logo on the Apple TV - minor
- UI functions as expected, but no sound as we already know
- I can install and and configure addons outside of binary addons, not sure if something special needs to be done for the binary addons. Will look into this.
- I can set up an SMB share and access videos. The video will display the right stats and a snapshot. But they won't playback.
All in all, not bad for a first run, well done @kambala ![Wink Wink](https://forum.kodi.tv/images/smilies/wink.png)
EDIT: So I manually copied the built binary pvr addons from the source directory to kodi-build/addons and did a clean build but that didn't work I'm afraid. The addons are there on the apple tv but they are not accessible, not sure why that didn't work.
Code: 2019-04-14 11:50:39.614865+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.argustv v3.5.4 installed
2019-04-14 11:50:39.614901+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.demo v3.6.1 installed
2019-04-14 11:50:39.614942+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.dvblink v4.7.2 installed
2019-04-14 11:50:39.615031+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.dvbviewer v3.7.12 installed
2019-04-14 11:50:39.615108+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.filmon v2.4.4 installed
2019-04-14 11:50:39.615154+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.hdhomerun v3.5.0 installed
2019-04-14 11:50:39.615213+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.hts v4.4.16 installed
2019-04-14 11:50:39.615254+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.mediaportal.tvserver v3.5.17 installed
2019-04-14 11:50:39.615291+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.mythtv v5.10.7 installed
2019-04-14 11:50:39.615326+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.nextpvr v3.3.15 installed
2019-04-14 11:50:39.615372+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.njoy v3.4.2 installed
2019-04-14 11:50:39.615416+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.octonet v0.7.0 installed
2019-04-14 11:50:39.615455+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.pctv v2.4.5 installed
2019-04-14 11:50:39.615493+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.sledovanitv.cz v1.4.9 installed
2019-04-14 11:50:39.615534+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.stalker v3.4.9 installed
2019-04-14 11:50:39.615570+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.teleboy v18.0.24 installed
2019-04-14 11:50:39.615605+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.vbox v4.4.8 installed
2019-04-14 11:50:39.615646+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.vdr.vnsi v3.6.3 installed
2019-04-14 11:50:39.615682+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.vuplus v3.22.0 installed
2019-04-14 11:50:39.615717+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.wmc v2.4.4 installed
2019-04-14 11:50:39.615758+0100 Kodi[3546:1007483] Debug Print: ADDON: pvr.zattoo v18.0.68 installed
RE: TvOS Kodi Build - sy6sy2 - 2019-04-14
Hello everyone,
Just finished to build and install Kodi on my iPhone 7. This is what I did:
* Used ATV branch of my repo (with last commit "[tvOS] enable audio sink, add code from yab")
* Built dependencies from scratch with MT make
* Generated Xcode project
* Built with Xcode
* Run on my iPhone 7
* Installed Youtube addon
* Played a random video from Youtube (sound ok)
Everything seems to work for iOS. Is there any other test to do on the iPhone
RE: TvOS Kodi Build - kambala - 2019-04-14
also tested iOS build with Xcode 10.2 / iOS 12 SDK (iPhone 6s, arm64, iOS 12.2) - all is ok, local videos play perfectly. didn't have any issues with building, so it seems that something is very wrong on your side, @phunkyfish ...
I noticed one rather strange thing: the compiled libkodi.a for tvOS is 4.1 GB, but for iOS is just 1.7 GB (both in debug config). Any idea why?
EIT: btw I don't hear GUI sounds on iOS as well. maybe it's a common Leia issue?
RE: TvOS Kodi Build - phunkyfish - 2019-04-14
What configure command do you use for iOS?
./configure --host=arm-apple-darwin --with-cpu=arm64
or
./configure --host=arm-apple-darwin --with-cpu=arm64 --with-platform=ios
Not sure is this has changed with the introduction of tvos, I assume the first one like the current iOS docs.
RE: TvOS Kodi Build - kambala - 2019-04-14
the first one, as the second simply fails with "unsupported platform".
question: I need to add tvOS to xbmc/guilib/guiinfo/GUIInfoLabels.h, but there's no space in between platform and next stuff:
Code: #define SYSTEM_PLATFORM_WIN10 749
#define SYSTEM_CAN_POWERDOWN 750
can I simply shift SYSTEM_CAN_POWERDOWN and all the following by 1 and set SYSTEM_PLATFORM_TVOS to 750?
RE: TvOS Kodi Build - sy6sy2 - 2019-04-14
I used ./configure --host=arm-apple-darwin --with-cpu=arm64 for my iPhone 7.
I also notice the same size gap between iOS and tvOS for libkodi.a.
And I do not have GUI sound neither.
No idea concerning GUIInfoLabels.h
RE: TvOS Kodi Build - phunkyfish - 2019-04-14
For the GuiInfoLabels.h I would take an unused value and if it needs to be moved the reviewers will let us know.
RE: TvOS Kodi Build - kambala - 2019-04-14
thanks for the input, created new PR.
as for video playing, I have no clues so far...
RE: TvOS Kodi Build - phunkyfish - 2019-04-14
When I tested the iOS build last night I forgot to select generic iOS device. Hence the build failures. Apologies.
Just signed for for a proper apple developer account. Easier than the 7 days problems.
RE: TvOS Kodi Build - sy6sy2 - 2019-04-14
I think that I will sign too...
RE: TvOS Kodi Build - phunkyfish - 2019-04-14
Can either of you check if you build some binary addons, for example pvr.*, are you able to see them in kodi on iOS?
Trying to figure out why it doesn’t work on tvOS, but it may not work on iOS either. I don’t have an iOS device currently so can’t check myself.
RE: TvOS Kodi Build - sy6sy2 - 2019-04-15
I will try to build PVRs* for iOS.
Edit:
1. Built all PVR addons
2. Re generate the Xcode project with Cmake + Toolchain
3. Build and run "kodi" target from Xcode
No PVR addon on the iPhone. Do I miss a step?
RE: TvOS Kodi Build - phunkyfish - 2019-04-15
I don't think so. I think some of the generated cmake files are missing for any additional binary addons.
For instance look at: kodi-build/CmakeScripts/compileinfo_cmakeRulesBuildPhase.makeDebug
I would have thought that they would be included there. Just need to figure out why they are not.
RE: TvOS Kodi Build - phunkyfish - 2019-04-15
I assume video will be all about mapping the right HW routines, i.e. these warnings:
Code: warning: (arm64) could not find object file symbol for symbol _ff_h264_idct_add8_neon
warning: (arm64) could not find object file symbol for symbol _ff_h264_idct8_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_h264_idct8_dc_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_h264_idct8_add4_neon
warning: (arm64) could not find object file symbol for symbol scan8
warning: (arm64) could not find object file symbol for symbol idct_col4_neon1
warning: (arm64) could not find object file symbol for symbol idct_col4_neon2
warning: (arm64) could not find object file symbol for symbol _ff_simple_idct_put_neon
warning: (arm64) could not find object file symbol for symbol _ff_simple_idct_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_simple_idct_neon
warning: (arm64) could not find object file symbol for symbol idct_coeff_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_idct_idct_4x4_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_iadst_idct_4x4_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_idct_iadst_4x4_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_iadst_iadst_4x4_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_iwht_iwht_4x4_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_idct_idct_8x8_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_iadst_idct_8x8_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_idct_iadst_8x8_add_neon
warning: (arm64) could not find object file symbol for symbol _ff_vp9_iadst_iadst_8x8_add_neon
RE: TvOS Kodi Build - phunkyfish - 2019-04-15
The latest PR fails for me:
Code:
2019-04-15 07:41:03.350642+0100 Kodi[3667:1077816] Debug Print: Found 1 Lists of Devices
2019-04-15 07:41:03.350724+0100 Kodi[3667:1077816] Debug Print: Enumerated DARWINIOS devices:
2019-04-15 07:41:03.350770+0100 Kodi[3667:1077816] Debug Print: Device 1
2019-04-15 07:41:03.350853+0100 Kodi[3667:1077816] Debug Print: m_deviceName : default
2019-04-15 07:41:03.350894+0100 Kodi[3667:1077816] Debug Print: m_displayName : Default
2019-04-15 07:41:03.350947+0100 Kodi[3667:1077816] Debug Print: m_displayNameExtra:
2019-04-15 07:41:03.351003+0100 Kodi[3667:1077816] Debug Print: m_deviceType : AE_DEVTYPE_HDMI
2019-04-15 07:41:03.351041+0100 Kodi[3667:1077816] Debug Print: m_channels : FL, FR, FC, LFE, BL, BR
2019-04-15 07:41:03.351077+0100 Kodi[3667:1077816] Debug Print: m_sampleRates : 44100,48000
2019-04-15 07:41:03.351121+0100 Kodi[3667:1077816] Debug Print: m_dataFormats : AE_FMT_RAW,AE_FMT_S16LE,AE_FMT_FLOAT
2019-04-15 07:41:03.351164+0100 Kodi[3667:1077816] Debug Print: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTS_512,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTSHD_CORE
2019-04-15 07:41:03.355340+0100 Kodi[3667:1077817] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray'
*** First throw call stack:
(0x195ff4880 0x1951de9f8 0x195f0a584 0x105724f74 0x10572454c 0x1057243e8 0x1056c79a4 0x10570b740 0x10570a5cc 0x10570c980 0x106cb9b14 0x106cb8940 0x195c0342c 0x195c0338c 0x195c0bb74)
libc++abi.dylib: terminating with uncaught exception of type NSException
Fails on getAudioRoute() under AESink.
|