xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

file rename output #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.running the script

What is the expected output? What do you see instead?
i would expect that the file cleanup just removed the trailing text,  but not 
only foes it do that but it also removes the show name from the file and leaves 
just a SPACE and the S00E00.ext info

Step 2 : Trying to solve TV Shows numbering issues
- Renaming ringer.106.hdtv-lol.avi to ringer.S01E06.hdtv-lol.avi
Step 3 : Cleaning up filenames
- Renaming ringer.S01E06.hdtv-lol.avi to  S01E06.avi
Step 4 : Taking care of TV Shows, Music and Movie files
- Copying  S01E06.avi to /share/Download/transmission/TV/
That's All Folks

What version of the product are you using? On what operating system?
.17

Please provide any additional information below.

Original issue reported on code.google.com by kiza.s...@gmail.com on 19 Oct 2011 at 8:20

GoogleCodeExporter commented 8 years ago
if i turn off fix-numbering and leave on clean-up-filenames then i get this 
output

Step 2 : Cleaning up filenames
- Renaming ringer.106.hdtv-lol.avi to .avi
Step 3 : Taking care of TV Shows, Music and Movie files
./torrentexpander.sh: line 745: /: Is a directory
rm: /: is a directory
That's All Folks

also there is an error about egrep -o as not an option.. do i need to enable 
something?

Step 2 : Trying to solve TV Shows numbering issues
- Renaming ringer.106.hdtv-lol.avi to ringer.S01E06.hdtv-lol.avi
Step 3 : Cleaning up filenames
egrep: invalid option -- o
BusyBox v1.01 (2011.09.15-16:44+0000) multi-call binary

No help available.

- Renaming ringer.S01E06.hdtv-lol.avi to  S01E06.avi
Step 4 : Taking care of TV Shows, Music and Movie files
That's All Folks

Original comment by kiza.s...@gmail.com on 19 Oct 2011 at 9:12

GoogleCodeExporter commented 8 years ago
I'm sorry I did not reply earlier. I did not notice this issue you notified
I cannot reproduce the issue you are experiencing
Can you try to install grep package with ipkg because busybox's grep doesn't 
support -o option
Please let me know how it works

Original comment by addicted...@gmail.com on 29 Oct 2011 at 4:20

GoogleCodeExporter commented 8 years ago
that just might be the problem :)
turns out (being very new to NAS and shell scripting) i gave up days ago, but 
the hard work done in torrentexpander helped me learn some stuff.. and so using 
the unrar_unzip_script that came with my torrent install for the NAS, i edited 
that used some newly learnt knowledge and made some changes.. little help from 
another addin TVNAMER, i now have the file unrar etc, look it up on thetvdb.com 
(that site i think) and rename the tv show to the exact way i want it named 
thats to the regex.. torrentexpander helped me to learn how to work out if the 
torrent was a TV or Movie, or just plain other torrent file.. and renames tv or 
movies and moves them to their own folders ready for plex

Original comment by kiza.s...@gmail.com on 29 Oct 2011 at 10:08

GoogleCodeExporter commented 8 years ago
That's nice to hear. I am glad torrentexpander helped you in some way
Achieving a fully automated download / extract / rename / move process takes a 
lot of time. But when it's finally working, what a great feeling :-)
I knew nothing about shell scripting when I started writing this script. I 
still don't know much but I'm proud of what I achieved.
I'm closing this ticket 

Original comment by addicted...@gmail.com on 29 Oct 2011 at 10:29