tvnamer icon indicating copy to clipboard operation
tvnamer copied to clipboard

Just move option (without renaming)

Open queeup opened this issue 13 years ago • 9 comments

Hello,

I try to find option for move files to Series name directory without renaming files. But there is no I guess. Only I can edit tvnamer.json to erase all renaming options and add move option.

Could you add like --just-move option or similar thing?

queeup.

queeup avatar Oct 25 '11 19:10 queeup

Hm, a more general solution would be to have the move_files_destination include the filename, then you could do:

'move_files_destination': '/path/to/my/media/%(seriesnames)s/%(original_filename)s',

..or something like that - http://dbr.lighthouseapp.com/projects/36049/tickets/77-expose-original-filename-in-name-format-data

dbr avatar Oct 26 '11 11:10 dbr

If I do it like you suggested, do I have to erase rename file options? Let me try. Thank you. But maybe you can consider to add a console option :)

queeup avatar Oct 26 '11 19:10 queeup

OK you can close this. It's working greate with this commit :) https://github.com/dbr/tvnamer/commit/73e0624de1db3f8699c44cd54d40ada6ca3a79cb

Thank you.

queeup avatar Nov 21 '11 13:11 queeup

Sorry I reopen because Its notworking orI am doing something wrong.

my config:

"move_files_destination": "%(seriesname)s/$(originalfilename)", 
"move_files_destination_is_filepath": true,
"move_files_enable": true,
"always_move": true, 
"always_rename": false, 

I tried also

"move_files_destination": "%(seriesname)s",
and
"move_files_destination": "%(seriesname)s/%(original_filename)s"

queeup avatar Nov 22 '11 18:11 queeup

Omg ok I get it. I forget "batch": true,

What is this anyways? :)

queeup avatar Nov 22 '11 18:11 queeup

is it possible correct information line for this thing also? New file name little bit confusing.

xbmc@xbmc:~$ tvshow_move_xbmc.sh 
Loading config: /home/xbmc/.tvnamer.json
/home/xbmc/bin/tvnamer.py:275: UserWarning: The move_files feature is still under development. Be very careful with it.
It has not been heavily tested, and is not recommended for general use yet.
  warnings.warn("The move_files feature is still under development. "
####################
# Starting tvnamer
# Found 1 episode
####################
# Processing file: The.Walking.Dead.S02E06.PROPER.720p.HDTV.x264-ORENJI.mkv
# Detected series: The Walking Dead (season: 2, episode: 6)
####################
Old filename: The.Walking.Dead.S02E06.PROPER.720p.HDTV.x264-ORENJI.mkv
New filename: The Walking Dead - [02x06] - Secrets.mkv
New path: /home/xbmc/TORRENT/downloads/dizi/The Walking Dead/The.Walking.Dead.S02E06.PROPER.720p.HDTV.x264-ORENJI.mkv
Creating directory /home/xbmc/TORRENT/downloads/dizi/The Walking Dead
move /home/xbmc/TORRENT/downloads/dizi/The Walking Dead - [02x06] - Secrets.mkv to /home/xbmc/TORRENT/downloads/dizi/The Walking Dead/The.Walking.Dead.S02E06.PROPER.720p.HDTV.x264-ORENJI.mkv

queeup avatar Nov 22 '11 19:11 queeup

You mean correct the "New filename" line?

Omg ok I get it. I forget "batch": true,

What is this anyways? :)

Batch mode means it doesn't prompt you to select the correct series, which is what you want for automated scripts

dbr avatar Nov 24 '11 09:11 dbr

Yes, I am not changing filename. "New filename:" has to be same when I am useing %(originalfilename)

queeup avatar Nov 24 '11 09:11 queeup

Currently it is "correct" - until #40 is fixed. The file is renamed to that new name, then it might be moved to the new destination

Definitely needs improved, but I think for now removing the "new file" might be more confusing

dbr avatar Nov 27 '11 05:11 dbr