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

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
LinuxQ
Posts:2
Joined:Mon Jan 03, 2011 4:23 pm
AV Hardware:Asus Pundit-R, TT DVB-S S2300
Can I use symbolic links for mpgs? Won`t show in Videos!

Post by LinuxQ » Mon Jan 03, 2011 10:51 pm

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

User avatar
DaemonBeetle
Posts:305
Joined:Mon Dec 28, 2009 11:05 am
AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)

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

Post by DaemonBeetle » Tue Jan 04, 2011 5:25 pm

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.
No longer running Twonky

LinuxQ
Posts:2
Joined:Mon Jan 03, 2011 4:23 pm
AV Hardware:Asus Pundit-R, TT DVB-S S2300

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

Post by LinuxQ » Wed Jan 05, 2011 1:05 am

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!!!

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

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

Post by parnott » Wed Jan 05, 2011 2:40 am

Check the Twonky ini file and make sure it has the followlinks=1 set.

Locked