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)



- Popeye - 2011-08-28

timgt Wrote:Lol. Your assumption is correct I don't code. Wish I could. I will wait to hear back if you got it to work properly. Can't wait! This is really the only 2 plugins I use.

Well, I can't see any difference but I have integrated the fix and uploaded 0.0.4. Check the first post and please report back if this does the trick or not.


- timgt - 2011-08-28

Popeye Wrote:Well, I can't see any difference but I have integrated the fix and uploaded 0.0.4. Check the first post and please report back if this does the trick or not.

I am testing your suggestion from your previous post because I am an impatient person, lol. I am streaming a 30 min episode that is close to finishing. I will let you know if the freezing still happens afterwards. If it does freeze I will try your 0.0.4 in case my code was wrong yet again. Hopefully this does the trick! stay tuned....


- timgt - 2011-08-28

crap, it still froze after the show. I am gonna install your update now and stream another show and see if it freezes again Sad


- Popeye - 2011-08-28

timgt Wrote:crap, it still froze after the show. I am gonna install your update now and stream another show and see if it freezes again Sad

I messed up the release and have now uploaded a correct version. Try that one. Check the indentation at the "return" it should be

Code:
addPosts(title, nzb, mode, plot, thumb, rating, year, genre, director, actors)
    xbmcplugin.setContent(int(sys.argv[1]), 'movies')
    return



- timgt - 2011-08-28

OMG, i just watched a show and it put me back to the menu afterwards!!!!! holy crap, i need to watch 1 more to verify this is really working!!


- timgt - 2011-08-28

One last bug though that I wonder if you can figure out. I searched for the show "always sunny" under HD shows. then i scrolled down to S05E11, it starts downloading then it gets the first rar file so it goes to the "working" in the bottom right of my TV just before it begins to play usually, then it just sits there for a while and then goes away, never plays the show and when I open up Sabnzbd, it shows the download as paused and never resumes so I have to delete the entire job.

I tried the same show another time and it did the same thing as well. I have seen this on other shows happen as well. Any insight on whats going on here?

EDIT: it just happened again on a totally different show but this time it gave me a script error when it started to do the "working" and the show still paused under sabnzbd

EDIT 2: OK, I closed and then reopened XBMC and now those programs that wouldnt stream do, so there is a problem with that new code you put in there, it works 1 time to go back to the menu but then you can't watch another show, lol. Man sooo close.


- CrashX - 2011-08-28

Popeye Wrote:I messed up the release and have now uploaded a correct version. Try that one. Check the indentation at the "return" it should be

Code:
addPosts(title, nzb, mode, plot, thumb, rating, year, genre, director, actors)
    xbmcplugin.setContent(int(sys.argv[1]), 'movies')
    return

This tell xbmc that the content of the plugin is movies so it allows other views to be enabled ( ie media info 1 and media info 2 ).. Their is also tv-show setting as well .. ie ..

xbmcplugin.setContent(int(sys.argv[1]), 'tvshows')
xbmcplugin.setContent(int(sys.argv[1]), 'episodes')

I am trying to understand the hang but based on the comments I see in this thread, this is known issue after auto play back is triggered and at the end of movie, it will hang.


- timgt - 2011-08-28

Ok, after further testing I have figured out that it does indeed work but after a show ends and I return to the menu I have to move my mouse to the left side of the screen and click on the library mode and then I can stream another show afterwards. If I don't click this, then the next show I try to stream gives me a plugin error.

Is there a way to dump back to the menu and auto check that library box? It seems that is the only issue I have now.


- CrashX - 2011-08-28

Here is log:- http://pastebin.com/E6TqLepy

Here is what I saw:

1) Plugin initialized fine and triggered Sabnzbd ( 0.64 ) to download file
2) After first rar was downloaded, it played the sample.avi located in rar file instead the movie which was also in rar file.
3) After several minutes of successful playback, the sample.avi movie ended and it stopped the download of movie in sabnzbd and it just hang their until I killed it ...

If you got some fixes that you want me to try let me know ..


- Popeye - 2011-08-29

CrashX Wrote:Here is log:- http://pastebin.com/

Here is what I saw:

1) Plugin initialized fine and triggered Sabnzbd ( 0.64 ) to download file
2) After first rar was downloaded, it played the sample.avi located in rar file instead the movie which was also in rar file.
3) After several minutes of successful playback, the sample.avi movie ended and it stopped the download of movie in sabnzbd and it just hang their until I killed it ...

If you got some fixes that you want me to try let me know ..

Well, first of all I don't have these issues with crashing so I suspect some sort of timing issues. In you case playing sample instead of the file is due to my code only allowing one file per archive set (just following the "common" rules). This is one good example of where it happens and I'll might get a fix for it...
Last but not least, thanks for the help in debugging...
The error must be in the inter communication between the plugins, I guess lifting the code into nzbs would solve the issue....


- CrashX - 2011-08-29

Popeye Wrote:Well, first of all I don't have these issues with crashing so I suspect some sort of timing issues. In you case playing sample instead of the file is due to my code only allowing one file per archive set (just following the "common" rules). This is one good example of where it happens and I'll might get a fix for it...
Last but not least, thanks for the help in debugging...
The error must be in the inter communication between the plugins, I guess lifting the code into nzbs would solve the issue....

Unfornately I can't create nzbs.org account since it is full now... Any chance you can use nzb.su since allows new users in your plugin instead of using another plugin to interact with yours ..

If you got a fix for that I can confirm that is indeed communication between plugin issue ..

Also any reason why you didn't ignore sample.avi and take the next file on the list ?


- Popeye - 2011-08-29

I plan to lift out nzbs so then the problem Will be general :-D
When the first rar is Home, I list its content and pick the first avi or mkv. I could of course present the content for the End user to pick if there are several files.


- speed32219 - 2011-08-29

I am unable to play/watch a movie or tv show. Downloading is no problem, but play/watch it just sits there forever counting seconds to launch. I can cancel and select it to continue downloading, that works fine, just no video on screen, only the nzbs wating for download to start. (currently counting to 2760 seconds while waitng for download to start, but it is actually donwloading to the incomplete folder)

I have changed allow_streaming = 1 in .sabnzbd/sabnzbd.ini file.

Do you want me to post xbmc.log, sabnzbd.log or both?

I also am running the nzb.su extended plugin also.


- timgt - 2011-08-29

speed32219 Wrote:I am unable to play/watch a movie or tv show. Downloading is no problem, but play/watch it just sits there forever counting seconds to launch. I can cancel and select it to continue downloading, that works fine, just no video on screen, only the nzbs wating for download to start. (currently counting to 2760 seconds while waitng for download to start, but it is actually donwloading to the incomplete folder)

I have changed allow_streaming = 1 in .sabnzbd/sabnzbd.ini file.

Do you want me to post xbmc.log, sabnzbd.log or both?

I also am running the nzb.su extended plugin also.

I had this problem once when my nzb.su limit ran out. Are you sure the download is actually downloading if you pull up sabnzbd? Probably not your case but worth a shot.


- speed32219 - 2011-08-29

timgt Wrote:I had this problem once when my nzb.su limit ran out. Are you sure the download is actually downloading if you pull up sabnzbd? Probably not your case but worth a shot.

Yes, it is donwloading now. I have donwloaded about 6 movies tyring the play option. It actually seems to find the movie faster than CP, and downloads just as fast. Was there anything else you might remember that you did?