home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
App to Copy Artwork and Details to Movie Folder v0.5.6
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jmcentire" data-source="post: 551460" data-attributes="member: 84330"><p><strong>Re: App to Copy Artwork and Details to Movie Folder</strong></p><p></p><p></p><p></p><p>Good questions, I had thought of most of them, and they way I designed it to run should prevent any major problems, you may run into some that either don't get moved/renamed in which case those movies will not updated in the database, OR a file may be moved and the database didn't update it, in that case it should only be a couple, a quick reimport for those movies will get ya back.</p><p></p><p></p><p></p><p>It will move both movies into the same directory as long as they are tied to the same Title in Moving Pictures.</p><p></p><p></p><p></p><p>When the script encounters "Matrix CD1.avi" from the database it will rename the folder, when it encounters "Matrix CD2.avi" from the database it sees that "Matrix CD2.avi" doesn't exist(in the old location), so it does nothing. When the script goes to update the database it checks where the files should be according to the new naming and updates the database based on if the file exists in the new location. So as long as they are tied to the same "Title" in Moving Pictures everything will update correctly.</p><p></p><p></p><p></p><p>If they have the same Title in Moving Pictures, they will end up in the same folder. </p><p></p><p></p><p></p><p>Both movies will end up in the folder of the first movie(in that folder) that it encountered. If they have the same title in moving pictures it will update the database correctly. However if they have different titles the second movie will not be updated in the database. You would have to run an import in moving pictures to update it.</p><p></p><p></p><p></p><p>In this case the app wouldn't be able to rename the second one it encounters(since that directory already exists), so it will leave it as is. In that case you would have to manually rename or move the second one.</p><p></p><p></p><p></p><p>Not sure how I could make the app handle this...</p><p></p><p>I think the easiest way to get around this would probably be:</p><p></p><p>1. Move the movies(and their folders) that are in individual folders to a location that is not monitored by moving pictures. </p><p>2. Run moving pictures import so it notices those files are gone and removes them from the database. </p><p>3. Run the script to get all the other movies into individual folders.</p><p>4. Move the first set of movies back. </p><p>5. Run moving pictures import again to get the first set of movies back in the DB</p><p>6. Run the script again to get all your folder names to match. </p><p></p><p>I'm not positive on this, but I believe the DB keeps the movie data when you delete a movie, so the reimport shouldn't take too long.</p></blockquote><p></p>
[QUOTE="jmcentire, post: 551460, member: 84330"] [b]Re: App to Copy Artwork and Details to Movie Folder[/b] Good questions, I had thought of most of them, and they way I designed it to run should prevent any major problems, you may run into some that either don't get moved/renamed in which case those movies will not updated in the database, OR a file may be moved and the database didn't update it, in that case it should only be a couple, a quick reimport for those movies will get ya back. It will move both movies into the same directory as long as they are tied to the same Title in Moving Pictures. When the script encounters "Matrix CD1.avi" from the database it will rename the folder, when it encounters "Matrix CD2.avi" from the database it sees that "Matrix CD2.avi" doesn't exist(in the old location), so it does nothing. When the script goes to update the database it checks where the files should be according to the new naming and updates the database based on if the file exists in the new location. So as long as they are tied to the same "Title" in Moving Pictures everything will update correctly. If they have the same Title in Moving Pictures, they will end up in the same folder. Both movies will end up in the folder of the first movie(in that folder) that it encountered. If they have the same title in moving pictures it will update the database correctly. However if they have different titles the second movie will not be updated in the database. You would have to run an import in moving pictures to update it. In this case the app wouldn't be able to rename the second one it encounters(since that directory already exists), so it will leave it as is. In that case you would have to manually rename or move the second one. Not sure how I could make the app handle this... I think the easiest way to get around this would probably be: 1. Move the movies(and their folders) that are in individual folders to a location that is not monitored by moving pictures. 2. Run moving pictures import so it notices those files are gone and removes them from the database. 3. Run the script to get all the other movies into individual folders. 4. Move the first set of movies back. 5. Run moving pictures import again to get the first set of movies back in the DB 6. Run the script again to get all your folder names to match. I'm not positive on this, but I believe the DB keeps the movie data when you delete a movie, so the reimport shouldn't take too long. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
App to Copy Artwork and Details to Movie Folder v0.5.6
Contact us
RSS
Top
Bottom