Pramudiana / embermediamanager

Automatically exported from code.google.com/p/embermediamanager
0 stars 0 forks source link

Rename Folders and Files based on IMDB #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to have EMM rename the folders to properly format IMDB
names e.g.<MOVIE> (<DATE>). Also if renaming the files could be done that
would be a bonus aswell.

Thanks for the great program. WORKS GREAK 

Original issue reported on code.google.com by cellop...@gmail.com on 26 May 2009 at 5:29

GoogleCodeExporter commented 9 years ago
I'll try to set up a custom naming where you can choose what to use. Something 
like:

$D = Directory name
$F = File name
$Y = Year
$R = Resolution
$A = Audio
etc etc etc

Then, say you had a folder for "The Dark Knight" and you put in "$D ($Y)", the
file/folder name would be "The Dark Knight (2008)".

Original comment by jason.schnitzler on 26 May 2009 at 6:43

GoogleCodeExporter commented 9 years ago
Would be nice if you would also have something like
$T = Title from .nfo file

Original comment by temmi2...@googlemail.com on 27 May 2009 at 10:17

GoogleCodeExporter commented 9 years ago
Issue 142 has been merged into this issue.

Original comment by jason.schnitzler on 9 Jun 2009 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by jason.schnitzler on 23 Jun 2009 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by nfnovais@gmail.com on 24 Jun 2009 at 8:24

GoogleCodeExporter commented 9 years ago
Implemented in r428.
Folder/File Rename 
Full Interface for bulk rename.
INCLUDES: shared method "RenameSingle" for single Movie process (ie: to include 
in scrapers)
Things need TODO
Rename the Class ??????
Layout/Appearance Tweaks (Icons Locations etc) Jason Help!!!!!!!!!!!! :)
More testing in file Source Mode (Only done full test in Folder Mode)
Note: In Menu Item source is commented the call to RenameSingle

Original comment by nfnovais@gmail.com on 24 Jun 2009 at 5:36

GoogleCodeExporter commented 9 years ago

Original comment by nfnovais@gmail.com on 24 Jun 2009 at 5:39

GoogleCodeExporter commented 9 years ago
If the origial folder or filename includes reference to source(DVD, Bluray, 
etc) it
shouldn't be removed, as EMM, and some of the xbmc skins can use it to 
determine and
display the source. At least it somehow shoud be handled

Original comment by nadas.bence@gmail.com on 25 Jun 2009 at 5:13

GoogleCodeExporter commented 9 years ago
so we just nee one more $ with the source; problem is wher to get the source.
Just using it if it is in the current name maybe be not easy.. first have to 
decide
the "list" of sources that decide where to put tham.... 
Oh well I will think how can we solve this
Thank you nadas

Original comment by nfnovais@gmail.com on 25 Jun 2009 at 7:54

GoogleCodeExporter commented 9 years ago
Is $T implemented?  This would be the most important piece of data to me.  Can 
it be 
auto-renamed upon locating the IMDB data?

Original comment by rus...@gmail.com on 25 Jun 2009 at 3:53

GoogleCodeExporter commented 9 years ago
all this are implemented:
$D = Directory name
$F = File name
$Y = Year
$R = Resolution
$A = Audio
$T = Title from .nfo file
$t = Title from .nfo file (with . inplace of SPACES)

Original comment by nfnovais@gmail.com on 25 Jun 2009 at 5:44

GoogleCodeExporter commented 9 years ago
You can just regex match against the current file name to see if it already 
contains
a source marker, if so, and the user put $S (or whatever) then use it in the 
new name
as well.

Just a copy/paste from flags xml:
    <name searchstring="bluray|blu-ray|blu ray">
      <icon>bluray.png</icon>
    </name>
    <name searchstring="hddvd|hd dvd|hd-dvd">
      <icon>hddvd.png</icon>
    </name>
    <name searchstring="hdtv|hd tv|hd-tv">
      <icon>hdtv.png</icon>
    </name>
    <name searchstring="dvd|sddvd|sd dvd|sd-dvd">
      <icon>dvd.png</icon>
    </name>
    <name searchstring="sdtv|sd tv|sd-tv">
      <icon>sdtv.png</icon>
    </name>

if anyone knows any more source markers we could use, please list them.

Original comment by jason.schnitzler on 25 Jun 2009 at 5:45

GoogleCodeExporter commented 9 years ago
Couldn't source be saved into the db?
Especially considering the implementation of issue60?

Original comment by nadas.bence@gmail.com on 25 Jun 2009 at 10:31

GoogleCodeExporter commented 9 years ago
ultimately it should be. Should be implemented with issue 150.

Original comment by jason.schnitzler on 25 Jun 2009 at 10:35

GoogleCodeExporter commented 9 years ago
Wonderful Feature. I have been waiting for the renaming engine to be added to 
EMM
(and support for TV series :D )

Is it possible to add the $L (language) variable too? Also, I like to group my
movies in sets, so how would the directory naming be handled (if the movies 
directories
are not in the same root directory) ?

Having support for relative paths might help.  Also, as previously requested 
(issue
142), can we add support for controlling the case of the filenames?

\U FOR ALL UPPERCASE
\L for all lowercase
\u For First Letter Upper Case
\C ForCamelCase

Original comment by rajesh.j...@gmail.com on 25 Jun 2009 at 11:23

GoogleCodeExporter commented 9 years ago
Implemented in r465.
Renamer now support $S for Sources /dvd,bluray,etc...flags.xml)
all $ patterns now have 2 modifiers
ie:
.$-S. will remove last . if source is empty
.$+S. will remove both . is source is empty

Original comment by nfnovais@gmail.com on 26 Jun 2009 at 7:24

GoogleCodeExporter commented 9 years ago
I close this one. 
If you have problems/requests concerning the already implemented bulk renamer 
tool,
please open a new ticket. 

Original comment by nadas.bence@gmail.com on 6 Jul 2009 at 11:12