Ive been playing with this for while and have come up with a sure fire easy way of getting any mythtv recording you want downloaded onto your ipod touch or iphone in nice easy way without jail breaking and without plugging into your desktop pc
This is how
On your mythbackend (Dependancies mythweb and handbrake cli)
1 Install handbrake cli
Add the ppa from here https://edge.launchp...dbrake-releases
For Lucid its this
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu lucid main deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu lucid mainthen update
sudo apt-get updateand then install...
I used synaptic and selected handbrake-cli
2 Create a script called iphone.sh
sudo nano /usr/bin/iphone.sh
#!/bin/sh # MythTV user job to transcode a video to mp4 suitable for a phone FILE=$1 TITLE=$2 OUTDIR="~/iphone" # make sure you get rid of the ~ and use the full path nice /usr/bin/HandBrakeCLI -i $FILE -o "$OUTDIR$TITLE.MP4" --preset="iPhone & iPod Touch"save and exit
3 Make it executable
sudo chmod a=rx /usr/bin/iphone.sh
4 Create a user job in mythtv-setup>general called Iphone
Pop this in as the command
/usr/bin/iphone.sh "%DIR%/%FILE%" "%TITLE%-%SUBTITLE%"
Make sure the box is ticked to allow the Iphone user job.
5 Create an output dir to store the transcoded for iphone mp4 files
mkdir ~/iphone6 Add a symlink in the /var/www/ folder of your backend
sudo ln -s /home/yourusername/iphone /var/www/iphone8 Go to dir
cd ~/iphone
9 Do a test run from a terminal to create a ipod compatible file (just select a myth recording)
/usr/bin/iphone.sh mythrecordingsdir/recordingname testand wait for it to transcode.
10 Look through the text output in the terminal screen to ensure it all looks good and save it if you think you need to.
11 Open your test file with vlc to ensure it works which it should
12 Open safari on iphone to yourmythbackendserversipaddress/iphone
13 Select the test file and play live.
14 Open the app store on your iphone/ipod and install Hian Zin Jong Downloads Lite Download Manager (its free) (Better Download Manager suggestions would be taken on board gracefully as this is the first I found and it worked...
Thats it for the install
Now to use and enjoy
1 In mythtv in the recordings gui select a recording by pressing m select job options select begin iphone (eg Before you go to bed)
2 Your file will be ready to download when its ready pending your user job settings on your back end.
3 Open Download Manager lite on the ipod/iphone and go to yourmythbackendserversip/iphone While eating breakfast
4 Select file by touching and holding and select download and download it shall
5 Watch file when you good and ready by opening Download Manger Lite and selecting the recording.On train plane eating lunch etc
If someone know a much better way please let me know or if someone wants to pretty up the web page with artwork deleting on server etc that would be good too if they know how and want to share the love
cheers and enjoy
credit to bb_145 for the handbrake cli/mythtv integration http://ubuntuforums....d.php?t=1464306
Edited by rileyp, 13 June 2011 - 04:33 PM.




Latest Posts










