XBMC Community Forum
XBMC Slingbox Client - Development Status - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: XBMC Slingbox Client - Development Status (/showthread.php?tid=82597)

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


- Harry Muscle - 2011-02-12 04:32

chris0147 Wrote:harry, do you know how to code for slingsdk in vb.net??

If you'd stop spamming my PM inbox with your messages I might respond. Having said that ... no I do not know VB.NET, C++ yes, VB.NET no.

Harry


- chris0147 - 2011-02-12 05:03

Harry Muscle Wrote:If you'd stop spamming my PM inbox with your messages I might respond. Having said that ... no I do not know VB.NET, C++ yes, VB.NET no.

Harry

I am sorry about that, but I felt annoying when you ignored my post. However, could you please post the C++ coding for set up the properties of slingsdk??

Please post the code through PM.

Cheers!!!


- Harry Muscle - 2011-02-12 16:22

chris0147 Wrote:I am sorry about that, but I felt annoying when you ignored my post. However, could you please post the C++ coding for set up the properties of slingsdk??

Please post the code through PM.

Cheers!!!

I'll share a little secret with you ... don't use SlingboxSDK, try SlingboxLib instead. I can't right now but later today I'll post more details about it. Just please leave my inbox alone Smile

Harry


- chris0147 - 2011-02-12 18:23

Harry Muscle Wrote:I'll share a little secret with you ... don't use SlingboxSDK, try SlingboxLib instead. I can't right now but later today I'll post more details about it. Just please leave my inbox alone Smile

Harry


Ok, do you know where i can get slingboxLib? I don't have it on my computer?


- Harry Muscle - 2011-02-12 18:59

chris0147 Wrote:Ok, do you know where i can get slingboxLib? I don't have it on my computer?

I haven't had a chance to host it on my site yet, so I uploaded it here: http://www.megaupload.com/?d=FTUQOMWM . You should find this way easier to understand and use than SlingboxSDK ... then again of course I'd say that cause I wrote it Smile

Harry


- tolax - 2011-02-12 20:44

Harry Muscle Wrote:Got some good news for those that have been waiting to try this but didn't want to go thru the process of compiling, etc. Here: http://www.megaupload.com/?d=468BLANO you can find a compiled version of XBMC for Windows. It's based on GIT commit 4b398fe55699325a2e8ae7ef880abb167de2890f (which if from February 11, 2011 @ 6:27:20PM). Only problem is that there's currently no nightly builds (with installer and all the support files, etc.) available officially. However, I believe you can get your hands on some from about a month ago here: http://sshcs.com/xbmc/?mode=DLC&FA=XBMC&FT=PC&FB=35744&TF=rar (or just go to http://sshcs.com/xbmc/ and follow the prompts) and then just swap the exe file that I provided in the first link. I haven't actually tested that combination, but unless something major was changed on the skin or other support files it should work I presume. Maybe whoever is the first to try could just report back and let everyone else know. If I had more time I'd try it myself, but it's either that or continue working on the changes requested by the mods to get this officially into XBMC.

Thanks,
Harry

P.S. Since XBMC has moved over to GIT my latest posted patch is a pain to apply, so if there's anyone who wants to compile the latest and greatest version of XBMC from GIT with my patch, I can make a copy of it available designed for GIT. Just ask and I'll upload it.

P.P.S. For those trying this out and not wanting to read the ticket on how to add the Slingbox ... basically just add a new source in the format of:
sling://username: password@slingboxaddress: port (username has to be either administrator or viewer)

Close - downloaded rar you linked and installed replacing the xbmc.exe file.

I gt the option to watc Slingbox but then I get the spinning wheel for 20 secsonds and nothing. Log file shows a loop of:

10:36:14 T:2696 M:909447168 NOTICE: DVDPlayer: Opening: sling://administrator:********@192.168.0.254:***/
10:36:14 T:2696 M:909443072 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:36:14 T:588 M:909443072 NOTICE: Creating InputStream
10:36:18 T:588 M:909848576 NOTICE: Creating Demuxer
10:36:18 T:588 M:909828096 WARNING: Win32DllLoader::ResolveExport - Unable to resolve: avutil-50.dll av_set_string3
10:36:18 T:588 M:909828096 ERROR: Unable to resolve exports from dll special://xbmcbin/system/players/dvdplayer/avutil-50.dll
10:36:18 T:588 M:909828096 ERROR: CDVDDemuxFFmpeg::Open - failed to load ffmpeg libraries

Loops this 10 times or so and then closes out

10:36:20 T:588 M:909832192 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
10:36:20 T:588 M:909832192 NOTICE: CDVDPlayer::OnExit()
10:36:20 T:588 M:909832192 NOTICE: CDVDPlayer::OnExit() deleting input stream
10:36:20 T:588 M:909832192 ERROR: XFILE::CSlingboxFile::Close - Error disconnecting from Slingbox
10:36:20 T:2696 M:909828096 ERROR: Playlist Player: skipping unplayable item: 0, path [sling://administrator:********@192.168.0.254:***/]
10:36:20 T:2696 M:909824000 NOTICE: CDVDPlayer::CloseFile()
10:36:20 T:2696 M:909824000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:36:20 T:2696 M:909824000 NOTICE: DVDPlayer: waiting for threads to exit
10:36:20 T:2696 M:909824000 NOTICE: DVDPlayer: finished waiting

(password/port replaced with *)

I'll investigate the FFmpeg more tomorrow. Seems there are similar error messaged on the PVR development threads. Windows64 if that is relevant. Slingplayer itself runs fine.

BTW would it be possible to use the Slingbox-ID rather than the IP Address? That would make it easier to access remote Slingboxes

Tolax


- Harry Muscle - 2011-02-12 21:10

tolax Wrote:Close - downloaded rar you linked and installed replacing the xbmc.exe file.

I gt the option to watc Slingbox but then I get the spinning wheel for 20 secsonds and nothing. Log file shows a loop of:

10:36:14 T:2696 M:909447168 NOTICE: DVDPlayer: Opening: sling://administrator:********@192.168.0.254:***/
10:36:14 T:2696 M:909443072 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:36:14 T:588 M:909443072 NOTICE: Creating InputStream
10:36:18 T:588 M:909848576 NOTICE: Creating Demuxer
10:36:18 T:588 M:909828096 WARNING: Win32DllLoader::ResolveExport - Unable to resolve: avutil-50.dll av_set_string3
10:36:18 T:588 M:909828096 ERROR: Unable to resolve exports from dll special://xbmcbin/system/players/dvdplayer/avutil-50.dll
10:36:18 T:588 M:909828096 ERROR: CDVDDemuxFFmpeg::Open - failed to load ffmpeg libraries

Loops this 10 times or so and then closes out

10:36:20 T:588 M:909832192 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
10:36:20 T:588 M:909832192 NOTICE: CDVDPlayer::OnExit()
10:36:20 T:588 M:909832192 NOTICE: CDVDPlayer::OnExit() deleting input stream
10:36:20 T:588 M:909832192 ERROR: XFILE::CSlingboxFile::Close - Error disconnecting from Slingbox
10:36:20 T:2696 M:909828096 ERROR: Playlist Player: skipping unplayable item: 0, path [sling://administrator:********@192.168.0.254:***/]
10:36:20 T:2696 M:909824000 NOTICE: CDVDPlayer::CloseFile()
10:36:20 T:2696 M:909824000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
10:36:20 T:2696 M:909824000 NOTICE: DVDPlayer: waiting for threads to exit
10:36:20 T:2696 M:909824000 NOTICE: DVDPlayer: finished waiting

(password/port replaced with *)

I'll investigate the FFmpeg more tomorrow. Seems there are similar error messaged on the PVR development threads. Windows64 if that is relevant. Slingplayer itself runs fine.

BTW would it be possible to use the Slingbox-ID rather than the IP Address? That would make it easier to access remote Slingboxes

Tolax

If you can, please post the whole log to pastebin.com and post the link here. Also make sure it's the debug log (enable debug log in settings). It's hard to trouble shoot without having the whole thing.

Thanks,
Harry


- Harry Muscle - 2011-02-12 21:40

Quick little follow up ... I did some testing on my own with the configuration that I recommended but didn't have time to test and it turns out that indeed some of the support files did change enough to not allow what I've recommended. There's been a bunch of changes to the ffmpeg dll files so all you need is to update those too, which I happen to have uploaded here: http://www.megaupload.com/?d=GMPGOW5T . The contents of that file need to replace the DVDPlayer folder in the XBMC/System/Players folder.

This isn't exactly a pretty solution, but I've tested it and it will work. Once we have official nightly builds things will be much prettier and easier, but I'm hoping by then this code might actually be part of those builds.

Thanks,
Harry


- tolax - 2011-02-12 22:23

Harry,

I'll try your file but just in case you need the debug log here it is: http://pastebin.com/SfSK32q7

Tolax


- Harry Muscle - 2011-02-12 22:40

tolax Wrote:Harry,

I'll try your file but just in case you need the debug log here it is: http://pastebin.com/SfSK32q7

Tolax

Thanks for the log ... yup, the errors you are getting is cause the ffmpeg dll files have changed significantly enough to mess things up. Based on my own testing those new dll files should fix things.

Harry