Page 1 of 1

Can I use symbolic links for mpgs? Won`t show in Videos!

Posted: Mon Jan 03, 2011 10:51 pm
by LinuxQ
Hi,

I currently try to use Twonky Media Server on a Mythbuntu Server. Twonky does find my .mpg and .mpeg videos in the specified folder. Since filenames for the recordings of mythbuntutv are somehow cryptic I use a script (mythlink.pl) to create symbolic links of the files in the video folder that can be understood. For example now I have the following files and links in my /media/videos:

drwxrwxrwx 2 root root 4096 2011-01-03 22:10 .
drwxr-xr-x 4 root root 4096 2011-01-01 15:08 ..
lrwxrwxrwx 1 root root 51 2011-01-03 22:10 7 Zwerge - Der Wald ist nicht genug- Untitled.mpg -> /var/lib/mythtv/recordings/29800_20110102233800.mpg
-rwxrwxrwx 1 root root 2369154568 2011-01-01 12:58 Anden.mpeg
-rwxrwxrwx 1 marcel marcel 305705860 2011-01-03 15:52 king.mpg
lrwxrwxrwx 1 root root 51 2011-01-03 22:10 King Of Queens- Speedy Gonzales.mpg -> /var/lib/mythtv/recordings/13020_20110103151700.mpg
lrwxrwxrwx 1 root root 51 2011-01-03 22:10 Rachs Restaurantschule - Das große Wiedersehen- Untitled.mpg -> /var/lib/mythtv/recordings/29800_20110103211300.mpg
lrwxrwxrwx 1 root root 51 2011-01-03 22:10 Unser Sandmännchen- Untitled.mpg -> /var/lib/mythtv/recordings/29205_20110103175200.mpg

Even with chmod 777 only "Anden.mpeg" and "king.mpg" show up in the movies.

Is there a possibility to use the linkes movies too (they are directly playanle on my Toshiba Regza if I copy them to /media/videos!

Thanks LinuxQ

Re: Can I use symbolic links for mpgs? Won`t show in Videos!

Posted: Tue Jan 04, 2011 5:25 pm
by DaemonBeetle
If symbolic links doesn't work, why not use hard links - you just need to ensure that the directory you're using for Twonky and for MythTV are on the same partition.

Re: Can I use symbolic links for mpgs? Won`t show in Videos!

Posted: Wed Jan 05, 2011 1:05 am
by LinuxQ
Thanks Beetle! I had no plan how to do this, started google and managed to change the perl script and it works perfectly now!!!! Thanks!!!

Re: Can I use symbolic links for mpgs? Won`t show in Videos!

Posted: Wed Jan 05, 2011 2:40 am
by parnott
Check the Twonky ini file and make sure it has the followlinks=1 set.