Author Topic: Newbie question about where media is stored  (Read 3209 times)

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Newbie question about where media is stored
« on: November 20, 2008, 09:23:37 pm »
I know the core can show media that is stored on it at any station, but what if I were to plug a usb drive into a MD, would it be viewable on any other station then?  Can I only plug that USB drive into the core to have it show up on other MD's?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Newbie question about where media is stored
« Reply #1 on: November 20, 2008, 09:32:51 pm »
In short, yes.

If you plug in a USB drive into any media director or the core, UpdateMedia will crawl it for media. It will ask you (a) whether you want to use the drive, and (b) whether it uses LinuxMCE's file structure OR make all files public or private to a given user.

The recommended thing is to use LMCE's File Structure, and copy the media into the folders it creates, it works fastest.

-Thom

nosebreaker

  • Guru
  • ****
  • Posts: 202
    • View Profile
Re: Newbie question about where media is stored
« Reply #2 on: November 20, 2008, 09:59:49 pm »
So if I have a MD with no HDD that booted off the network, it will copy the media off the USB drive onto the core?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Newbie question about where media is stored
« Reply #3 on: November 20, 2008, 10:17:39 pm »
No the media stays on the USB HDD. References are added into the database for it.

If the device is disconnected, the media is marked as inactive and doesn't display until the device is reconnected.

If the device is reconnected, the media reappears.

If the media is moved to another location, the stuff in the database is changed to reflect it.

If the media is duplicated somewhere else, the attributes are reused.

-Thom

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: Newbie question about where media is stored
« Reply #4 on: November 20, 2008, 10:40:15 pm »
I'm scared of trying USB drives on LinuxMCE...
I tried that once, and lost all media on it.
It found my media, but when I disconnected it, Total corruption...

I have not found how to unmount or as windows call it "safe removal".

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Newbie question about where media is stored
« Reply #5 on: November 20, 2008, 11:29:14 pm »
you can remove the disk after 5 seconds of no activity.

-Thom

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: Newbie question about where media is stored
« Reply #6 on: November 21, 2008, 01:47:42 pm »
 :)
Just to add my bits to this. I use 2 Western Digital 500G MyBook's to store videos and audio on. I started out with them plugged into my Living Room MD, but I have moved it around and unplugged it and taken it to a friends house, to use his FIOS to download movies, and tunes, and then brought it back home, and plugged it in to any of my MD's and it has always came back after a few minutes or a quick reload router.

I have never lost any data, and I have done this several times. :)

So do not fear USB dirves. One thing I do, is as Thom suggests, use the pluto file structure, my videos are stored under /mnt/device/<number>/public/data/videos and the audio under /mnt/device/<number>/public/data/audio.

It is a wonderful thing. And, If you know someone else who has a LMCE system close by.....Sounds like movie night to me, grab your drive, and head over to a friends house.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth