[Com. QPKG kodi 2-16.1.1 ALL PVR / Visu / audio] for HD_Station 3.1+

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Locked
User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Wed Jun 29, 2016 3:20 am

OK ... managed it that is with including all addons which the kodi-platform for kodi 16.1 has, nevertheless some of them are unstable that is the visualization.vsxu seems to cause a crash and AFAICS from crash log I've linked with the wrong system libaries. This is possible as I had shorten the CMakeList.txt to be able to compile and build with cmake 2.8.1 from Ubuntu 14.04. Beside this unloading/deactivating the Audio DSP also cause a crash and from the log I like to guess that a symbol become invalid after dlclose().
HS-251+

User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Wed Jun 29, 2016 4:09 am

The latest zip with kodi 16.1 from 2016-06-26 has the same problem ... but visualization.spectrum is back! I've not tried my own binary yet.
HS-251+

User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Fri Jul 01, 2016 12:19 am

OK ... compiled kodi 16.1 with ffmpeg 3.0 and indeed this works! Compare with http://trac.kodi.tv/ticket/16781#comment:16
HS-251+

User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Mon Jul 04, 2016 11:43 pm

father_mande wrote:Hi,
bitstreamout wrote:OK ... compiled kodi 16.1 with ffmpeg 3.0 and indeed this works! Compare with http://trac.kodi.tv/ticket/16781#comment:16


If you can send to me the compiled version ... I can try to add it as an option in the QPKG ... one with the "official" ffmpeg ... one with ffmpeg 3.0 ...
...

Philippe.
NB eventually if you can send me (or post here) the modification to do in the generation ... I can build a version ... (separate vs. the official one) ... I am working on a Kodi 17 beta version for "courageous" people ...


Then only problem I have is that I do not know how to send a binary, even with a stripped (all unrequired) and xz-ziped kodi.bin, as a private message here. I'm puzzled as no of the avatars nor the nicknames do point foreward to an user which email here in this board.
HS-251+

User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Mon Jul 04, 2016 11:51 pm

I'm even not allowd to search for members:

Code: Select all

You are not authorised to view the member list or profiles.
HS-251+

User avatar
bitstreamout
Starting out
Posts: 23
Joined: Tue Jun 21, 2016 1:09 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by bitstreamout » Tue Jul 05, 2016 9:39 pm

You have mail/post at your temporary address
HS-251+

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by warpcam » Wed Jul 27, 2016 5:19 am

I'm running latest mykodi16 on a TS-253pro in HD-Station 3.1.6, it works just fine. Great work!

Unfortunately there is a minor issue that bugs me. On each start/stop of mykodi16 a new kodi_crashlog-<date>_<time>.log is automatically created in $HOME. It just seems to contain a copy of the content of kodi.log, no real crash info. These logs also seem to never be deleted filling up the disk endlessly. I've found no way to prevent mykodi16 from writing the log.

How can I disable the writing of these log files? Is there any option I missed?

Thanks!

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by warpcam » Thu Jul 28, 2016 3:57 am

Thanks for looking at it! :D

I've attached the log files kodi.log and a crashlog example, captured by simply starting Kodi and shutting it down with the remote control.
The kodi.log also contains many debug messages (even though disabled in kodi settings) and one important line at the top which may indicate why the crashlog might be created:

Code: Select all

21:37:05 T:140514035406848  NOTICE: Using Debug Kodi x64 build

I've also added my modified startup_shell. The only change is the location of $HOME (set to /share/CACHEDEV1_DATA/.qpkg/mykodi16/root similar to the QNAP kodi).
mykodi16_logs.zip

User avatar
Xmantium
Been there, done that
Posts: 554
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by Xmantium » Thu Aug 25, 2016 6:03 am

warpcam wrote:I've also added my modified startup_shell. The only change is the location of $HOME (set to /share/CACHEDEV1_DATA/.qpkg/mykodi16/root similar to the QNAP kodi).


I didnt like the user folder was /share/homes/admin
To change this default folder, which part of startup_KODI.sh did you change to get $HOME to "/share/CACHEDEV1_DATA/.qpkg/mykodi16/root"

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by warpcam » Thu Aug 25, 2016 6:27 am

Download the ZIP file attached to my previous post, the modified startup script is inside.

Jmark
Starting out
Posts: 14
Joined: Thu Dec 11, 2014 4:09 am

Re: [Com. QPKG kodi 2-16.1 ALL PVR / Visu / audio] for HD_Station 3.1 + libs

Post by Jmark » Sat Sep 03, 2016 6:55 am

Father_mande, a BIG thank you for your efforts in creating the Qnap package!!

Really appreciate yours and others efforts in sharing !!!!!
TS-451 Firmware 4.3.4.0435
4x4TB WD Red, RAID 5

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1.1 ALL PVR / Visu / audio] for HD_Station 3.1+

Post by warpcam » Fri Sep 23, 2016 8:38 pm

Hi Philippe,

thanks for the update. Unfortunately the package cannot be installed on my TS-253pro. I tried with HD-Station 3.1.6 on QTS 4.2.2 Build 20160901.
Somehow the qpkg seems to be corrupt or incomplete. I also tried to install via SSH but then I get this:

Code: Select all

[/share/CACHEDEV1_DATA/.qpkg] # /share/Public/mykodi16_2-16.1.1.qpkg
Install QNAP package on TS-NAS ...
dd: invalid number `'
gzip: Short read
/bin/tar: Child returned status 1
/bin/tar: Exiting with failure status due to previous errors
/share/Public/mykodi16_2-16.1.1.qpkg: line 7: return: can only `return' from a function or sourced script
/bin/sh: qinstall.sh: No such file or directory
Installation Abort.

I reinstalled the previous package and this went fine. So I suspect there is no conflict with Entware-ng.

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1.1 ALL PVR / Visu / audio] for HD_Station 3.1+

Post by warpcam » Sat Sep 24, 2016 1:01 am

Many thanks! The new package works fine. I still get the crash dump log file but I can handle this easily by modifying the kodi startup script.
The only error entry in kodi.log seems to be caused by missing libcec, which I guess is OK as the TS-253pro does not support CEC:

Code: Select all

18:29:16 T:140627759372288   ERROR: Unable to load libcec.so.3, reason: libcec.so.3: cannot open shared object file: No such file or directory
18:29:16 T:140627759372288   ERROR: Initialise - failed to initialise bus cec

Maybe this is causing the dump to be triggered. The remaining entries are just notices and a few warnings. Funnily I get the same crash log when running the Linux Station Kodi (Ubuntu 16.04), so maybe it's a general issue related to my customizations. Anyway, doesn't matter...

warpcam
Getting the hang of things
Posts: 57
Joined: Mon Jul 21, 2008 12:20 am
Location: Germany

Re: [Com. QPKG kodi 2-16.1.1 ALL PVR / Visu / audio] for HD_Station 3.1+

Post by warpcam » Sat Sep 24, 2016 1:50 am

Done, the error is gone. Thanks!

User avatar
EldigoR
Starting out
Posts: 40
Joined: Thu Jun 18, 2015 2:42 pm

Re: [Com. QPKG kodi 2-16.1.1 ALL PVR / Visu / audio] for HD_Station 3.1+

Post by EldigoR » Sun Oct 02, 2016 3:35 pm

Hi, Anyone got Airplay working?
It fails to start and Zero config is avtivated..
thx
:arrow: TS-453 PRO 8GB

Locked

Return to “Community Apps”