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 Talk
Scan movie db by folder name not file name?
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="Craydk" data-source="post: 154116" data-attributes="member: 51922"><p>I was just about to propose the same thing <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> </p><p>Specially i have some problems with my .iso files since they dont all have the right labels (the name which pops up as the name of the drive when mounted) <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p>but directory name is spot on right.</p><p></p><p>btw if the problem only is that the file dont match the dir name, u could write a fairly simple bat file which could rename files to folder name <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> but alas this wont work for the .iso labels <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> </p><p></p><p>anyone know of a program that can manipulate labels in existing .iso files?</p><p></p><p>a dirty ugly .bat file for renaming .avi files to folder name. Takes all folders in its root and renames files in them.</p><p>only 1 level of deepth though.. worked for my purpose...</p><p></p><p>C:. <----bat file here</p><p>├───Casino Royal</p><p>│ └───Sample</p><p>├───Children Of Men</p><p>│ └───SAMPLE</p><p>├───Deja Vu</p><p>│ └───Sample</p><p>├───Epic Movie</p><p>│ ├───Covers</p><p>│ └───Sample</p><p></p><p>will only rename files directly in movie folders (not in covers sample etc)</p><p></p><p>*-------------------</p><p></p><p>@echo off</p><p>SetLocal EnableDelayedExpansion</p><p>cls</p><p></p><p>dir /a:d /b >list.txt</p><p>for /F "delims=," %%a in (list.txt) do (</p><p>echo %%a</p><p>cd "%%a"</p><p>rename *.avi "%%a".avi</p><p>cd..</p><p>)</p><p>del list.txt</p><p>*-----------------------------------------</p></blockquote><p></p>
[QUOTE="Craydk, post: 154116, member: 51922"] I was just about to propose the same thing :) Specially i have some problems with my .iso files since they dont all have the right labels (the name which pops up as the name of the drive when mounted) :( but directory name is spot on right. btw if the problem only is that the file dont match the dir name, u could write a fairly simple bat file which could rename files to folder name :) but alas this wont work for the .iso labels :( anyone know of a program that can manipulate labels in existing .iso files? a dirty ugly .bat file for renaming .avi files to folder name. Takes all folders in its root and renames files in them. only 1 level of deepth though.. worked for my purpose... C:. <----bat file here ├───Casino Royal │ └───Sample ├───Children Of Men │ └───SAMPLE ├───Deja Vu │ └───Sample ├───Epic Movie │ ├───Covers │ └───Sample will only rename files directly in movie folders (not in covers sample etc) *------------------- @echo off SetLocal EnableDelayedExpansion cls dir /a:d /b >list.txt for /F "delims=," %%a in (list.txt) do ( echo %%a cd "%%a" rename *.avi "%%a".avi cd.. ) del list.txt *----------------------------------------- [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Scan movie db by folder name not file name?
Contact us
RSS
Top
Bottom