Author Topic: Missing Media  (Read 5801 times)

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Missing Media
« on: June 11, 2009, 04:06:30 pm »
I have installed an 8.10 core and MD and have MythTV all working OK. However my videos which are stored on a Linux server and shared out via SMB are not visible when browsing media. I have used the web admin interface and they all show up with a tick that they have been detected and i have even been able to add imdb data to them.

I know they are there because I can do a search and they will come up(and i can play them) but they don´t show in the browser.

gadget

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Missing Media
« Reply #1 on: June 11, 2009, 04:08:47 pm »
I have installed an 8.10 core and MD and have MythTV all working OK. However my videos which are stored on a Linux server and shared out via SMB are not visible when browsing media. I have used the web admin interface and they all show up with a tick that they have been detected and i have even been able to add imdb data to them.

I know they are there because I can do a search and they will come up(and i can play them) but they don´t show in the browser.

gadget

How are you playing your media if you cannot see them in the Orbiters media browser?

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Missing Media
« Reply #2 on: June 11, 2009, 04:16:13 pm »
Hi Andrew,

When I do a search they will come up.

gadget

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Missing Media
« Reply #3 on: June 11, 2009, 05:23:59 pm »
Hi Andrew,

When I do a search they will come up.

gadget

Are doing a search in the Orbiter or in Web admin?

Try doing a 'Resynchronise' of your video media from Web Admin's Media File Synch screen...click on 'Videos' in the left hand media list frame then click on 'Resynchronise' in the righthand frame.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Missing Media
« Reply #4 on: June 12, 2009, 05:15:17 am »
I have already done that a few times, and it definitely re-processes all of the videos.

From within web admin everything is visible and i can maintain attributes and images OK. It would be nice if there was a way of deleting them all from the database without deleting them from disk. A re-sync after that would hopefully fix it. (I will load some MYSQL tools and see if i can delete it myself)

gadget

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Missing Media
« Reply #5 on: June 14, 2009, 01:43:43 pm »
If anyone else does run into this issue of media not showing in orbiter but does get detected via UpdateMedia and is visible in web admin under Media Files Sync.

Use tool of preference to execute following mysql commands.

use pluto_media;
go;

UPDATE `File`  SET `EK_Device` = NULL;
go;

gadget

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Missing Media
« Reply #6 on: June 15, 2009, 12:12:33 am »
If you added your media share but didn't use the "Use LMCE folder structure" option, and haven't added media tags to your video, then you will not be able to see them anywhere in the Orbiter... this is normal behaviour. Not using that option means that the Filename sort option in the Orbiter does not show media from that share. And if you have not added at least Performer, Title, etc attributes to your videos, then there is no information to base the other sort option displays on.

Where possible, you should always choose Use LMCE folder structure, so that you can always list all your media in Filename sort more even if they have no attributes at all. This will create the standard LMCE folder structure on your media share (assuming it has write access... needed), then you simply relocate the media into the appropriate folders and allow LMCE to scan it in. You can then tag your media at your convenience fo viewing in the other sort modes.

gadget

  • Veteran
  • ***
  • Posts: 136
    • View Profile
Re: Missing Media
« Reply #7 on: June 15, 2009, 04:49:00 am »
I have used the LinuxMCE folder structure for the share and all the folders were created. I then copied all the movies into the video folder. They were detected but didn't show in orbiter. If I copied a movie into the normal /home/public/data/videos folder they would show in the orbiter.

Also manually adding tags and imdb data still did not get the videos to display in the orbiter.

gadget

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Missing Media
« Reply #8 on: June 15, 2009, 05:55:22 am »
I have used the LinuxMCE folder structure for the share and all the folders were created. I then copied all the movies into the video folder. They were detected but didn't show in orbiter. If I copied a movie into the normal /home/public/data/videos folder they would show in the orbiter.

Also manually adding tags and imdb data still did not get the videos to display in the orbiter.

gadget

OK, it is likely then that your share is "offline" as far as LMCE is concerned. In this situation, it hides all the media on that share from the browser interface as it believes it to be offline, however you can still find and play the media using the search function as you have noted (this is a bug, of course).

You can easily see if this is the case by going to the web admin, looking in the devices tree and navigating to the fileserver/share in question. The device data for that share has a tick box called "Online". If it is not ticked, then this is the issue. You will also see entries in the UpdateMedia log telling you the device is off line. You can tick that box to bring it online, however there is likely an underlying reason why this happened and so it will just recur within a few seconds and untick itself again.

In my experience this occurs for 2 main reasons.

1) in certain circumstances, with specific versions of Windows, etc, LMCE will not have prompted you for a username and password for that share. And so it is having difficulty connecting to it. In the same device data section for _both_ the file server and its child object, share, you will find a username and password field. Enter one that has full write access to the share and folders in both these devices. Then reload the router. At the next scan it should be marked as online again, and all your media will reappear.

2) Occasionally, there are difficulties connecting to Windows shares using the cifs or smbfs protocol. In the device data section, find the field that indicates either cifs or smbfs and change it to the other one. (it should be cifs, so you need to change it to smbfs), then reload the router and your share will come online.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Missing Media
« Reply #9 on: June 16, 2009, 11:05:15 am »
Also note, you should make sure that UpdateMedia ignores your dirs during your copy process. Otherwise UpdateMedia might bomb out. Look for folder.lock in the wiki. Moving files does not cause a problem, as long as you are moving on the same partition

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Missing Media
« Reply #10 on: June 16, 2009, 04:14:35 pm »
Also note, you should make sure that UpdateMedia ignores your dirs during your copy process. Otherwise UpdateMedia might bomb out. Look for folder.lock in the wiki. Moving files does not cause a problem, as long as you are moving on the same partition

Yeah...always use Web Admin to disbale UpdateMedia before doing a mass copy of media.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Missing Media
« Reply #11 on: June 22, 2009, 11:21:50 am »
Also note, you should make sure that UpdateMedia ignores your dirs during your copy process. Otherwise UpdateMedia might bomb out. Look for folder.lock in the wiki. Moving files does not cause a problem, as long as you are moving on the same partition
Yeah...always use Web Admin to disbale UpdateMedia before doing a mass copy of media.

I use the folder.lock. works fine for me. What I also do is have one directory that I use to copy stuff to. Once the copy is complete, I move the contents to where it belongs. That way I only have a single folder.lock i need to take care of.