Kodi Community Forum
[RELEASE] Pneumatic - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Pneumatic (/showthread.php?tid=97657)



- kricker - 2011-05-08

I used a mapped network drive successfully under win 7 x64.


- gobbledigook - 2011-05-08

hi Smile

this looks fantastic! great work,

unfortunately i'm having some trouble setting up the nzb.su version, using 0.0.3 and have tried 0.0.2... i cannot for the life of me find a numerical nzb.su id Huh in the configuration it only lets you input numbers, but my username is just that a name. i have looked at my profile and on the api section of their site and haven't seen any reference to it. i also checked the config in my sickbeard and couch potato and they both just use the API key no user id.

am i crazy not seeing this ?

thanx!


- kricker - 2011-05-09

There is an id of numbers for Nzb.su. It was explained how to find it a few posts ago. You need to click on the RSS help link. I believe it is at the bottom of the site when you login. Once at the RSS help page you'll see your id in the text explaining how the rss feed works. Look back thru this thread for the exact details. I know it's there as I just did it yesterday.


- cyberdad - 2011-05-09

kricker Wrote:I used a mapped network drive successfully under win 7 x64.

In win7 x64 it works for me too. Still can't figure out what's wrong with my win7 x86 setup.
In any case there is obviously nothing wrong with the plugin.
It actually works great. Thank you Popeye, really nice work.


- gobbledigook - 2011-05-09

kricker Wrote:It was explained how to find it a few posts ago. You need to click on the RSS help link.
thanx! found it...
Popeye Wrote:I tend to agree Wink
Seriously, you see this line "Add this string to your feed URL...." with text like "&i=12345&r=1234134176758612876123768"

also noticed it mentions the RSS feed on the first post setup instructions... obviously assuming it just wants the API put me off the trail Wink


- gobbledigook - 2011-05-10

right... i'm a retard and changed the permissions on the complete dir NOT the incomplete dir.. d'oh!

works grrreat! thanx! for the hard work Smile


- BEWBTUBE - 2011-05-11

Wonderful! Got this up and running in no time. My only issue is that I'm borrowing someone elses nzb.su account. Is there any way you could also create an extend/plugin for NZBMatrix? Again, great work!


- Popeye - 2011-05-11

BEWBTUBE Wrote:Wonderful! Got this up and running in no time. My only issue is that I'm borrowing someone elses nzb.su account. Is there any way you could also create an extend/plugin for NZBMatrix? Again, great work!

Thanks! Support for NZBMatrix? no, I'll leave that as an exercise for some one else and it should be fairly simple Big Grin . I'm not trying to be cocky I'll just have a hard time motivating to spend time on something I don't use instead of fixing bugs or extending the core app. If you really want it I bet you can learn how to code it, thats how I started Big Grin


- iDude - 2011-05-11

Thank you Popeye for this amazing addon. I've been using it for the last couple of days and everything works great but I have a couple of minor issues:
Sometimes the video won't start after downloading the first rar and just shows me an empty folder. But when I go into the incomplete folder via the addon and open movie manually, it loads without any problems. Here's the log:
Code:
21:23:48 T:1564 M:252063744  NOTICE: -->Python Interpreter Initialized<--
21:25:34 T:4804 M:213700608  NOTICE: DVDPlayer: Opening: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cLunch Hour 1961 1080p Bluray X264 7SinS%5c7sins%2dlunch%2dhr%2d1961%2d1080p%2erar/7sins-lunch-hr-1961-1080p.mkv
21:25:34 T:4804 M:213696512 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:25:34 T:1304 M:213680128  NOTICE: Creating InputStream
21:25:34 T:1304 M:213024768  NOTICE: Creating Demuxer
21:25:35 T:1304 M:208076800 WARNING: could not find codec parameters for rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cLunch Hour 1961 1080p Bluray X264 7SinS%5c7sins%2dlunch%2dhr%2d1961%2d1080p%2erar/7sins-lunch-hr-1961-1080p.mkv
21:25:35 T:1304 M:208343040   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
21:25:35 T:1304 M:208162816  NOTICE: CDVDPlayer::OnExit()
21:25:35 T:1304 M:208162816  NOTICE: CDVDPlayer::OnExit() deleting input stream
21:25:35 T:4804 M:209276928   ERROR: XBMC.PlayMedia could not play media: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cLunch Hour 1961 1080p Bluray X264 7SinS%5c7sins%2dlunch%2dhr%2d1961%2d1080p%2erar/7sins-lunch-hr-1961-1080p.mkv
21:25:35 T:4804 M:209195008  NOTICE: CDVDPlayer::CloseFile()
21:25:35 T:4804 M:209195008 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:25:35 T:4804 M:209195008  NOTICE: DVDPlayer: waiting for threads to exit
21:25:35 T:4804 M:209195008  NOTICE: DVDPlayer: finished waiting
21:25:35 T:4804 M:210096128 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6

Also XBMC freezes a lot when i stop a movie (about every 2nd time). The log isn't really informative:
Code:
21:42:08 T:2820 M:526262272  NOTICE: CDVDPlayer::CloseFile()
21:42:08 T:2820 M:526262272  NOTICE: DVDPlayer: waiting for threads to exit
21:42:08 T:3008 M:526262272  NOTICE: CDVDPlayer::OnExit()
21:42:08 T:3008 M:526262272  NOTICE: DVDPlayer: closing audio stream
21:42:08 T:3008 M:526262272  NOTICE: Closing audio stream
21:42:08 T:3008 M:526262272  NOTICE: Waiting for audio thread to exit
21:42:08 T:4900 M:526262272   ERROR: CDVDAudio::AddPackets - failed to add leftover bytes to render
21:42:08 T:4900 M:526262272  NOTICE: thread end: CDVDPlayerAudio::OnExit()
21:42:08 T:3008 M:526278656  NOTICE: Closing audio device
21:42:08 T:3008 M:526278656  NOTICE: Deleting audio codec
21:42:08 T:3008 M:526278656  NOTICE: DVDPlayer: closing video stream
21:42:08 T:3008 M:526278656  NOTICE: Closing video stream
21:42:08 T:3008 M:526278656  NOTICE: waiting for video thread to exit
21:42:08 T:3440 M:526299136  NOTICE: thread end: video_thread
21:42:08 T:3008 M:529076224  NOTICE: deleting video codec
21:42:08 T:3008 M:534933504  NOTICE: DVDPlayer: closing subtitle stream
21:42:08 T:3008 M:534933504  NOTICE: Closing subtitle stream
21:42:08 T:3008 M:534933504  NOTICE: CDVDPlayer::OnExit() deleting demuxer
21:42:08 T:3008 M:535154688  NOTICE: CDVDPlayer::OnExit() deleting input stream
21:42:08 T:2820 M:546181120  NOTICE: DVDPlayer: finished waiting
21:42:09 T:5436 M:556556288  NOTICE: -->Python Interpreter Initialized<--

It just immediately hangs when trying to re-enter the addon (although it manages to pause the download)

I'm using Sabnzbd 0.6.0RC2 and XBMC 10.1 Dharma


- Popeye - 2011-05-11

@iDude, could it be the spaces in the folder name? Dont think I have tried it. Got SAB to remove them.
Regarding crash do you run 64bit version of the os? This could be a reason..


- iDude - 2011-05-11

nope i have win7 32bit

I don't think it has anything to do with the spaces in the folder name. I just tested it with the same movie and then it worked. It just happens randomly


- Popeye - 2011-05-11

@iDude, hmm could be some timing issues but Im not sure... Cold there be a case where xbmc needs more than the first rar?


- kricker - 2011-05-11

I've run into the following situation. Try to fast forward during playback. Fast forward exceeds downloaded content and playback stops (I expect this). I then go to the incomplete list and choose the item to resume the playback. The item ends up getting paused in the SABnzbbd queue and the script throws an error. If I manually resume playback in SABnzbd before attempting to play back from the incomplete list, then it works perfectly fine.


- iDude - 2011-05-11

Popeye Wrote:@iDude, hmm could be some timing issues but Im not sure... Cold there be a case where xbmc needs more than the first rar?

I don't know. Seems unlikely since this is also happening with dvdrips and my connection is fast enough. By the time xbmc unpacks the first part the 2nd is already downloaded.
Just tried it again and this is what happens:
Code:
23:03:04 T:4308 M:350232576  NOTICE: -->Python Interpreter Initialized<--
23:03:48 T:4500 M:306929664  NOTICE: DVDPlayer: Opening: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cThank You 2011 DVDRiP XviD D3Si%5cd3si%2dty%2dsubs%2erar/d3si-ty-xa.idx
23:03:48 T:4500 M:306929664 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:03:48 T:120 M:306929664  NOTICE: Creating InputStream
23:03:48 T:120 M:306913280  NOTICE: Creating Demuxer
23:03:48 T:120 M:304144384   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cThank You 2011 DVDRiP XviD D3Si%5cd3si%2dty%2dsubs%2erar/d3si-ty-xa.idx
23:03:48 T:120 M:304144384   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
23:03:48 T:120 M:304144384  NOTICE: CDVDPlayer::OnExit()
23:03:48 T:120 M:304144384  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:03:48 T:4500 M:304144384   ERROR: XBMC.PlayMedia could not play media: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cThank You 2011 DVDRiP XviD D3Si%5cd3si%2dty%2dsubs%2erar/d3si-ty-xa.idx
23:03:48 T:4500 M:304144384  NOTICE: CDVDPlayer::CloseFile()
23:03:48 T:4500 M:304144384 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:03:48 T:4500 M:304144384  NOTICE: DVDPlayer: waiting for threads to exit
23:03:48 T:4500 M:304144384  NOTICE: DVDPlayer: finished waiting
23:03:53 T:4500 M:318685184 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
23:04:56 T:4632 M:319873024  NOTICE: -->Python Interpreter Initialized<--
23:04:57 T:4500 M:314122240 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
23:05:35 T:4748 M:332767232  NOTICE: -->Python Interpreter Initialized<--
23:06:02 T:4500 M:318136320  NOTICE: DVDPlayer: Opening: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cHanna 2011 TS XviD SCRN%5cHanna 2011 TS XviD%2dSCRN%2dnzb%2dforum%2epart01%2erar/Hanna+2011+TS+XviD-SCRN-nzb-forum.txt
23:06:02 T:4500 M:318136320 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:06:02 T:3320 M:318103552  NOTICE: Creating InputStream
23:06:02 T:3320 M:317845504   ERROR: CDVDPlayer::OpenInputStream - error opening [rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cHanna 2011 TS XviD SCRN%5cHanna 2011 TS XviD%2dSCRN%2dnzb%2dforum%2epart01%2erar/Hanna+2011+TS+XviD-SCRN-nzb-forum.txt]
23:06:02 T:3320 M:317845504  NOTICE: CDVDPlayer::OnExit()
23:06:02 T:3320 M:317845504  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:06:02 T:4500 M:317845504   ERROR: XBMC.PlayMedia could not play media: rar://C%3a%5cUsers%5cpzydog%5cDocuments%5cDownloads%5cincomplete%5cHanna 2011 TS XviD SCRN%5cHanna 2011 TS XviD%2dSCRN%2dnzb%2dforum%2epart01%2erar/Hanna+2011+TS+XviD-SCRN-nzb-forum.txt
23:06:02 T:4500 M:317902848  NOTICE: CDVDPlayer::CloseFile()
23:06:02 T:4500 M:317902848 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:06:02 T:4500 M:317902848  NOTICE: DVDPlayer: waiting for threads to exit
23:06:02 T:4500 M:317902848  NOTICE: DVDPlayer: finished waiting
23:06:08 T:4500 M:329191424 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6

It looks like it's trying to play the subtitles

kricker Wrote:The item ends up getting paused in the SABnzbbd queue and the script throws an error. If I manually resume playback in SABnzbd before attempting to play back from the incomplete list, then it works perfectly fine.
This should really be a setting. I don't think it's necessary to pause the download when the movie stops. Or at least resuming the download when playback is started again.


- Popeye - 2011-05-11

Well, there could be something xmbc is locking for in the second rar. Btw xbmc doesnt unpack anything, I look into and tells xbmc to play straight through the rar.

Regarding pausing Sab when starting a movie. This is done just to avoid clashing with sabs file writing...