News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

resynconization of home folder

Started by fillister, October 14, 2007, 03:37:07 PM

Previous topic - Next topic

fillister

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

--->>>>>  PUSH.....

got the same problem.....

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

thnx

augalex

Crypt

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

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

Quote from: Crypt 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.

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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

augalex

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

hmm, so does anyone know what I am supposed to sync a shared drive as?

chrisbirkinshaw

Quote from: augalex 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.....

# mysql pluto_media
> delete from File;
> quit;

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

Chris

totallymaxed

Quote from: augalex 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.....

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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

jeff_rigby

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.