My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 16: file rename output
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Oct 2011


 
Reported by kiza.s...@gmail.com, Oct 19, 2011
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.

Oct 19, 2011
#1 kiza.s...@gmail.com
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

Oct 29, 2011
Project Member #2 addicted...@gmail.com
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
Oct 29, 2011
#3 kiza.s...@gmail.com
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
Oct 29, 2011
Project Member #4 addicted...@gmail.com
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 
Status: WontFix

Powered by Google Project Hosting