Author Topic: Auto Scan All Media  (Read 3629 times)

RGoolsby

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Auto Scan All Media
« on: September 02, 2007, 11:58:02 pm »
Does this feature work?

It says that it starts the daemon.... but then nothing happens... so i have no idea.

I tried to search the forums, but I do not see a whole lot about it.

Also does linuxmce store the images in a sql db or just an image stored within the file system?

Thingie

  • Veteran
  • ***
  • Posts: 114
    • View Profile
Re: Auto Scan All Media
« Reply #1 on: September 03, 2007, 12:43:43 am »
I also tried this function and because I have a lot of files I let it work through the night. In the morning the sarching was still going on. I did the coverart of the files manually and finnished it in less then 3 hours. So I guess it doesn't work very well

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Auto Scan All Media
« Reply #2 on: September 03, 2007, 02:15:35 am »
The autoscan does work, but it's really slow... intentionally. If it was done fast it would eat up your CPU and network resources and can cause problems with the normal operation of using LinuxMCE (like playing video, for example). When I add large amounts of media, I just do a manual scan; it's fast and easy.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Auto Scan All Media
« Reply #3 on: September 03, 2007, 03:05:45 am »
Dopey - how do you trigger a manual scan?

dopey

  • Guru
  • ****
  • Posts: 223
    • View Profile
Re: Auto Scan All Media
« Reply #4 on: September 03, 2007, 03:35:17 am »
Select Files & Media->Media Files Sync from the Admin website menu. Then select the folder you wish to sync on the left pane and click resynchronize on the right pane.

marrandy

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: Auto Scan All Media
« Reply #5 on: January 08, 2008, 07:44:41 am »
sudo -u root /usr/pluto/bin/UpdateMedia -d "/home/public/data/videos"

01   01/08/08 1:43:35.455      Cannot find self in maplock! (0x80b47b4) (>2) alarm: AlarmManager.cpp:102  <0xb6b56b90>
ready to dump locks using logger: 0x80b4858
05   01/08/08 1:43:35.455      Dumping 1 locks <0xb6b56b90>
05   01/08/08 1:43:35.455      finished check for exceptions <0xb6b56b90>
05   01/08/08 1:43:35.455      OL: (0x80b47b4) (>1) alarm AlarmManager.cpp l:87 time: 1:43:35a (0 s) thread: 3065345744 Rel: Y Got: Y <0xb6b56b90>

OR THIS

sudo -u root /usr/pluto/bin/UpdateMedia -d "/home/public/data/videos/myraid-0 [64]"

Error doing statfs on '/home/public/data/videos/myraid-0/'.
Error doing statfs on '/home/public/data/videos/myraid-0/'.
05   01/08/08 1:45:47.788       [33;1m# PlutoMediaFile STARTED: dir /home/public/data/videos file myraid-0 [0m <0xb6b096d0>
05   01/08/08 1:45:47.830       [33;1mAdding parent folder to db: /home/public/data/videos/myraid-0 PlutoMediaParentFolder.HandleFileNotInDatabase [0m <0xb6b096d0>
01   01/08/08 1:45:47.833       [31;1mCannot find self in maplock! (0x80b47b4) (>2) alarm: AlarmManager.cpp:102  [0m <0xb6b08b90>
ready to dump locks using logger: 0x80b4858
05   01/08/08 1:45:47.834       [33;1mDumping 1 locks [0m <0xb6b08b90>
05   01/08/08 1:45:47.834       [33;1mfinished check for exceptions [0m <0xb6b08b90>
05   01/08/08 1:45:47.834       [33;1mOL: (0x80b47b4) (>1) alarm AlarmManager.cpp l:87 time: 1:45:47a (0 s) thread: 3065026256 Rel: Y Got: Y [0m <0xb6b08b90>

« Last Edit: January 08, 2008, 07:47:01 am by marrandy »

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Auto Scan All Media
« Reply #6 on: January 08, 2008, 08:06:21 am »
the update media function has some issues when you try and run it manually. There was another thread on this already.

I generally have to manually add media. other methods seem to be a waste of time. unless you have nothing but time.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.