[mythtvnz] MythBox XMBC/Raspberry PI

tortise tortise at paradise.net.nz
Wed Oct 31 09:57:20 GMT 2012


On 30/10/2012 8:41 p.m., Hadley Rich wrote:
> On 29/10/12 17:49, Steven Ellis wrote:
>> I'd be more interested in getting it running with the new PVR plugin that
>> works with MythTV 0.25.
>
> I've been playing with the XBMC PVR stuff for quite a while (tvheadend)
> and it's quite good. The one thing that isn't so hot is the recordings
> are just presented in one long list. A little annoyance for sure but to
> me makes it not yet up to the usability standard of the rest of XBMC.

Not sure if this is relevant having avoided buying some(!) pis so far, 
however I expect a browser will surely work on these things, one 
approach might be to use mythlinks.pl to write recordings in various 
formats to the backend webserver, including grouped under subdirectories 
in the various ways possible.

My current file for this is:

File: /usr/share/mythtv/mythlinks.sh 


#!/bin/bash

/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinks --format '%T/%T - %Y%m%d-%H%i -%S'
/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinksall --format '%T - %Y%m%d-%H%i -%S'


Run mythlinks.sh as a cron job, I run it on the hour, it can be varied 
to run in real time, so far I've not felt the need for that.

0**** root /usr/share/mythtv/mythlinks.sh

I run it as root, but someone may comment about that...(!) I was not 
sure the best user to run as, so "cheated"...the other options I guess 
are mythtv or {loginname} or maybe as a group...comments welcomed here...

See http://www.mythtv.org/wiki/Mythlink.pl and also the main users list 
"Batch Download and Archive Recordings With Expanded File Names" for 
further details and options.

Not sure what the player options are so this might only be helpful for 
quick browsing on Rpi's. Playing the files via web seems to require 
download of the whole file, that is the pi would need sufficient memory 
to first dump the file if done this way....I've not figured out how to 
stream these files this way yet...but figure generation of .asx files 
might be required for that...

Also I might figure out a revision for mythlinks.pl where %S is 
"undefined" then it is ignored and not inserted.

Maybe useful to others outside the Rpi's...

As one might expect doing recordings this way is vastly faster than 
mythweb's recordings page, its only text and there is no need to wait 
for the normal mythweb page to be written in real time... Its already 
there as text...  I am considering writing some hyperlinks to these 
pages direct from mythweb (on the right of "| Backend Status") for me, 
maybe of interest to others also?



More information about the mythtvnz mailing list