• 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 28
XBMC Slingbox Client - Development Status
markus3000 Wrote:I can get this working great as far as steaming thru xbmc, but cant find alot of documentaion on how to set up the remote for channel up and down. Found some in the wiki but dont quit understand it completely. Found this post

http://forum.xbmc.org/showpost.php?p=727...tcount=101

But not sure how to designate which keys on the keyboard you can choose for channel up or down. Guess what I am saying is if i find the right code to send to my sat reciever how will i know which key on the keyboard will be my channel up or down. Does anyone with experience have a simple howto on where to start with this?

as a user who was successful at 90% of getting the app to work under XBMC I will admit it was all very frustrating. Took me a lot of time. Though technically it was worth it, to see this actually work. This is not a polished solution (exampled by the channel selection control - and how difficult that is for the variety of systems); as only one person (the developer) put his time into this.

Highly recommend that you find an alternative overall solution. You will spend a lot of time getting this working - perfected. Maybe eventually the APPLE TV will have full functionality of a browser, that can run the SLINGBOX browser app.

For myself I just attached my full WIN7 computer to my TV with a $50 HDMI card. And $50 Bluetooth mouse and keyboard.
Reply
I have recently installed a Sling adapter to my Dish 722k receiver. Through looking at different forums I have found that the username is "admin" and not administrator. As such, I'm not able to set the correct string as the source code appears to validate that the username is either "administrator" or "viewer". Anyone else have this issue or can recommend an alternative.
Reply
Rainbow 
Hey guys I took the xbmcremote code from github:
https://github.com/freezy/android-xbmcremote

Then I modified it to allow me to change channels using that app, it works pretty well and pretty easily. Basically next to the Send Text menu option there is a new option called Change Channel which brings up a text prompt, type in the channel and it changes it.

Modified XBMC Remote for changing channels
http://www.multiupload.com/ENCQA91YQ0

Basically the way it works is by using the xbmcHttp API to make three calls to change the channel.
1.opens up the prompt to change the channel
http://xbmcServerHost/xbmcCmds/xbmcHttp?...dKey(61536)
2.then i call the native sendText function that comes with the app which reads the text inputted and enters it into the prompt
3.then i commit the channel using this command
http://xbmcServerHost/xbmcCmds/xbmcHttp?...endKey(274)

Also the Skip Forward and Skip Back button (next to play, pause) in the Android app is mapped to the channelup, channeldown button.

The way it works is pretty simple, you press channel up and it sends the hex code 04 (in my case) and channelup is mapped to whatever you have in keys.h or keymap.xml or keyboard.xml I'm not sure because I didnt modify those files but there is more relevant info found here (for the atv2 people who want to change the left right keys):

http://forum.xbmc.org/showthread.php?p=735331

Also relevant for debugging in advancedsettings
http://wiki.xbmc.org/index.php?title=Use...ttings.xml
is <displayremotecode>true</displayremotecode> which will allow you to look through the debug log and see what its capturing when you try sending it commands using devices like a gamepad or a tv remote (harmony in my case) but NOT for the android xbmcremote codes.

Speaking of codes I was able to figure out which codes map to my comcast cable set top box using tried and true brute force, I pretty much went into slingbox windows app, copied down all the ir codes it gave me under settings, converted them to hex and mapped two at a time to my harmony's channelup/channeldown command allowing me to figure out what they all do, sortof. To do so I basically just edit the SlingboxSettings.xml file put in two hex codes then press the corresponding buttons on the remote, stop the video, modify the file, repeat.

Comcast Cable Box Mappings:
Quote: <slingboxsettings>
<slingbox>
<width>320</width>
<height>240</height>
<videobitrate>2000</videobitrate>
<framerate>30</framerate>
<smoothing>50</smoothing>
<audiobitrate>64</audiobitrate>
<iframeinterval>10</iframeinterval>
<buttons>
<channelup>04</channelup>
<channeldown>05</channeldown>
<one>09</one>
<two>0A</two>
<three>0B</three>
<four>0C</four>
<five>0D</five>
<six>0E</six>
<seven>0F</seven>
<eight>10</eight>
<nine>11</nine>
<zero>12</zero>
</buttons>
</slingbox>
</slingboxsettings>

not sure if its relevant but heres what i've got so far:
decimal - hex - function
09 - 09 - 1
10 - 0A - 2
11 - 0B - 3
12 - 0C - 4
13 - 0D - 5
14 - 0E - 6
15 - 0F - 7
16 - 10 - 8
17 - 11 - 9
18 - 12 - 0

1 - 01 - power toggle
4 - 04 - channel up
5 - 05 - channel down
6 - 06 - volume show?
7 - 07 - unknown
8 - 08 - mute
21 - 15 - last (prev channel)
22 - 16 - unknown?
24 - 18 - unknown?
25 - 19 - unknown?
26 - 1a - unknown?
27 - 1b - unknown?
28 - 1c - unknown?
29 - 1d - record dvr?
31 - 1f - unknown?
32 - 20 - unknown?
33 - 21 - quick menu
35 - 23 - full guide
36 - 24 - back key?
38 - 26 - up key
39 - 27 - down key
40 - 28 - left key?
41 - 29 - right key?
42 - 2a - info/menu
43 - 2b - pagedown (guide?)
44 - 2c - pageup

Finally on the topic of custom keys like Full Guide, Last, Menu I think it would be possible by writing some sort of plugin that will communicate with the existing Slingbox code's SendReceiveMessage

Source Code Here:

http://trac.xbmc.org/attachment/ticket/1...20V6.patch

And the plugin will basically be activated via the xbmcHttp API, I'm guessing with ExecBuiltIn
http://wiki.xbmc.org/index.php?title=Web...s_Commands

And at that point it would be just a simple matter of writing a programmable layout on the client side with the buttons and the hex mappings that will send the code via http to the plugin to the native slingbox code.

Stay tuned for more updates as I experiment on that Smile
Reply
I am thinking of buying slingbox and was wondering if anyone can post some pictures of how it looks in xbmc, also about these things -
1. Do we have Slingbox Pro HD working?
2. ATV2 xbmc nightly - is it working yet? - if so anyone has any pics and if ATV2 remote or any physical remote works for changing channels (if not ffwd misc features)

Happy New Year 2012 (in advance) to every one.
Reply
dasilva333 Wrote:Hey guys I took the xbmcremote code from github:
https://github.com/freezy/android-xbmcremote

Then I modified it to allow me to change channels using that app, it works pretty well and pretty easily. Basically next to the Send Text menu option there is a new option called Change Channel which brings up a text prompt, type in the channel and it changes it.

Modified XBMC Remote for changing channels
http://www.multiupload.com/ENCQA91YQ0

Basically the way it works is by using the xbmcHttp API to make three calls to change the channel.
1.opens up the prompt to change the channel
http://xbmcServerHost/xbmcCmds/xbmcHttp?...dKey(61536)
2.then i call the native sendText function that comes with the app which reads the text inputted and enters it into the prompt
3.then i commit the channel using this command
http://xbmcServerHost/xbmcCmds/xbmcHttp?...endKey(274)

Also the Skip Forward and Skip Back button (next to play, pause) in the Android app is mapped to the channelup, channeldown button.

The way it works is pretty simple, you press channel up and it sends the hex code 04 (in my case) and channelup is mapped to whatever you have in keys.h or keymap.xml or keyboard.xml I'm not sure because I didnt modify those files but there is more relevant info found here (for the atv2 people who want to change the left right keys):

http://forum.xbmc.org/showthread.php?p=735331

Also relevant for debugging in advancedsettings
http://wiki.xbmc.org/index.php?title=Use...ttings.xml
is <displayremotecode>true</displayremotecode> which will allow you to look through the debug log and see what its capturing when you try sending it commands using devices like a gamepad or a tv remote (harmony in my case) but NOT for the android xbmcremote codes.

Speaking of codes I was able to figure out which codes map to my comcast cable set top box using tried and true brute force, I pretty much went into slingbox windows app, copied down all the ir codes it gave me under settings, converted them to hex and mapped two at a time to my harmony's channelup/channeldown command allowing me to figure out what they all do, sortof. To do so I basically just edit the SlingboxSettings.xml file put in two hex codes then press the corresponding buttons on the remote, stop the video, modify the file, repeat.

Comcast Cable Box Mappings:


not sure if its relevant but heres what i've got so far:
decimal - hex - function
09 - 09 - 1
10 - 0A - 2
11 - 0B - 3
12 - 0C - 4
13 - 0D - 5
14 - 0E - 6
15 - 0F - 7
16 - 10 - 8
17 - 11 - 9
18 - 12 - 0

1 - 01 - power toggle
4 - 04 - channel up
5 - 05 - channel down
6 - 06 - volume show?
7 - 07 - unknown
8 - 08 - mute
21 - 15 - last (prev channel)
22 - 16 - unknown?
24 - 18 - unknown?
25 - 19 - unknown?
26 - 1a - unknown?
27 - 1b - unknown?
28 - 1c - unknown?
29 - 1d - record dvr?
31 - 1f - unknown?
32 - 20 - unknown?
33 - 21 - quick menu
35 - 23 - full guide
36 - 24 - back key?
38 - 26 - up key
39 - 27 - down key
40 - 28 - left key?
41 - 29 - right key?
42 - 2a - info/menu
43 - 2b - pagedown (guide?)
44 - 2c - pageup

Finally on the topic of custom keys like Full Guide, Last, Menu I think it would be possible by writing some sort of plugin that will communicate with the existing Slingbox code's SendReceiveMessage

Source Code Here:

http://trac.xbmc.org/attachment/ticket/1...20V6.patch

And the plugin will basically be activated via the xbmcHttp API, I'm guessing with ExecBuiltIn
http://wiki.xbmc.org/index.php?title=Web...s_Commands

And at that point it would be just a simple matter of writing a programmable layout on the client side with the buttons and the hex mappings that will send the code via http to the plugin to the native slingbox code.

Stay tuned for more updates as I experiment on that Smile

I'm running XBMC live installed on a USB flash drive. what exactly needs to be done to update the remote config to the comcast box's hex mappings?
Reply
rdoac Wrote:But not in Linux..

I've successfully used Recorder_linux which saves current channel into asf-file. Channel change does not work with my external stb.

Sources are @ http://sourceforge.net/projects/slingboxsdk/
Hope someone could fix the channel change Big Grin
Reply
lumberjackjohnn Wrote:I'm going crazy and don't know where I'm going wrong with this....

I input my details sling://administrator:########@87.###.##.187/197:5001

It fails to log in....I am living in the states and my slingbox is in the UK and i have no issue connecting over here using the slingplayer app so I know it works. I have pasted my log so if anyone can help that would be awesome...

19:31:51 T:105181184 NOTICE: DVDPlayer: Opening: sling://administrator:john1988@87.###.##.187:5001/
19:31:51 T:105181184 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:31:51 T:108728320 NOTICE: Creating InputStream
19:33:07 T:108728320 ERROR: Open - Error connecting to Slingbox: 87.###.##.187
19:33:07 T:108728320 ERROR: CDVDPlayer::OpenInputStream - error opening [sling://administrator:john1988@87.###.##.187:5001/]
19:33:07 T:108728320 NOTICE: CDVDPlayer::OnExit()
19:33:07 T:108728320 NOTICE: CDVDPlayer::OnExit() deleting input stream
19:33:07 T:105181184 ERROR: Playlist Player: skipping unplayable item: 0, path [sling://administrator:john1988@87.###.##.187:5001/]
19:33:07 T:105181184 NOTICE: CDVDPlayer::CloseFile()
19:33:07 T:105181184 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:33:07 T:105181184 NOTICE: DVDPlayer: waiting for threads to exit
19:33:07 T:105181184 NOTICE: DVDPlayer: finished waiting

LJJ, did you ever get this working
Reply
Only way I was able to get this functional. Was to RESET to factory settings and set up for INTERNET remote viewing. Somehow though the viewing mode never remained functional. Within a day I would loose connection. Suspect this might only be an issue for users working with far remote viewing over the Internet.

The local LAN might work correctly.
Reply
I reset my buddies to factory, did setup again, to make sure I had admin password
still no go for me . I can view it from my home pc or my android device, just not from XBMC
says working at the bottom, comes back with one or more errors
I did double check the wan IP, it was correct one, Oh Well
I will keep digging,
Reply
got it working, now to work on the channel change deal

thanks HM for a great feature (slingbox)
Reply
Waman Wrote:got it working, now to work on the channel change deal

thanks HM for a great feature (slingbox)

Same here. I have a Slingbox Pro and still can't get it to change the channel correctly. In some cases, typing in the numbers work, but it either freezes my system or exits out of the application.

Can someone please help dumb it down for me? I am actually trying to change the channel on the internal tuner, not an external receiver.

Thanks in advance. And also, thanks HM. This is one feature I have been looking for in a connected device for a while.
Reply
Waman Wrote:got it working, now to work on the channel change deal

thanks HM for a great feature (slingbox)

What were you doing wrong, and what did you do to correct it. I have tried everything.
Reply
Has anyone mapped the remote buttons for control of a TiVO via the Slingbox? I'm sure someone has done this, and I would appreciate if that someone could post their slingboxsettings.xml so I don't have to go through the headache of figuring out which code is which button.

If no one has done this, I'll post my xml file when I get it set up the way I want it, so others don't have to go through the pain.

I really wish they had just included some common mappings for the different remotes that slingbox supports natively. It's also annoying that I can't use the d-pad, OK, and media control buttons on my remote, as that would make more sense than mapping the number buttons to those functions.
Reply
wootthomas Wrote:What were you doing wrong, and what did you do to correct it. I have tried everything.

Went to my buddies House


I reset the slingbox, with reset button, I downloaded the slingbox software
from here, for windows,

(http://placeshiftingenthusiasts.com/slin...-and-more/)

for some reason, the slingmedia site
want take the changes, it didn't for me anyway.
I made a new administator password
I came home and fired up my apple tv, put in my admin, p/word. WAN Ip addy
and it popped in, working ever since.
I still have not got to work on the channel change yet, hopefully this weekend
I want to try, and use the apple tv remote, just up and down,
will be fine for me
Reply
I can get my slingbox pro to work on (my atv2) XBMC with out an issue. I use the format as posted but less the port and input as default is fine.

The issue I have is to do it remotely from another location. Instead of my internal IP of 192.168.1.xx I put in my real IP. I have tryed with adding the port and without, I have also put port forwarding for 5001 on my netgear 3700 and when this did not work, I used port triggering. I have tryed it as FTP, HTTP and custom.

Any IdeasHuh

Both my Iphone and Android apps work anywhere.
Reply
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 28

Logout Mark Read Team Forum Stats Members Help
XBMC Slingbox Client - Development Status3