2011-10-01, 16:51
fush Wrote:Hi Cliffe
I've just updated to your latest script and gave the Movie sorting a test.
1. Can the sort handle having "CD1" or "CD2" in the file name? So far my tests haven't been able to match any movie files with CD1 or CD2 in the name? Or could I be doing something wrong?
Not currently. The same problem exists with "part 1" in episode files. We discussed solutions. Hopefully that can make its way into the script soon. Thanks for pointing it out.
fush Wrote:2. Movie Renaming, I have force-windows-compatible-filenames=TRUE in the config file yet it still seems to like to add ":" into the names of some films, the files works fine in Linux but if I open the folder on my windows machine, its just a bunch of random letters/numbers, and I can't edit unless I am in Linux. Maybe if support windows naming is on, we can replace them with "-" or "."?
Ahh, thanks, I guess the Windows compatibility function isn't currently called on the movie renaming.
fush Wrote:3. Renaming doesn't add the year it was made? the date is only added/kept if it already existed on the filename?
That was somewhat intentional, but perhaps the better solution would be to use the year that was returned by tmdb in match_and_sort_movie(). Sounds like a good idea.
If you feel like coding any of your suggestions above then please give it a go
fush Wrote:Otherwise its an awesome tool dude. I massively appreciate what you've done and your ability to keep on working on it.
almost forgot, is there a way I could output just a list of sorted episodes/movies to a file? I have most of my download/sorting automated and I use Prowl to send me notifications of when files have been added for download/finished downloading/etc and I have one that just tells me that sortTv has run, but it would be cool if I could feed it a list from file of which shows have successfully been sorted so I can see that info in the notification
Regards
Andrew
All the moves are logged to sorttv.log. You could remove the log file before running SortTV, then just see it there is anything in the log.
For example, assuming Linux\Mac, you could write a bash script to only tell you when files have actually been sorted like this:
Code:
if grep '\-->' sorttv.log
then
#Prowl stuff
fi
Code:
grep '\-->' sorttv.log | grep -o '[^/]*$'