[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 2 Guest(s)
Post Reply 
Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
01-10-2012, 10:00 PM
Post: #106
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi ToiToinou

newest script r147 when run in silent mode from telnet together with modified by You subtitles script gives now:
Code:
drwxrwxr-x    2 nmt      nmt           4096 Jan 10 21:50 Uwiklanie
so it works perfect
THX again for Yours great work
Find all posts by this user
Add Thank You Quote this message in a reply
01-10-2012, 10:23 PM
Post: #107
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
NEW CSI VERSION IS OUT!
FIXED A110 PROBLEMS.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to Jannyy for this post
01-11-2012, 07:33 PM (This post was last modified: 01-12-2012 10:20 PM by toitoinou.)
Post: #108
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi

Janny has experienced an issue with torrentexpander that is worth mentioning :
He said :
"I have seen that a lot of files are missing from my download dir.
I suspect that when torrentexpander works on a'single-file-downloded-movie' it deletes the entire content of directory."
http://code.google.com/p/torrentexpander...tail?id=47

None of the changes I made recently could explain such an issue.
[EDIT] I tried everything and couldn't reproduce this issue. Anybody else experienced this ?
[EDIT 2] Turns out it was a false alarm. I'm really relieved. There's nothing in the code that could explain such a behavior.

Until we find out what happened, you should temporarily disable the destructive_mode in your settings.ini file.
I'm really sorry about that. I'll do my best to pinpoint the issue and solve this.

Toitoinou aka Addictedtoscreens
Find all posts by this user
Add Thank You Quote this message in a reply
01-11-2012, 08:22 PM
Post: #109
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Toitoinou

I have 1 more request. Is this possible to add section movies_detect_patterns to ini files, so everyone can add his own patterns which will not gone after script auto update> Recently I found more patterns rather specific for my country as PLSUBBED, PLSUB which confused script in name change.
Find all posts by this user
Add Thank You Quote this message in a reply
01-12-2012, 08:41 AM
Post: #110
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Lukjod

There is a similar functionality hidden in the code.
I haven't enabled it and I'm gonna refine it a bit.

Please use this page to report any missing tags. I'm planning to be thorough in terms of filename cleaning
http://code.google.com/p/torrentexpander...tail?id=36

Features list is as of now frozen. I'll now focus on improving and debugging the script.
Any new feature request won't be integrated in the script until the final release of v0.19.

Please make your suggestions there
http://code.google.com/p/torrentexpander/issues/list

Toitoinou aka Addictedtoscreens
Find all posts by this user
Add Thank You Quote this message in a reply
01-13-2012, 10:34 AM
Post: #111
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Still not working for me :-(

sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
sh: missing ]]
Information: this is your current paths list:
/usr/bin:/bin:/usr/sbin:/sbin
Information: transmission is installed
Information: opkg is installed
Information: internet connection avaiable
Information: updating opkg
./setup.sh: line 206: opkg: not found
Information: unzip (CSI version) is not installed
Installing unzip
./setup.sh: line 206: opkg: not found
Information: unrar is not installed
Installing unrar
./setup.sh: line 206: opkg: not found
Information: wget (CSI version) is not installed
Installing wget
./setup.sh: line 206: opkg: not found
Information: busybox is not installed
Installing busybox
./setup.sh: line 206: opkg: not found
./setup.sh: line 206: opkg: not found
sh: missing ]]
./setup.sh: line 206: -f: not found
./setup.sh: line 206: -f: not found
Error: torrentexpander setup aborted
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to debeli75 for this post
01-13-2012, 03:04 PM (This post was last modified: 01-13-2012 03:13 PM by lukjod.)
Post: #112
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
@ Toitoinou

Today torrentexpander v150 in destructive mode with remove_torrent_from_client="yes" in ini file did not paused and removed torrent from transmission.
Also subs are not downloading although in ini I got

all_files_script_enabled="yes"
all_files_script="/share/Apps/TorrentExpander/bin/napi_torrentexpander.sh"
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=

Can You please help?
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2012, 01:21 AM (This post was last modified: 01-14-2012 01:21 AM by toitoinou.)
Post: #113
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Lukjod

I'm betting this issue has something to do with some exotic character in the filename.

I've processed a lot of test files and everything seems to work fine.

I can't prevent it from happening in the torrent removal from transmission, but I think it shouldn't be an issue anymore for the rest of the script with the SVN build I've just committed.

I've revamped the file renaming routine in order to prevent some TV shows being identified as movies, It's now cleaning a lot of garbage from all filenames.
I've also added a lot of new patterns and used configured patterns can no be added to the settings.ini file.

Please let me know how it works for you.

Thanks

Toitoinou aka Addictedtoscreens
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2012, 02:11 PM
Post: #114
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Toitoinou
Still cant run subs script with v152. Last one working was v148. My subs script is:
Code:
# Download PL subtitles and convert them to subrip .srt
echo "Start downloading subs for torrentexpander processed folder..."
# /share/napi/napi.sh -s -f subrip -l /share/Video/napi.log /"$1"
/share/napi/napi.sh -s -f subrip /"$1"
echo "Done"
if [ -f "$(echo "$1" | sed '/^ *$/d' | sed 's/\(.*\)\..*/\1\.srt/')" ]; then
chown nmt:nmt "$(echo "$1" | sed '/^ *$/d' | sed 's/\(.*\)\..*/\1\.srt/')"
chmod 664 "$(echo "$1" | sed '/^ *$/d' | sed 's/\(.*\)\..*/\1\.srt/')"
fi
and ini files section is:
Code:
unrar_bin="/usr/local/bin/unrar"
unzip_bin="/usr/bin/unzip"
wget_curl="/bin/wget"
text_editor_bin="/bin/vi"
remove_torrent_from_client="yes"
all_files_script_enabled="yes"
all_files_script="/share/Apps/TorrentExpander/bin/napi_torrentexpander.sh"
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="incorrect_or_not_set"
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=
current_version="152"
last_update="734424"
user_defined_other_movies_patterns=
user_defined_scene_patterns=
Is something wrong with my config now?
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2012, 02:44 PM
Post: #115
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Lukjod

I can't understand this line
/share/napi/napi.sh -s -f subrip /"$1"

This would correspond to that, and it shouldn't work at all :
/share/napi/napi.sh -s -f subrip //path/to/video/file.avi

This line should probably work better :
/share/napi/napi.sh -s -f subrip "$1"

I've made some tests, and torrentexpander seems to send the correct path to the all_files_script, so I think you should also make sure your napi_torrentexpander.sh script is executable.

If it still doesn't work, please PM me an MSN or Gtalk address so we can solve this faster.

Thanks

Toitoinou aka Addictedtoscreens
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2012, 03:25 PM (This post was last modified: 01-14-2012 07:28 PM by lukjod.)
Post: #116
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
ok
I have narrowed down a problem
When torrentexpander is copying files instead of moving them to Video/Movies subtitles script works but only for directory /Download/Expanded/ in which is processed folder. It doesn't work for final file directory in Video/Movies when in moving file mode. It seems that for all_files_script_enabled it sends /Download/Expanded instead of final /Videos/Movies (in my case of movie file being processed)

Hope it will help You Toitoinou
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2012, 11:52 PM (This post was last modified: 01-15-2012 10:05 AM by toitoinou.)
Post: #117
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Likjod

Wow, I finally caught it !
It was a nasty one.
If all of the files were moved to movies or TV shows folder, then this would prevent the list of files sent to another script from being generated.
In my test directory, 2 files remained in the destination folder and this is why I couldn't see it.

This should work fine for you now.
If it doesn't, please use the following settings while running torrentexpander in a console :

all_files_script_enabled="yes"
all_files_script="/bin/echo"
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=

Thanks for your feedback

Toitoinou aka Addictedtoscreens
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to toitoinou for this post
01-15-2012, 10:19 AM
Post: #118
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
Hi Toitoinou

All is working fine again
THX
Find all posts by this user
Add Thank You Quote this message in a reply
01-16-2012, 12:34 PM
Post: #119
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
ok so iḿ having a little issue here.

I copied over my .torrent files from a backup i made.
Transmission sees them as new and i have to verify all local data.

After verifying is done and local data is 100% there Torrentexpander still unpacks the file.

I would like to add a feature that data that is 100% verified and present that this data will not be passed to the script because i seed all my data longer and have a long list that should not be extracted all the time.

Gr,
E
rnst
Find all posts by this user
Add Thank You Quote this message in a reply
01-16-2012, 01:40 PM
Post: #120
RE: Torrentexpander: automatic renamer | build .nfo | download poster & fanart | NMJ
(01-16-2012 12:34 PM)KidE79 Wrote:  I would like to add a feature that data that is 100% verified and present that this data will not be passed to the script because i seed all my data longer and have a long list that should not be extracted all the time.

This is quite difficult. The fact that the script is executed on a verify is a Transmission feature. This is in some cases what you want, and in some (like yours) it isn't.

So, the script has to handle this. But that's also difficult, because you don't really know whether you did a (complete) extract already.

So, the correct solution would maybe be to ask the Transmisison developers to have a per torrent option to not execute the done-script.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  sickbeard and download folder help! naboull1 1 268 05-11-2013 06:41 PM
Last Post: naboull1
  Transmission. How to change download paths to other HDD connected to A300 ? djhifi 0 282 05-07-2013 01:05 AM
Last Post: djhifi
  Download to NAS or other networked storage. kerberosvx 1 456 04-09-2013 01:24 PM
Last Post: chris57
  NZBGet download x pars instead of one/all/none shazada 0 464 04-07-2013 03:46 PM
Last Post: shazada
  Single download at a time ? divine 1 414 03-28-2013 08:44 PM
Last Post: Willem53
  [nzbget] NZBget 0.7.0 download and discussion Ger Teunis 492 209,706 01-25-2013 10:02 AM
Last Post: Peige
  RSS feed auto download and start torrents votepsi 2 788 01-22-2013 05:47 AM
Last Post: ItsPopcornTime
  A400 NMT Apps and Torrent Download destination th14 6 1,403 01-06-2013 08:14 AM
Last Post: chris57
  A300 Firmware update + Transmission Torrent Download => NMT lock up Popcorn-300-549 3 1,177 01-03-2013 06:50 PM
Last Post: joserobleda
  [SCRIPT] Download nzb on your tv Alex59 12 3,398 11-29-2012 02:51 PM
Last Post: Alex59

Forum Jump: