Rename Movie.mkv to Folder Name.mkv

Come up with a useful post-processing script? Share it here!
Post Reply
xytras
Newbie
Newbie
Posts: 14
Joined: December 12th, 2008, 4:59 pm

Rename Movie.mkv to Folder Name.mkv

Post by xytras »

So the past few days I have been trying to figure this out with no luck. But I know it's possible.

"Pulp Fiction\pf.mkv to Pulp Fiction.mkv " With no folder and Pulp Fiction.mkv in the default download folder.

If any one could write me a short script and show me how to use it on SAB It would be much appreciated.

I'm Currently running SAB 5.4 with Python 2.7-1 on Linux "Qnap" OS.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: Rename Movie.mkv to Folder Name.mkv

Post by rascalli »

Have a look at the sorting options , this should be what you want : http://wiki.sabnzbd.org/configure-sorting#toc6
xytras
Newbie
Newbie
Posts: 14
Joined: December 12th, 2008, 4:59 pm

Re: Rename Movie.mkv to Folder Name.mkv

Post by xytras »

rascalli wrote: Have a look at the sorting options , this should be what you want : http://wiki.sabnzbd.org/configure-sorting#toc6
This is what I have for sorting.

Sort String: %title.%ext

Which looks like
/share/Qdownload/New Movies/Movie Name.avi

How ever when the movie extracts it puts it into a folder with the movie inside it. Any way to make it not create a folder?

Example.

/share/Qdownload/New Movies/Pulp Fiction/pf.mkv

Want it to look like is.

/share/Qdownload/New Movies/Pulp Fiction.mkv
Last edited by xytras on October 31st, 2010, 10:13 pm, edited 1 time in total.
xytras
Newbie
Newbie
Posts: 14
Joined: December 12th, 2008, 4:59 pm

Re: Rename Movie.mkv to Folder Name.mkv

Post by xytras »

Affected Categories: Control/Shift+Select the categories you want this sorting to be used in.

I didn't have None selected. Thanks for the hint. :)
Post Reply