
<advancedsettings> <network> <buffermode>1</buffermode> <cachemembuffersize>52428800</cachemembuffersize> <readbufferfactor>10</readbufferfactor> </network> <pvr> <minvideocachelevel>10</minvideocachelevel> <minaudiocachelevel>15</minaudiocachelevel> </pvr> </advancedsettings>
Regarding the XMLTV EPG I set up xmltv to use tv_grab_it for some channels (47 to be precise, and it takes ~1 hour per fetched day with the --slow parameter that includes descriptions) and fix it using tv_sort on the generated output because some channels don't have a stop time and this won't let tvheadend add them to its database.
I used a Debian chroot in my Synology NAS and set up a crontab job in Synology's crond to execute a script, located at '/root/xmltv.cron' with this content:
#!/bin/sh # Package PACKAGE="debian-chroot" DNAME="Debian Chroot" # Others INSTALL_DIR="/usr/local/${PACKAGE}" PATH="${INSTALL_DIR}/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin" CHROOTTARGET=`realpath ${INSTALL_DIR}/var/chroottarget` chroot ${CHROOTTARGET}/ su -c 'tv_grab_it --output /volume1/homes/alan/www/tvguide_wip.xml --days 3 --quiet --slow --cache-slow && tv_sort --output /volume1/homes/alan/www/tvguide.xml /volume1/homes/alan/www/tvguide_wip.xml' alan
This is the result:


If you install on your Play the Debian chroot that I posted yesterday you can practically do the same, just install xmltv on it running
sudo aptitude install xmltv
Install a cron daemon like "vixie-cron" and add it to "/system/xbin/debian-chroot" in the "start_services" function (like the template that runs the SSH server).
Set it up, save the XML output somewhere like "/home/wetek/tvguide.xml" and replace the "w*g*e*t" line in tv_grab_file with "cat /storage/debian/debian-chroot/home/wetek/tvguide.xml"
Comment