Search found 10 matches

by BlkChockr
26 Sep 2016, 20:12
Forum: Support
Topic: [Solved] API - Append - Url not working/skipping
Replies: 7
Views: 3906

Re: [Solved] API - Append - Url not working/skipping

That did the trick. Thank you very much for your time, the fast replies and of course the development of nzbget! :)
by BlkChockr
26 Sep 2016, 19:54
Forum: Support
Topic: [Solved] API - Append - Url not working/skipping
Replies: 7
Views: 3906

Re: [Solved] API - Append - Url not working/skipping

Oh, I just came up with another question (hijacking my own thread, of course):

How do I set the unrar-password? I tried with

Code: Select all

{'*Unpack:Password:':file['password']}
as you can see, but it didn't work.
by BlkChockr
26 Sep 2016, 19:40
Forum: Support
Topic: [Solved] API - Append - Url not working/skipping
Replies: 7
Views: 3906

Re: API - Append - Url not working/skipping

It's working, thank you! :D
by BlkChockr
26 Sep 2016, 17:31
Forum: Support
Topic: [Solved] API - Append - Url not working/skipping
Replies: 7
Views: 3906

Re: API - Append - Url not working/skipping

nzbget seems to save them without the .nzb.queued ending, just as "[NAME]" without the extension. Could this be the problem? I am trying to re-name the download, do I need to put the extension into the name-Parameter?
by BlkChockr
26 Sep 2016, 15:46
Forum: Support
Topic: [Solved] API - Append - Url not working/skipping
Replies: 7
Views: 3906

[Solved] API - Append - Url not working/skipping

Hi there, I just found out that the (json-rpc-)API treats URLs and base64-encoded files different. When I do this (in Python): for file in files: json = { 'jsonrpc': '2.0', 'id':0, 'method': 'append', 'params': [ file['name'], file['link'], '', 0, False, False, '', 0, 'SCORE', [ {'*unpack:':'yes'}, ...
by BlkChockr
29 Dec 2015, 14:37
Forum: Extension scripts
Topic: [Queue-Script] Stream video while downloading
Replies: 7
Views: 8662

Re: [Queue-Script] Stream video while downloading

UPDATE: Its done! https://github.com/BlkChockr/nzbget-stream I'm looking forward to your feedback and pull-requests ;)
by BlkChockr
28 Jul 2015, 18:56
Forum: Extension scripts
Topic: [Queue-Script] Stream video while downloading
Replies: 7
Views: 8662

Re: [Queue-Script] Stream video while downloading

Maybe the code can tell you whats wrong: def findVideoFile(rarFile): try: out = '' command = [getUnrarExecutable(), "vt"] if 'NZBPR__UNPACK_PASSWORD' in os.environ: command += ['-p'+str(os.environ['NZBPR__UNPACK_PASSWORD'])] command += [rarFile] command += VIDEO_EXTENSIONS proc = subprocess.Popen(co...
by BlkChockr
27 Jul 2015, 18:15
Forum: Extension scripts
Topic: [Queue-Script] Stream video while downloading
Replies: 7
Views: 8662

Re: [Queue-Script] Stream video while downloading

God, I have to be blind to not see that. Thank you! :oops: Next Problem: I am trying to find the largest file in the archive, to eliminate samples. This works well when I call my script from the command-line, but when NZBGet tries to use it, it does only seem to get the first line: UNRAR 5.21 freewa...
by BlkChockr
25 Jul 2015, 19:24
Forum: Extension scripts
Topic: [Queue-Script] Stream video while downloading
Replies: 7
Views: 8662

Re: [Queue-Script] Stream video while downloading

Thank you for the information! It was really useful to me and I made quite a bit of progress today, but now I came across the next problem: How do I get the password to unrar the file? It does not seem to be in os.environ? :shock:
by BlkChockr
24 Jul 2015, 21:43
Forum: Extension scripts
Topic: [Queue-Script] Stream video while downloading
Replies: 7
Views: 8662

[Queue-Script] Stream video while downloading

EDIT: For those who come from google with great hope: http://forum.nzbget.net/viewtopic.php?f=8&t=2054&p=15353#p15353 :D ----------------------------------- Original Post ------------------------------------------------ Hey Folks, I am currently working on a Queue-Script which shall extract videos f...