Issue 70: torrentexpander use sample file as main movie in extraction result
Status:  Accepted
Owner: ----
Reported by reidara@gmail.com, Oct 8, 2012
What steps will reproduce the problem?

torrent1 has this folderstructure
torrent1/sample/movie.mp4
torrent1/movie.r00
torrent1/movie.r01
torrent1/movie.rar


Where movie.rar holds one file with the name movie.mp4

1. torrentexpander.sh   sourcefolder/torrent1 /destinationfolder/
2. results in one file (the sample one) names movie.mp4
3.

If destructive we lose the movie and gets only the sample... 


What version of the product are you using? On what operating system?
torrentexpandeer 0.20

freebsd


Please provide any additional information below.


Nov 19, 2012
#1 liskavo...@gmail.com
Same problem on debian.
Dec 2, 2012
Project Member #2 addicted...@gmail.com
Sorry for my lack of updates during the last few (many) months.
New job that takes most of my time, new apartment that requires a lot of work, not enough time remaining to take care of torrentexpander.
Sorry for that

Give the latest build a try and let me know how it works for you
The problem should be solved now

Thanks for your input

   Addictedtoscreens
Status: Accepted
Dec 2, 2012
#3 liskavo...@gmail.com
I can confirm it's working (I get movie[2].mp4 in the destinationfolder/torrent1), but now I have 2 files with size 0 in directory above (in destinationfolder) that should not be there.
(movie.mp4 - size 0, movie[2].mp4 - size 0).

Dec 2, 2012
#4 liskavo...@gmail.com
About previous comment - I can't simulate it in 100% of cases (sometimes files with size 0 are not there). I'll try if I can pinpoint why it happens.
Dec 2, 2012
Project Member #5 addicted...@gmail.com
Hi there

Those 0k files have been bugging me. They appeared on previous builds when a rar of zip extraction failed (damaged archive).
I have put two lines that I thought would solve this.

By the way, the comportment you describe sure look a lot like the subtitles_handling routine (it will create dummy files that could later be used to fetch subtitles). Can you open then in a text editor and see if there is something written in those files. If I'm right, the text included should be the name of the file after it has been renamed by torrentexpander.

Thanks for your input

    Addictedtoscreens