BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Bug Report
 Rename cover files after renumerotation tool
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

MacGyverJC
Starting Member

France
20 Posts

Posted - 29 Jan 2012 :  19:25:28  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
Sorry for my poor english ;-)
After the use of the tool ReNumerotation without hole, covers aren't renamed.
You could use something like this:

SELECT Movies.MovieID, Movies.Title, Movies.Cover, InStr(1,[Cover],CStr([MovieId]),False) AS FileChanged, [MovieId] & "-" & [Title] & ".jpg" AS GoodFile, "ren """ & [cover] & """ """ & [goodfile] & """" AS RenameFiles
FROM Movies
WHERE (((Movies.Cover)<>"") AND ((InStr(1,[Cover],CStr([MovieId]),False))=0));

I've pasted all the values from RenameFiles and execute a batch file.

and

UPDATE Movies SET Movies.Cover = [MovieId] & "-" & [Title] & ".jpg"
WHERE (((Movies.Cover)<>"") AND ((InStr(1,[Cover],CStr([MovieId]),False))=0));

You could perhaps do better ;-)
Bye

JDommi
Administrator

Germany
4645 Posts

Posted - 29 Jan 2012 :  20:11:21  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for this workaround!
You can also use the CoverManager plugin (not the internal one of XMM) to adjust the picture names to the new movie id.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

apd
Junior Member

Greece
378 Posts

Posted - 29 Jan 2012 :  23:11:00  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hey could you consider this idea for an upgrade? It would be valuable for anyone using a WDTV. This device has a mode to show covers instead of titles. To do so, it needs the image file to be in the exact same name as the video file with ext .jpg. I guess everyone has their own naming conventions, so what I think would work for most is the ability to export one image file per movie, according to fields/rules, like [Director] - [Title] - [Year].jpg (Auto resizing to the proper dimensions would be a great extra). Exported jpgs should be placed as copies in a user defined folder to be moved to the proper external HDDs.
Go to Top of Page

JDommi
Administrator

Germany
4645 Posts

Posted - 29 Jan 2012 :  23:22:30  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, I'm Old School. I watch only a few movies on PC. That's all...
The only luxury I have is a MediaHD that's for 99% used by my wife and the children *lol*

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.18 sec. Powered By: Snitz Forums 2000 Version 3.4.07