User(s) browsing this thread: 1 Guest(s)
Howto: Updated - Get mythtv playback nice and pretty WORKING!
|
|
11-23-2009, 05:36 AM
|
|||
|
|||
|
Howto: Get mythtv playback nice and pretty WORKING!
Ok.. This is a somewhat easy workaround for mythtv...
all the other things have you hacking code and doing wacky stuff.. 1) Use the mythpretty.sh script, to rename your files and make nice pretty directories I have this set as UserJob1 /usr/local/bin/mythpretty.sh %DIR% %FILE% Mine directory structure looks like this after mythpretty is run... t/v/export/Show_name/episode_name example; /tv/export/Fringe/A New Day in the Old Town-2009-09-17.mpg 2) I would recommend installing webmin on your mythbackend it makes things a whole lot easier... Set up some exports: Start Webmin and go to: Servers>Samba Windows File Sharing I have my mythpretty.sh putting the nice directories and file names in the export dir and my recordings are held in the recordings directory (im not positive you have to do both of these or not, but I could not get things to work with NFS so... Share Name Path Security export /tv/export Read only to everyone recordings /tv/recordings Read only to everyone 3) On your popcorn hour you can browse to your recordings from the network browser now, Or... Go to Setup>Network Share>Browse (select your mythbackend, then the export (mythpretty) directory, and name it something like MythTV And now from the main menu you can select MythTV browse through the directory structure, and play your recordings.. One thing of note, you may want to name your files with the date first to make them easier to scroll through... Hopefully sometime they get the UPNP working correctly for Mythtv.. (it sure would be nice to have all the other options that come with UPnp like, sorting by when recorded, show name etc) but until then, this works.... |
|||
|
08-29-2010, 08:40 AM
(This post was last modified: 09-02-2010 11:16 AM by chris57.)
|
|||
|
|||
|
Howto: Updated - Get mythtv playback nice and pretty WORKING!
I just updated now running mythbuntu 10.4, and spent the last 5 or 6 hours working on this again...
Linux and MythTV have changed things around a bit... so symlinks are no longer followed.. But wait there's more.... there is no longer a mythpretty.sh script which actually pointed to mythrename.pl which does not exist anymore. Sounds bad, but it's not that bad. There are a couple things you need to do in addition and differently from last time, but the for the base configuration of samba, and the popcorn hours First instead of mythrename.pl or mythpretty.sh you will need to run mythlink.pl (located /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl) This is create your nice and pretty symlinks that are actually readable. The second thing you need to do is tell samba to follow symlinks, this is actually accomplished by adding 3 lines to the [general] section in the smb.conf file. So edit /etc/samba/smb.conf and add these three lines: unix extensions = no follow symlinks = yes wide links = yes and when your done your global section looks like this: [global] dns proxy = no log file = /var/log/samba/log.%m server string = %h server (Samba, Mythbuntu) workgroup = WORKGROUP os level = 20 security = share syslog = 0 panic action = /usr/share/samba/panic-action %d max log size = 1000 unix extensions = no follow symlinks = yes wide links = yes Now you need to bounce the service. (oh wait they changed this too no more init.d) service smbd stop service smbd start For more information see the other post: http://www.networkedmediatank.com/showth...?tid=31805 |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]

Howto: Updated - Get mythtv playback nice and pretty WORKING!



![[+]](images/collapse_collapsed.gif)