[RELEASE] Pneumatic - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Pneumatic (/showthread.php?tid=97657)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
- CrashX - 2011-08-29 17:45
Popeye Wrote:My plugin contains 4 independent functions; Site listing, SAB communication, rar parsing and playing of incomplete rar sets. Personally, if XBMC had supported it (and it partially does), I would have implemented these functions as stand alone plugins for others to use in their implementation.
I worked on the following fixes and it seems to be working:
- Merge back nzb.su into it ( Fixes hang issue at end of playback )
- Filter out sample.avi from rar file
- Delete nzb from queue/history after movie was done/stopped. Originally it was always in queue.
Issues still to address:
- It seems that after xbmc playback of first rar is done, it doesn't continue on to second rar file. It actually stop playback now. Any ideas ? Download isn't stopeed though and second rar file is downloaded ?
- We need to put the size of download in title to know how big it is.
- Any reason why list_incomplete(params) & listFile(nzbname) contains similar code ? Would it better to split into a common function that both functions can call ?
- Instead of writing another plugin, we should abstract out RSS URL for each site. User selects site ( nzbmatrix, nzb.org, nzb.su, etc ) and key and number of results. ie
Tv Shows:- <SITEURL>?dl=1&i=<SITEID>&r=$KEY&num=$NUMRESULTS&
We can also use this information to set the content.
- j1nx - 2011-08-29 18:52
Also have a look at Mar2zz his fork. Nzb.su should be called newznab as the code is released and there are more of them out there. The url should therefor be one of the ariables.
I have an own newznab server for some dutch community. No limits, so if you need one for testing, just shout.
- Popeye - 2011-08-29 19:13
CrashX Wrote:I worked on the following fixes and it seems to be working:
For latest code check out the git repo
Why filter out? I have a fix for displaying all files if more than one..
Delete is in the incomplete folder context menu of the movies file. Will move it out to the incomplete first listing and a 'delete all' option
Size in listing is on the todo...
The two different listing is due to the two completely different approaches of accessing the files. I have made some simplifications in the code and I think its in the repo...
I have quite limited time to code and will focus on getting core functions to work. If you want extended site support and UI chrome please go ahead and fork and/or contribute
- speed32219 - 2011-08-29 20:33
CrashX Wrote:Make sure that xbmc can access the incomplete folder ..
I double checked the sab config for proper paths to the complete/incomplete folders. When I download a file it is first put into the incomplete folder, then sent to the complete folder when finished, processed and moved to my movie folder.
All that works just fine. But if I select the NZBS icon it takes me to the incomplete folder and I can see the movies that is being downloaded. If I click on the movie, I thought it might let me watch it, it starts the time for view countdown again, even if half the download is complete.
- Popeye - 2011-08-29 21:02
speed32219 Wrote:I double checked the sab config for proper paths to the complete/incomplete folders. When I download a file it is first put into the incomplete folder, then sent to the complete folder when finished, processed and moved to my movie folder.
By access we mean, can XBMC write in this folder?
If the files gets moved out of the incomplete by SAB, something is wrong in your setup. Read the first post again.
- timgt - 2011-08-29 22:01
With the new default.py you released in your GIT an hour ago my NZBS plugin no longer works. just get errors
Nevermind, it was a bad download, I just copied your text and put it in manually and now it works somewhat, the download works but the stream doesnt start, its give me an error.
- Popeye - 2011-08-29 22:40
timgt Wrote:With the new default.py you released in your GIT an hour ago my NZBS plugin no longer works. just get errors
Well I never said things straight from the git would work in all parts . I test features and some times other things break... but the latest commit 17e59035d25ea81eca95 in master works for me..
- CrashX - 2011-08-30 02:37
Popeye Wrote:For latest code check out the git repo
Displaying all files is a better fix ... I just wanted a quick for now ...
Any ideas why it stops after first rar ?
Should we delete everything after we are done watching movie ?
- Popeye - 2011-08-30 07:32
CrashX Wrote:Displaying all files is a better fix ... I just wanted a quick for now ...
If the rar is corrupted or the download is to slow?
The 7byte rars should all be deleted once the movie starts playing but we dont need to touch the others.
BTW, to all who has crashes with nzb.su, what skin are you using?
- CrashX - 2011-08-30 08:02
Popeye Wrote:If the rar is corrupted or the download is to slow?
I replaced the following in def playVideo(params) after if mode == MODE_AUTO_PLAY: check:
# wait for movie to finish to delete it
print "Debug:: Checking for playback finished ..."
which handles deletion of everything ..