(2013-01-20, 11:57)Popeye Wrote: (2013-01-20, 11:04)Newsleecher Wrote: (2013-01-20, 10:51)Popeye Wrote: Impossible . The information in the strm url is parsed by pneumatic and then sent to SAB using their API. SAB then fetches whatever data in the url.
Ok seems the sab api documentaion rules that out. But what if the URL does not contain ".nzb" file extension part. Will sab then give concerns? The sites I use do not return file extension.
The extension or not shouldn't matter. Sometimes the site api specifies "&dl=1" (for newznab) if the response should be a file or just a page...
Ok I think I find the issue. First, I do know how the newsnab and pneumatic plugins is supposed to behave when everything is in good working order. I can browse and play from several sites. I can also save to library and stream from there too.
But for certain sites (2 of them) save to xmbc library ends up with error when trying to stream from there. I check the logs and there is no issues for the plugins. The issue comes into play with the nzb file itself. When they are moved into appropriate folder a control character (a box) is being appended at the end for some reason. The control character doesn't exist when download the nzb manually from the site.
Sab itself will then get this error causing plugin and xmbc issues:
WARNING: Invalid NZB file Name.Of.My.Movie.nzb, skipping (reason=not well-formed (invalid token), line=7851)
If I remove the control character from the end of nzb file manually then it works and sab is happy to download.
So I think there is at least 2 solutions:
Modify Sab to ignore the control characters in the nzb files. Or modify your plugins to strip out the control character before saving the nzb file. I think the second option is realistic. Can you please see what can be done?