MuratBee / torrentexpander

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

Files are not moved into separate movie and TV folders - sed error #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run script manually WITHOUT using sudo
2.
3.

What is the expected output? What do you see instead?
I expect files to be sorted into appropriate folders. They are not.

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

Please provide any additional information below.

Here is the output when I run the script manually:

Your Destination Folder is /mnt/Storage/Downloads/Recent

Step 1 : Expanding / moving content of the torrent
Step 2 : Cleaning up filenames
- Renaming Pacific Rim 2013 HDRip x264 AC3 UNiQUE.mkv to Pacific Rim (2013).mkv
sed: can't read s;^/mnt/Storage/Downloads/Recent/torrentexpander_temp/Pacific 
Rim 2013 HDRip x264 AC3 
UNiQUE.mkv;/mnt/Storage/Downloads/Recent/torrentexpander_temp/Pacific Rim 
\(2013\).mkv;g: No such file or directory
Step 3 : Taking care of TV Shows, Music and Movie files

Oops, are you sure you want to move your files and not simply copy them ?
Your processed torrent may not show up in your destination folder

1) Yes, I'm sure
2) You may be right, I'd rather copy them

1

Duly noted

- Moving Pacific Rim 2013 HDRip x264 AC3 UNiQUE.mkv to 
/mnt/Storage/Downloads/Recent/Movies/
mv: cannot stat `/mnt/Storage/Downloads/Recent/torrentexpander_temp/Pacific Rim 
2013 HDRip x264 AC3 UNiQUE.mkv': No such file or directory
sed: can't read s;/mnt/Storage/Downloads/Recent/torrentexpander_temp/Pacific 
Rim 2013 HDRip x264 AC3 UNiQUE.mkv;/mnt/Storage/Downloads/Recent/Movies/Pacific 
Rim 2013 HDRip x264 AC3 UNiQUE.mkv;g: No such file or directory
sed: can't read s;^/mnt/Storage/Downloads/Recent/torrentexpander_temp/Pacific 
Rim 2013 HDRip x264 AC3 UNiQUE.mkv$;/mnt/Storage/Downloads/Recent/Pacific Rim 
2013 HDRip x264 AC3 UNiQUE.mkv;g: No such file or directory
sed: can't read 
s;^/mnt/Storage/Downloads/Recent/torrentexpander_temp/;/mnt/Storage/Downloads/Re
cent/;g: No such file or directory
That's All Folks

And here is my config:
unrar_bin="/usr/bin/unrar"
unzip_bin="/usr/bin/unzip"
wget_curl="/usr/bin/wget"
ccd2iso_bin="incorrect_or_not_set"
text_editor_bin="/bin/nano"
mkvdts2ac3_bin="incorrect_or_not_set"
torrent_daemon_bin="/usr/bin/transmission-remote"
all_files_script="incorrect_or_not_set"
processed_torrent_script="incorrect_or_not_set"
post_run_script="incorrect_or_not_set"
destination_folder="/mnt/Storage/Downloads/Recent/"
tv_shows_post_path="/mnt/Storage/Downloads/Recent/TV/"
movies_post_path="/mnt/Storage/Downloads/Recent/Movies/"
music_post_path="/mnt/Storage/Downloads/Recent/Music/"
third_party_log="no"
destructive_mode="no"
user_defined_other_movies_patterns=
user_defined_scene_patterns=
tv_shows_fix_numbering="yes"
clean_up_filenames="yes"
movies_rename_schema="type_1"
subtitles_handling="no"
repack_handling="no"
wii_post="no"
img_post="no"
tv_shows_post="move"
tv_shows_post_path_mode="ss"
movies_post="move"
force_single_file_movies_folder="no"
music_post="move"
imdb_poster="no"
imdb_poster_format="normal"
imdb_nfo="no"
imdb_fanart="no"
imdb_fanart_format="w1280"
disable_nmj_scan="no"
dts_post="no"
user_perm_post="no"
group_perm_post="no"
files_perm_post="no"
folder_perm_post="no"
edit_perm_as_sudo="no"
reset_timestamp="no"
supported_extensions="avi,mkv,divx,mp4,ts,iso,img,mp3,m4a,wav,srt,idx,sub,dvd"
tv_show_extensions="avi,mkv,divx,mp4,srt,idx,sub"
movies_extensions="avi,mkv,divx,mp4,ts,iso,img,srt,idx,sub"
music_extensions="mp3,m4a,wav"
debug_mode="no"
auto_update_script="no"
remove_torrent_from_client="no"
torrent_daemon_login=
torrent_daemon_password=
torrent_daemon_port="9091"
all_files_script_enabled="no"
all_files_script_variable_1=
all_files_script_variable_2=
all_files_script_variable_3=
all_files_script_variable_4=
all_files_script_variable_5=
processed_torrent_script_enabled="no"
processed_torrent_script_variable_1=
processed_torrent_script_variable_2=
processed_torrent_script_variable_3=
processed_torrent_script_variable_4=
processed_torrent_script_variable_5=
post_run_script_enabled="no"

Original issue reported on code.google.com by mich...@michaelandvictoria.id.au on 3 Oct 2013 at 2:48

GoogleCodeExporter commented 8 years ago
I have the same issue. Is there an inherent problem with moving a file instead 
of copying?

"
Oops, are you sure you want to move your files and not simply copy them ?
Your processed torrent may not show up in your destination folder
"

I've also been wondering why it very slowly transfers video files (not in 
archives) to the working directory. All I want it to do is rename and move them 
to my target folder.

Original comment by jeffrey....@gmail.com on 11 Dec 2014 at 1:05