Kodi Community Forum
SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) (/showthread.php?tid=75949)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


Sorting and file renaming - macauleyr4 - 2015-07-21 03:22

I can't seem to find the right settings. If renaming is turned on everything is renamed and move names are changed. This is the directory structure I was hoping to create.

tv/tvshowname/season/episode.original.filename.mkv

movies/moviename (year)/movie.original.filename.mkv

Is this possible?


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - raspdealer - 2015-07-24 12:02

Thanks for all your work again cliffe !!
We really need an icon for this "app" !!!! Do you have a beautiful one ?

I want to plug it with my pushover account to stay notify on what happens during execution Big Grin
Do you think we can create a extra mod for that ?

EDIT : Idea
[Image: pgnLES6.png]


Sorting DVB Link Files - rideti.me - 2015-07-25 17:35

Completely new to even running Perl scripts, I could have missed something pretty simple and obvious. I have installed everything and the script seems to run ok in Windows. Checked the first 3 pages and last 3 pages of this thread to see if anything is reported or discussed and couldn't see it.

Ok solved my other problem. Crash course in regex and written my own movie/tv sort expressions into the perl script.

For some reason the info/log for the script says it's scraped all of the files, created all of the directories, done the rename and save.

In my new structure the folders have been created but there are no files. I'm running as administrator and have turned dryrun off so don't know why they aren't transferring?

Any ideas?

Thanks


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - raspdealer - 2015-08-09 10:21

Hi,

Sometimes the script is blocked... and I can't understand why.
How can I get more log ?

Last known step : INFO: Fetching episode title for Suits Season 05 Episode 6.
=> Out of memory!

Rare but frequent on that show...

Thanks for help.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - MxMLssR - 2015-10-26 18:43

Hi,

Could it be possible to have a season title suffix. It would allow for a folder structure like "Series/1x/Series.S02E02.abc".
My series are structured like that and I don't want to change everything.

I am not a pearl expert but I could do the change and make a pull request if necessary.
Is the code base still active on sourceforge?

Thanks


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - raspdealer - 2015-10-28 13:47

Yes it's possible you can do that in the config file


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - MxMLssR - 2015-10-28 19:56

I must be blind then because I can't seem to find it. The only thing possible seems to be a prefix "Season X", not a suffix.

What options do I need to configure?

Thanks


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - judocama - 2015-10-29 00:53

I have problems ordering my library when you have accents or other marks by the example ( Á, ¿ , ? ,!, ¡ etc ...) because my primary language is Spanish . Somebody help me fix it without having to edit the movies one to one ?

Thanks in advance.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc - Fox - 2015-10-30 09:47

(2015-10-28 19:56)MxMLssR Wrote:  I must be blind then because I can't seem to find it. The only thing possible seems to be a prefix "Season X", not a suffix.

What options do I need to configure?

Thanks

If I understood you correctly you want something like "01 Season" instead of the usual "Season 01", I don't think that option exist.
Sure it's possible to add that to the code but it wouldn't just be a quick one liner.

(2015-10-29 00:53)judocama Wrote:  I have problems ordering my library when you have accents or other marks by the example ( Á, ¿ , ? ,!, ¡ etc ...) because my primary language is Spanish . Somebody help me fix it without having to edit the movies one to one ?

Thanks in advance.

Maybe you can fix it with the show-name-substitute options?
I know I have series with uncommon letters and accents and they work, if you have some examples it might help.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - raspdealer - 2015-10-30 16:04

Check in the code, you can revert the folder name easily I think.

Exemple ligne 1462, 1463
out("std", "INFO: making season directory: $show/$series$seasontitle\n");
my $newdir = $series.$seasontitle;

and on line 551, 552, 553 too.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - judocama - 2015-10-31 03:14

(2015-10-30 09:47)Fox Wrote:  
(2015-10-28 19:56)MxMLssR Wrote:  I must be blind then because I can't seem to find it. The only thing possible seems to be a prefix "Season X", not a suffix.

What options do I need to configure?

Thanks

If I understood you correctly you want something like "01 Season" instead of the usual "Season 01", I don't think that option exist.
Sure it's possible to add that to the code but it wouldn't just be a quick one liner.

(2015-10-29 00:53)judocama Wrote:  I have problems ordering my library when you have accents or other marks by the example ( Á, ¿ , ? ,!, ¡ etc ...) because my primary language is Spanish . Somebody help me fix it without having to edit the movies one to one ?

Thanks in advance.

Maybe you can fix it with the show-name-substitute options?
I know I have series with uncommon letters and accents and they work, if you have some examples it might help.

Hello, thanks for you speed answer.

By the example, I ever speak from the spanish title:

¡Han llegado! (1996)
¿Qué tal, Pussycat? (1965)

all files containing these symbols placed at the end of the database which I think is not normal for both Windows and Mac does at first.

Also:

Ángeles y demonios (2009)

and all films with emphasis on the first word placed at the end too.

however both Mac and Windows places it behind the late movie that starts with that letter.


Thanks in adavance.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - MxMLssR - 2015-11-02 23:12

(2015-10-30 09:47)Fox Wrote:  
(2015-10-28 19:56)MxMLssR Wrote:  I must be blind then because I can't seem to find it. The only thing possible seems to be a prefix "Season X", not a suffix.

What options do I need to configure?

Thanks

If I understood you correctly you want something like "01 Season" instead of the usual "Season 01", I don't think that option exist.
Sure it's possible to add that to the code but it wouldn't just be a quick one liner.

(2015-10-29 00:53)judocama Wrote:  I have problems ordering my library when you have accents or other marks by the example ( Á, ¿ , ? ,!, ¡ etc ...) because my primary language is Spanish . Somebody help me fix it without having to edit the movies one to one ?

Thanks in advance.

Maybe you can fix it with the show-name-substitute options?
I know I have series with uncommon letters and accents and they work, if you have some examples it might help.


Yes that's it! I know it wouldn't be a one liner, just a nice to have feature.

I'll look into it if I have time, then I'll make a pull request.


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc - thydzik - 2016-01-31 06:36

i'm unable to sort the latest mission impossible movie.

Mission Impossible Rogue Nation 2015.mkv

what should I change the file name to, to get it to detect?


RE: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - tk421storm - 2016-02-17 20:37

Is there anyway to remove the file that sortTV creates when it extracts a rar?

It creates a file like:

080p.hdtv.x264-seriously.rar (extracted by SortTV)

which seems to be causing torrent corruption errors in transmission. Can the creation/change of this file be disabled in the script, while still extracting and sorting the files?

Thanks!