Baldy54
Junior Member Posts: 3 Joined: Jun 2012 Reputation: 0 |
2012-06-15 16:36
Post: #11
Hello I am new at this apple tv thing. So With this scripting that you made I just copy the script that you made in my apple tv and then it will do the rest?? Will it show up in main apple tv scree to watch it??
|
| find quote |
jakks
Member Posts: 95 Joined: Jun 2009 Reputation: 0 |
2012-06-15 17:31
Post: #12
Would it be possible to create one that just downloads the monthly ppv shows?
Hardware - HP Proliant MicroServer N36L 5TB / Raspberry Pi 512mb Software - SABnzbd / CouchPotato / Sickbeard / Headphones / NZBDrone / MySQL / uTorrent Extras - NZB 360 |
| find quote |
lrusak
Fan Joined: Sep 2011 Reputation: 3 Location: Canada |
2012-06-15 20:41
Post: #13
(2012-06-15 16:36)Baldy54 Wrote: Hello I am new at this apple tv thing. So With this scripting that you made I just copy the script that you made in my apple tv and then it will do the rest?? Will it show up in main apple tv scree to watch it??No. this is for use with SABnzbd and usenet. All this does is renames the files properly after they have downloaded and moves them to the appropriate location. jakks Wrote:Would it be possible to create one that just downloads the monthly ppv shows?Again, this doesn't download anything, it just sorts the downloads after sabnzbd finishes downloading the file. BrEEdAA Wrote:Ah! yeah i generally get the 720p .mkv versions, also of which RUDOS doesnt seem to be releasing any more, they are usually either KYR/CB4I could look into doing the mkv files as well as implementing it for KYR. I'll see how busy I am at work today and try it out. |
| find quote |
BrEEdAA
Junior Member Posts: 25 Joined: Nov 2011 Reputation: 0 |
2012-06-18 15:23
Post: #14
Thanks again lrusak, that would be great if you get working woth 720 mkv releases
|
| find quote |
lrusak
Fan Joined: Sep 2011 Reputation: 3 Location: Canada |
2012-06-19 07:13
Post: #15
here it is, this should be good for releases by anyone and of any type.
wrestling_mac.sh (remember to chmod +x) Code: Depreciated
(This post was last modified: 2012-06-20 19:49 by lrusak.)
|
| find quote |
lrusak
Fan Joined: Sep 2011 Reputation: 3 Location: Canada |
2012-06-19 07:57
Post: #16
Here is a further updated version, I just combined the scripts so it generates the NFO file as well. So ignore the NFO script that is in the earlier posts.
So, raw and smackdown, from any provider. it should work. wrestling_mac.sh Code: Depreciated
(This post was last modified: 2012-06-20 19:49 by lrusak.)
|
| find quote |
BrEEdAA
Junior Member Posts: 25 Joined: Nov 2011 Reputation: 0 |
2012-06-19 10:49
Post: #17
Great work thanks.
Im obviously being a nugget as the scripts didnt run for this weeks Raw. Error message: Exit(-1) Cannot run script /Users/brian_keith/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh (More) Here is what Ive done.Ive created the above code and placed the file into: ~/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh in terminal ran the command: chmod +x ~/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh Folder structure is: /media files/WWE/Raw /media files/WWE/Smackdown These have been added to your code in the DIRPATH sabnzb RSS feed, finds and downloads episodes with the following: Category = wwe raw; priority=default; processing=+delete; scripts=wrestling_mac.sh; folder =/media files/WWE/RAW; Ive also got a seperate category for smackdown, which is the same as above except fopr the folder Sab is downloading the files ok and extracting them to their associated directory (ie /media files/WWE/RAW/show date/....mkv) Any ideas on what Im doing wrong? would love to get this up and running
(This post was last modified: 2012-06-19 10:53 by BrEEdAA.)
|
| find quote |
BrEEdAA
Junior Member Posts: 25 Joined: Nov 2011 Reputation: 0 |
2012-06-19 13:02
Post: #18
ok getting somewhere now......The code was missing the ! from the beggining....
Still not running.... Failed conversion of ``'' using format ``%Y%m%d'' date: illegal time format usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] Failed conversion of ``'' using format ``%Y%m%d'' date: illegal time format usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] touch: /macintosh HD/media files/WWE/RAW//WWE Monday Night RAW - 17x1 - .nfo: No such file or directory /Users/brian_keith/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh: line 75: /macintosh HD/media files/WWE/RAW//WWE Monday Night RAW - 17x1 - .nfo: No such file or directory usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory /Users/brian_keith/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh: line 86: cd: /macintosh: No such file or directory mv: rename to WWE Monday Night RAW - 17x1 - .: No such file or directory rm: *raw*: No such file or directory
(This post was last modified: 2012-06-19 13:11 by BrEEdAA.)
|
| find quote |
BrEEdAA
Junior Member Posts: 25 Joined: Nov 2011 Reputation: 0 |
2012-06-19 13:27
Post: #19
Failed conversion of ``'' using format ``%Y%m%d''
date: illegal time format usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] Failed conversion of ``'' using format ``%Y%m%d'' date: illegal time format usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory /Users/brian_keith/Library/Application Support/SABnzbd/scripts/wrestling_mac.sh: line 86: cd: /media: No such file or directory mv: rename to WWE Monday Night RAW - 17x1 - .: No such file or directory |
| find quote |
lrusak
Fan Joined: Sep 2011 Reputation: 3 Location: Canada |
2012-06-19 19:04
Post: #20
You might want to make a separate directory for your downloads, just a generic folder "wrestling" or whatever, and have SAB download the files to there, because this script moves the files and renames them. You seem to download them to their specific directory from SAB.
Quote: Failed conversion of ``'' using format ``%Y%m%d''means that it didn't find a date. Strange. So just make an arbitrary download folder then point sab to download your wrestling files to there. Also, you can always test the script by cd into the directory that the file downloaded to (you have to be inside the folder so you can see the file) then test run the script via Code: bash /path/to/script/wrestling_mac.shHere is a new version of the script, it will exit if it does not find a proper date. Also, I have commented out the rm function at the bottom until we get it sorted out. wrestling_mac.sh Code: Depreciated
(This post was last modified: 2012-06-20 19:50 by lrusak.)
|
| find quote |

![[Image: watched-clearlogo.jpg]](http://trakt.tv/user/lrusak/widget/watched-clearlogo.jpg)
Search
Help