Page 1 of 1

CIFS volumes mount, but images / videos dont play/display

Posted: Sun Dec 12, 2010 1:57 am
by wankykootiepooper
Hi.

I'm running 23.1-73. I can't seem to get my videos or pictures in my backend to play on minimyth.

I have my minimyth config set to mount my backend videos and pictures directory at their default mount points in minimyth. I can telnet in and see them there, for example:

root@mythtv195:~ # ls -al /mnt/video/
total 6436
drwxrwsr-x 2 107 111 0 Dec 11 17:38 .
drwxr-xr-x 1 root root 100 Dec 11 17:39 ..
-rwxrwxrwx 1 107 111 6587020 Jan 12 2009 test.avi
root@mythtv195:~ #

So, I don't think there are any permission issues between minimyth and the server, but when I go through the minimyth menus to try to play this video, it gives me a message "no files found".

For the gallery, something similar occurs. The pictures show up in the minimyth mount:

root@mythtv195:~ # ls -al /mnt/gallery/
total 528
drwxr-xr-x 239 107 111 0 Dec 11 17:22 .
drwxr-xr-x 1 root root 100 Dec 11 17:39 ..
drwxrwx--- 2 107 111 0 Sep 13 2009 111 Grandma pics
-rwxrwx--- 1 107 111 329898 Jan 12 2009 PIX9999078.jpg

Here something different happens. The folders show up in the menu system in the minimyth, but it cannot find any pictures. The picture in root (in my example) shows in the menus, but will not display.

Again, I assume that the cifs file system is happy about permissions. There are no errors in the log on mounting problems. The log does complain about this:

Dec 11 17:41:56 (none) local0.info mythfrontend: 2010-12-11 17:41:56.252 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//library.xml
Dec 11 17:41:58 (none) local0.info mythfrontend: 2010-12-11 17:41:58.274 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/Mythbuntu/video-ui.xml
Dec 11 17:48:36 (none) local0.info mythfrontend: 2010-12-11 17:48:36.271 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/Mythbuntu/video-ui.xml
Dec 11 17:48:41 (none) local0.info mythfrontend: 2010-12-11 17:48:41.851 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/Mythbuntu/gallery-ui.xml
Dec 11 17:48:41 (none) local0.info mythfrontend: 2010-12-11 17:48:41.863 MythFontProperties, Error: Failed to load 'DejaVu Sans', got 'Liberation Sans' instead
Dec 11 17:48:41 (none) local0.info mythfrontend: Location: /usr/share/mythtv/themes/Mythbuntu/gallery-ui.xml @ 6
Dec 11 17:48:41 (none) local0.info mythfrontend: Name: 'menu' Type: 'font'
Dec 11 17:48:41 (none) local0.info mythfrontend: 2010-12-11 17:48:41.873 MythFontProperties, Error: Failed to load 'baselarge', got 'Liberation Sans' instead
Dec 11 17:48:41 (none) local0.info mythfrontend: Location: /usr/share/mythtv/themes/Mythbuntu/gallery-ui.xml @ 11
Dec 11 17:48:41 (none) local0.info mythfrontend: Name: 'title' Type: 'font'

I'm using Mythbuntu as my theme. Is this causing this?

Re: CIFS volumes mount, but images / videos dont play/display

Posted: Sat Jan 15, 2011 11:22 pm
by Pablo
My first thought is that you lack permission. User 107 and group 111 have permission to access the files but nobody else does. If that is the case, then you should be able to use MM_SECURITY_USER_MINIMYTH_UID='107' and MM_SECURITY_USER_MINIMYTH_GID='111' to make it work. Alternatively, you could give read access to other on the files.

Also, some time back there was a version of samba for RHEL / CentOS that would cause CIFS directory listing to succeed but file reads to fail. However, it was fixed quite some time ago.

Re: CIFS volumes mount, but images / videos dont play/display

Posted: Wed Jan 26, 2011 4:07 am
by wankykootiepooper
Pablo,

That was it. I can now see everything in my server folders.

Thanks for your help and the excellent work on minimyth.

Eric.

Re: CIFS volumes mount, but images / videos dont play/display

Posted: Fri Jan 28, 2011 10:24 pm
by Pablo
I am glad that you were able to get it to work.