pnyheim / torrentwatch-x

Automatically exported from code.google.com/p/torrentwatch-x
GNU General Public License v2.0
0 stars 1 forks source link

Personalized Deep directorys #234

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Its possible make personalized deep directorys, for example:

TV Show Name/Season X/
Dexter/Season 7

instead this i would like to personalize it and change Season X for: Xº 
Temporada (its portuguese format)
Dexter/7º Temporada 

its possible ? If not, show me place to change script that i would like to try. 
Thanks

Original issue reported on code.google.com by felipesa...@gmail.com on 25 Jan 2013 at 3:57

GoogleCodeExporter commented 9 years ago
I discovered how to do it. just edit line 120 of file tor_client.php
change entire line for that:
$dest = $dest."/".ucwords(strtolower($guess['key']))."/".$Season[1]." 
Temporada";

instead Dexter/Season 7
its creating folder structure: Dexter/7 Temporada 
its 98% ok, but i was not able to put º (example: Dexter/7º Temporada). i 
tried this:
$dest = $dest."/".ucwords(strtolower($guess['key']))."/".$Season[1]."º 
Temporada";
When i add º, torrentwatch not conect to transmission and not work. i dont 
know why, somebody know how fix it ? should be simple..
Thanks

Original comment by felipesa...@gmail.com on 31 Jan 2013 at 2:18