Hi Rednoah, I want to take you up on your offer of writing a script. I've actually done a lot of the work already but I suspect that its not the best way as I have problems.
There are two scripts. One renames movies in a specific folder, one renames TV shows in a specific folder. Both are batch ...
Search found 9 matches
- 05 Aug 2014, 17:14
- Forum: Scripting and Automation
- Topic: Rename and Move Script - Hire Rednoah!
- Replies: 1
- Views: 2334
- 05 Aug 2012, 13:03
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
Got it all working now - thanks very much for your help rednoah.
Del
Del
- 05 Aug 2012, 10:16
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
This seemed to work and also adding -non-strict to the command line. Not sure if thats safe to do though:
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test"
def DirRoot = "test"
def MovieFormat = "D:/Videos/test/{n} - {y} - {genres[0]} - {rating}"
MovieDir.getFolders{!it.hasFile{} || it ...
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test"
def DirRoot = "test"
def MovieFormat = "D:/Videos/test/{n} - {y} - {genres[0]} - {rating}"
MovieDir.getFolders{!it.hasFile{} || it ...
- 05 Aug 2012, 09:38
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
Sadly that doesn't work either :(
Tried:
def args = "D:/Videos/test/"
args.eachMediaFolder { dir ->
println dir
rename(file:dir, format:'{n} - {y} - {genres[0]} - {rating}', db:'TheMovieDB')
}
Simply says Done?(??????)?
then tried:
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test ...
Tried:
def args = "D:/Videos/test/"
args.eachMediaFolder { dir ->
println dir
rename(file:dir, format:'{n} - {y} - {genres[0]} - {rating}', db:'TheMovieDB')
}
Simply says Done?(??????)?
then tried:
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test ...
- 04 Aug 2012, 18:06
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
More playing, editted the groovy script and put this in so its a little more dynamic:
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test/"
def MovieFormat = "D:/Videos/test/{n} - {y} - {genres[0]} - {rating}"
MovieDir.getFolders{!it.hasFile{} || it.hasFile{}}.each{ dir ->
println ...
// PERSONALIZED SETTINGS
def MovieDir = "D:/Videos/test/"
def MovieFormat = "D:/Videos/test/{n} - {y} - {genres[0]} - {rating}"
MovieDir.getFolders{!it.hasFile{} || it.hasFile{}}.each{ dir ->
println ...
- 04 Aug 2012, 16:32
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
Got the latest .jar - re-ran the code:
C:\Program Files (x86)\FileBot>filebot -version
FileBot 2.64 (r1190) / Java(TM) SE Runtime Environment 1.6.0_33
C:\Program Files (x86)\FileBot>filebot -script D:\Videos\test\test2.groovy
Filename pattern: [NaN] SxE, [NaN] CWS
Rename episodes using [TheTVDB ...
C:\Program Files (x86)\FileBot>filebot -version
FileBot 2.64 (r1190) / Java(TM) SE Runtime Environment 1.6.0_33
C:\Program Files (x86)\FileBot>filebot -script D:\Videos\test\test2.groovy
Filename pattern: [NaN] SxE, [NaN] CWS
Rename episodes using [TheTVDB ...
- 04 Aug 2012, 14:42
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
Ok I tried it:
via command line I did:
C:\Program Files (x86)\FileBot>filebot -script D:\Videos\test\test2.groovy
where groovy script contained:
rename(folder:"D:/Videos/test/A Beautiful Mind", format:"{n} - {y} - {genres[0]} - {rating}")
Response was:
Exception: No media files: []
Done ...
via command line I did:
C:\Program Files (x86)\FileBot>filebot -script D:\Videos\test\test2.groovy
where groovy script contained:
rename(folder:"D:/Videos/test/A Beautiful Mind", format:"{n} - {y} - {genres[0]} - {rating}")
Response was:
Exception: No media files: []
Done ...
- 04 Aug 2012, 10:38
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Re: Rename Folder - Just the Folder
Thanks for this rednoah. You mention:
Those file/folder names are enough to figure things out. No need for nfo and whatever.
If those folders are DVD folders or BluRay folders (i.e. contain a folder called VIDEO_TS, etc) then it'll work with the folder.
If you have avis/mkvs/etc but want to ...
Those file/folder names are enough to figure things out. No need for nfo and whatever.
If those folders are DVD folders or BluRay folders (i.e. contain a folder called VIDEO_TS, etc) then it'll work with the folder.
If you have avis/mkvs/etc but want to ...
- 03 Aug 2012, 22:45
- Forum: Help and Support
- Topic: Rename Folder - Just the Folder
- Replies: 13
- Views: 12058
Rename Folder - Just the Folder
Hi there, Firstly, epic piece of software this, love it really do.
I've finally finished ripping/encoding my wifes dvd collection to my NAS so we can watch the films round the house (believe me, I don't ever want to do that again - took forever!) and I have a list of loads of Movie folders on my ...
I've finally finished ripping/encoding my wifes dvd collection to my NAS so we can watch the films round the house (believe me, I don't ever want to do that again - took forever!) and I have a list of loads of Movie folders on my ...