LinHES Forums
http://forum.linhes.org/

Play Video files stored on a win xp shared folder on mythtv
http://forum.linhes.org/viewtopic.php?f=6&t=18445
Page 1 of 1

Author:  tanquef [ Tue Jul 01, 2008 9:23 am ]
Post subject:  Play Video files stored on a win xp shared folder on mythtv

Ok, i'm adding this post after a lot of frustrations looking for something that fix my problem.

Here is the deal:
I have a win xp computer with 500gb hdd fully with movies and music and i want that my mythtv plays them...

i read a lot about samba and nfs but i cant find the way to do this, so what i basically need is a newbie idiots guide to help me configure it, i'm also adding my computer name and shared folder to make it even easier.

Workgroup: RED
WIN XP NAME: JONATAN
SHARED FOLDER: MOVIES

it will be great to get any help with this, because after a lot of frustration if i cant get a workaround i will put another MCE system instead and store linux with the tech guys only.

Author:  warchildx [ Tue Jul 01, 2008 10:26 am ]
Post subject:  Re: Play Video files stored on a win xp shared folder on myt

tanquef wrote:
Ok, i'm adding this post after a lot of frustrations looking for something that fix my problem.

Here is the deal:
I have a win xp computer with 500gb hdd fully with movies and music and i want that my mythtv plays them...

i read a lot about samba and nfs but i cant find the way to do this, so what i basically need is a newbie idiots guide to help me configure it, i'm also adding my computer name and shared folder to make it even easier.

Workgroup: RED
WIN XP NAME: JONATAN
SHARED FOLDER: MOVIES

it will be great to get any help with this, because after a lot of frustration if i cant get a workaround i will put another MCE system instead and store linux with the tech guys only.



**make directory to mount samba share**
Code:
mkdir /mnt/windowsmovies


**Mount from commandline**
Code:
mount -t smbfs -o username=user,password=pass,rw //JONATAN/MOVIES /mnt/windowsmovies


**Update Mythtv to look for movies in this folder:**
I believe you can use a "," to seperate out paths to look for media files in the settings table:
Code:
settings.VideoStartupDir = "/myth/video, /mnt/windowsmovies"


I am not exactly sure if the last line above is the correct place anymore as I thought the setting was called something else in an ealier schema version. There is also a section within the frontend that you can configure the media folder location. just try using a comma from there.

if the folder is not "mounted" it will not create a problem as the folder will just show empty.

If this works, then reply back, and we can help get it to automount, etc for you.

Author:  brfransen [ Tue Jul 01, 2008 10:32 am ]
Post subject: 

Take a look at http://www.knoppmythwiki.org/index.php? ... SambaHowto & http://www.knoppmythwiki.org/index.php? ... +and+samba

I added some symlinks as described in this thread: http://mysettopbox.tv/phpBB2/viewtopic. ... ba+network

Britney

Author:  tanquef [ Tue Jul 01, 2008 11:01 am ]
Post subject:  Re: Play Video files stored on a win xp shared folder on myt

warchildx wrote:
tanquef wrote:

**Mount from commandline**
Code:
mount -t smbfs -o username=user,password=pass,rw //JONATAN/MOVIES /mnt/windowsmovies


**Update Mythtv to look for movies in this folder:**
I believe you can use a "," to seperate out paths to look for media files in the settings table:
Code:
settings.VideoStartupDir = "/myth/video, /mnt/windowsmovies"


this user and password are from windows users? cause i dont have a user and pass on windows, how should i handle this? or i can put a random user and pass and it will be ok?

thanks!

Author:  tanquef [ Tue Jul 01, 2008 11:18 am ]
Post subject: 

new error, when i put the mount string gives me an error that says

only root can do that

i have only 1 user account, which is the one i'm logged in

how can i make it to work?

Author:  warchildx [ Tue Jul 01, 2008 11:32 am ]
Post subject: 

change commandline to:

change to root user
Code:
su root


then try mounting without a username/password
Code:
mount -t smbfs -o rw //JONATAN/MOVIES /mnt/windowsmovies


verify the security on the share is configured for Everyone full access.

Author:  tanquef [ Tue Jul 01, 2008 11:41 am ]
Post subject: 

Finally.... it works!!!

however still have problems, video shows but there is no audio, and video stutters a little.
another problem is that the subtitles size is huge!!

any workarounds to this will be great

also, i will have to mount the folder everytime i boot up this pc? cause the main plan is to put it without a keyboard or mouse and run it with a remote only...

Author:  warchildx [ Tue Jul 01, 2008 11:52 am ]
Post subject: 

yes, it will have to be "mounted" everytime you need to access it.
please check the samba link that was posted earlier:

http://www.knoppmythwiki.org/index.php?page=Autofs+and+samba

just remove the "credentials" option from the sample config listed there, and follow the document to configure autofs.

this will then automatically mount the windows share if it is disconnected (windows machine reboots, etc. it will then stay mounted until rebooted again. (or sleep mode enables on windows machine).

Author:  cecil [ Tue Jul 01, 2008 9:23 pm ]
Post subject: 

tanquef wrote:
Finally.... it works!!!
Problem solved! Great, please start a new thread.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/