Author Topic: resynconization of home folder  (Read 7002 times)

fillister

  • Newbie
  • *
  • Posts: 13
    • View Profile
resynconization of home folder
« on: October 14, 2007, 03:37:07 pm »
Hello, well I may have caused myself a big problem by resyncronizing my home folder on the core. Now when I use the on screen orbiter of my MD and scroll to Media-video and I would normally see just the AVI and MPEG movies I  stored on the core I now also see the following. Alarm panel found, Alarm sensors mpg, family members mpeg, greetings mpeg and this list goes on for three pages. It seams as if every video file it could find on the core it has copied or moved into the video folder. These various files have been copied into both the public and private video folders.   So I am hoping that someone could possibly explain how I may go about straighting up this mess that I seem to have gotten my self into.

Thank you for your help

augalex

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
Re: resynconization of home folder
« Reply #1 on: December 16, 2007, 11:17:57 am »
--->>>>>  PUSH.....

got the same problem.....

perhaps someone can tell me how to remove these entries from database...

thnx

augalex

Crypt

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: resynconization of home folder
« Reply #2 on: December 16, 2007, 01:55:03 pm »
have you tried accessing the system remotely and cleaning up the drive?  Or you could drop down to the KDE desktop and re-arrange the files the way you want them.  Once that it is done, you may have to log intot he admin web app to resync your files.

Crypt

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: resynconization of home folder
« Reply #3 on: December 16, 2007, 02:08:45 pm »
Since this deals with syncing files.  In the web admin what am I supposed to set windows shares to in the drop down before I sync them?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: resynconization of home folder
« Reply #4 on: December 16, 2007, 03:13:48 pm »
have you tried accessing the system remotely and cleaning up the drive?  Or you could drop down to the KDE desktop and re-arrange the files the way you want them.  Once that it is done, you may have to log intot he admin web app to resync your files.

the problem here is not to do with the physical files on the drive but with the way UpdateMedia has added them to the DB. One solution would be to use Web Admin -> Files & Media Sync to remove them from the DB. Then resync them again or just wait for UpdateMedia to find them again. Hopefully this will fix the problem.
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

augalex

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
Re: resynconization of home folder
« Reply #5 on: December 16, 2007, 03:58:04 pm »
thnx totallymaxed,

but how is it possible to remove the files in the web admin, just from the database, maybe I'm just to dumb to, but it seems to me, that I can only remove them from the hd AND the database...

looking forward to further answers.....

Crypt

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: resynconization of home folder
« Reply #6 on: December 16, 2007, 11:21:24 pm »
hmm, so does anyone know what I am supposed to sync a shared drive as?

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: resynconization of home folder
« Reply #7 on: December 21, 2007, 03:32:41 pm »
thnx totallymaxed,

but how is it possible to remove the files in the web admin, just from the database, maybe I'm just to dumb to, but it seems to me, that I can only remove them from the hd AND the database...

looking forward to further answers.....

# mysql pluto_media
> delete from File;
> quit;

This will remove all files (audio, video etc).

Chris

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: resynconization of home folder
« Reply #8 on: December 21, 2007, 09:27:19 pm »
thnx totallymaxed,

but how is it possible to remove the files in the web admin, just from the database, maybe I'm just to dumb to, but it seems to me, that I can only remove them from the hd AND the database...

looking forward to further answers.....

Ooops... sorry forgot to look back here. Its been a busy week ;-)

Chris has the solution for you though.

Merry Christmas

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

jeff_rigby

  • Regular Poster
  • **
  • Posts: 46
    • View Profile
Re: resynconization of home folder
« Reply #9 on: December 22, 2007, 11:19:24 am »
The files have not been moved.  The database was told by you to look in all folders under /home for any audio or video files that can be displayed/played by Linuxmce and add the PATH and FILENAME to the database and display them in the proper areas (Video, Audio).  The files have not been moved, the path and filename was added to the database.

In the administration web page under media files and sync you can delete the database listings (individually...hard way in your case) or use the command by "chris" (2 listings above) to delete all listings in the data base.  You will then need to resync only the folders containing media you want displayed.  Or as totallymaxed stated wait on Mediaupdate to occur.  Media update will not look in the folders above data on the core but will look in just about any shared folder on your network for media files.