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 guess you could do a torrent or rapidshare player using my method of playing incomplete rar without copying the code and just use a simple api call (as I do with youtube and Vimeo in my radbox plugin).
I created and lifted out nzb.su as a example for others to develop their own site support and to separate the site development from the core functions. I also don't want to spend time on things that don't interest me...
I understand your point of view and will look into if there is some way of creating a "service" plugin so we could get rid of the unnecessary plugins in the UI...
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
Movies:- <SITEURL>?dl=1&i=<SITEID>&r=$KEY&num=$NUMRESULTS&
Tv Shows:- <SITEURL>?dl=1&i=<SITEID>&r=$KEY&num=$NUMRESULTS&
We can also use this information to set the content.