Jump to content
SpesoftPinballXConvert-It

Jethros

Basic Member
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jethros

  • Rank
    Lurker

Recent Profile Visitors

279 profile views
  1. Hi SP2222, Think I found where the code was limiting the number of Slingboxes to 5 … there was a change from version 1.46 to 1.6 around that piece of code. NOTE: I think the original intent was to limit the number of slingboxes to 5, but there was a bug in the 1.46 code that I think allowed for 6 … so think you were sorta just lucky before : ) I updated the 1.6 code to change the upper limit to 6. Unfortunately I wasn't able to test the change as I only have a single Slingbox myself, but I think it should work (especially if you previously were able to have 6). Will attach the updated exe file here … SlingFront (SP2222).zip Hope it works!! j
  2. Hey there SP2222, I still have Win7 installed on our 'TV' computer down in the vacay house too … and have no plans to update it … it's only there to run SlingFront : ) But needed the fix for my laptop running Windows 10. Will take a look this weekend at the code for displaying the number of slingboxes past 4 … should be able to fix that for you … and don't worry, won't ask about why you have six : ) Stay tuned!! j
  3. Lol : ) You're very welcome. Glad I was able to help. Cheers!!
  4. Hi Humbug … sorry, I didn't create an installation package or anything for the updated exe. I just recompiled it with the modification. I zipped up the file before posting it above … I wasn't sure if the forum would allow a direct post of an exe file. I'm hoping you are able to unzip the file after downloading it from the above post … please let me know if you're running into a problem with that … I think native windows should allow you to directly extract the exe file. Assuming you can get at the exe file, I also tried downloading it from my above post and running it from my download folder … doesn't seem to run there either … not sure exactly why, would have thought it would have worked from any folder … maybe a permissions issue?. Anyway, you should have the original slingfront.exe file installed in your 'Program Files (x86)/SlingFront' folder. Rename the old exe file to slingfront.old and then copy the new exe file into that folder. That should work.
  5. Hey Humbug, Try this … SlingFront.zip I pulled the last version of code off sourceforge and updated the two spots where GetAsyncKeyState is called. Tested it quick … believe it works. I got the same 'control' problem in Windows 10 before the update. After the modification, I'm able to interact with the interface again. Hope it works for you as well. Lemme know how it goes. j
  6. No worries Humbug … I'll see if I can pull down the code for 1.6 and get it updated for you … stay tuned!!
  7. Hi Humbug : ) Sure, I can compile up a new .exe file for you. Do you happen to know the version you're currently on?? The latest version I have is 1.46. I think that's the last version that was put out. I also have code for version 1.45. Not sure what the differences are between the two? But lemme know which one you have and I'll make the change and see how I can send it out to you.
  8. Hey guys … just an update here … think I have figured out what the problem is with the Windows 10 update. Did some playing around with the SlingFront code over the past couple days. Think I've been able to trace the problem to the IsKeyDown() Function in the Keyboard.vb file. This is the function that determines when the user presses a key on the keyboard. Without getting into too much detail, the code is trying to check if both the MOST and LEAST significant bits are set in the GetAsyncKeyState() return value (which would mean the key was pressed since the last call to GetAsyncKeyState()). It's checking for a return value of binary 1000 0000 0000 0001 … where both the MSB and LSB are set to 1. I believe the problem is with the size of the integer variable. The old code was checking against a GetAsyncKeyState() return value of -32767. For a signed 16bit integer, 1000 0000 0000 0001 (or hexadecimal 8001) translates to -32767 (decimal) - as the MSB determines the sign For a signed 32bit integer however, 1000 0000 0000 0001 translates to 32769 (as the register range has increased). Changing the code to instead compare against a return value of 32769 (or just straight hexadecimal 8001) appears to fix the problem ... Public Function IsKeyDown(ByVal K As Keys) As Boolean 'If GetAsyncKeyState(K) = -32767 Then '<-- THIS IS OLD CODE (NO LONGER WORKS PROPERLY IN WINDOWS 10 UPDATE) 'If GetAsyncKeyState(K) = &H8001 Then '<-- THIS CODE ALSO WORKS PROPERLY IN WINDOWS 10 UPDATE If GetAsyncKeyState(K) = 32769 Then '<-- THIS NOW WORKS PROPERLY IN WINDOWS 10 UPDATE Return True End If Return False End Function The SlingFront code stopped working after a recent Windows 10 update. Not 100% sure WHY, but I suspect Microsoft must have done something in the last Windows 10 update that has changed something to do with the Integer size … couldn't find anything specific on the internet, but maybe the return value for GetAsyncKeyState() is now a 32bit integer?? Anyway, this change appears to have fixed the problem … I am now able to use SlingFront again as before : ) Hope this makes sense!! Hope it helps. j
  9. Hey guys … running into same problem Humbug is describing above. SlingFront is no longer controllable in Windows 10. It doesn't seem to respond to keystrokes anymore. Seems to be something to do with a recent update to Windows 10 as it was working when set up on my original Windows 10 machine back in November 2018. My machine received an automated Windows 10 update in February of this year (2019) which caused SlingFront to no longer be controllable. I wound up backing off the Windows 10 update which fixed the SlingFront problem. The Windows 10 update has since reinstalled and has handcuffed SlingFront again. I'm poking around the SlingFront code trying to debug the problem. Will continue to try and troubleshoot the problem, but wondering if anyone else has experienced this with Windows 10 (or better yet, has found a solution to it : ) Cheers!!
  10. Ah, was wondering if maybe I needed something special to grab the code : ) The 'zip file download' link is deceiving : ) Will grab a copy of Tortoise SVN and download the source. Thanks much.
  11. Hmmm, interesting ... I've got a Harmony 650. The IR sensor is the USB IR dongle that came with a Rosewill RHRC-11001 remote I picked up off of Amazon. I tried setting up an MCEKeyboard device in the Harmony software but could not get it working at all. Like I say, I could get it to work occasionally (so it would send the keystroke), but it was really hit and miss ... sometimes would have to hold the remote button for a second or two to get one keystroke sent, but then other times that length of time seemed like it would send three or four keystrokes at a time ... for example, would page the guide multiple times when you intended to only page it once ... was very frustrating ... which is why I just tossed the idea of using the MCEKeyboard device altogether ... might have to revisit that now : ) I think having the MCEKeyboard device would have made things much simpler in terms of mapping some of the SlingFront keyboard commands around. Still think I'd have to play with some of the remote buttons that don't seem to map across for me directly though (ie: the 'skipback', 'skipforward', 'exit' and 'lastchannel' ones). Has definitely been a learning experience : )
  12. Hi Kalhimeo, Sounds like you're trying to do something similar to what I'm trying to accomplish : ) I seem to be getting a lot closer these days. Just trying to get the last few remote buttons mapped and working correctly. I currently only have one slingbox to connect to, so I don't really care about cycling through slingboxes or anything like that. What I'm trying to do is set up a Harmony remote to emulate the virtual Slingbox STB remote. To do this, I've added an 'MCERemote' device in the Harmony software and mapped the various keys to the Harmony remote. NOTE: I can set up a Harmony 'MCEKeyboard' device (which allows me to send 'keystrokes' instead of the 'MCERemote' commands), but the Harmony 'MCEKeyboard' device seems very flakey ... pressing the key on the remote sometimes has no effect, while other times it sends the command multiple times. I tried adjusted the various key 'timing' settings in the Harmony software, but couldn't get it to work satisfactorily, so I'm trying to do this all with just the 'MCERemote' device. Fortunately, the Harmony 'MCERemote' device seems to work flawlessly (ie: responds to the remote keypresses exactly like I would expect the regular STB remote to work). The problem I have is that the 'MCERemote' commands do not all correspond directly to the SlingFront keyboard commands. For example, 'pause' is the keystroke 'D' in SlingFront. The Harmony 'MCERemote' sends the MCE 'pause' command (not the keystroke 'D'). To work around the problem, what I've done is remap the MCE 'pause' command in the Windows registry to pass the keystroke 'D'. I am using my HTPC exclusively for Slingbox (so I don't care if the MCE commands get remapped ... I'm not using the machine for Windows Media Center). I found a program called 'AdvancedMCERemoteMapper' that helps remap the registry settings for the commands. This seems to have done the trick. So now, instead of passing the MCE 'pause' command, the Harmony remote essentially sends the keystroke 'D' (which SlingFront interprets correctly and pauses the videostream). For the most part, I have all my virtual Slingbox remote buttons mapped over and working on the Harmony remote now. Not sure if there's a better way to have done this : ) Have not spent a lot of time looking at the SlingFront code. Maybe there's an easier way to get SlingFront to recognize the MCERemote commands instead of a specific keystroke?? Dunno?? The last few commands I have to try and figure out are: - 'skipback' - this goes backwards in the videostream 10 seconds or so (think this might also be known as 'review'??) - 'skipforward' - this goes forwards in the videostream 30 seconds or so (think this might also be known as 'skip'??) - 'exit' - exit any menu and return directly to live TV - 'lastchannel' - go back to the last channel that was being watched Like you mentioned above, I have both a 'back' and 'exit' button on my Slingbox virtual STB remote. The 'back' button will take me back one menu at a time while the 'exit' button will return me directly to live TV. The SlingFront 'ExitKey' seems to be my 'back' button. There doesn't seem to be anything for me that works for 'exit to LiveTV'. The four commands above all work correctly when entered on the Slingbox virtual remote. So there must be a way of making them work directly from SlingFront : ) Suspect it's just making SlingFront use the correct Keycodes: Last_Ch = 21 Skip+ = 30 Skip- = 31 Not sure what 'exit/liveTV' would be?? Suspect it's probably one of: Live = 32 Cancel = 36 Exit = 37 Going to try and play around with the SlingFront code over the next few days to see if I can get these last few buttons working correctly. NOTE: Agree with your comments about the custom names for the commands in SlingFront ... would be nice to have the 'SlingFront application related' keyboard commands explicitly labelled (ie: "SlingFront Main Menu" instead of just "MainMenu") ... think this would remove any ambiguity as to whether the command is 'SlingFront' or 'SlingBox' related. QUESTION FOR TOM: I know you incorporated Oviano's customizations into the 1.46 release. I downloaded your installer for that release and am currently playing with that version locally. By chance, would you happen to have posted the source code for 1.46 in SourceForge?? I was having trouble getting the SlingFront source earlier. Oviano was kind enough to place his copy of the 1.45 code (with his customizations) in a link above. I would like to see how you incorporated Oviano's changes into 1.46 though. Again, my sincere gratitude for all the great work you've put into this application ... I think this is going to work perfectly for me once I get these last buttons mapped ... as close to a 'live' TV experience as I can get : ) Cheers, j
  13. Excellent : ) Thanks so much Oliver. Very much appreciated. I've downloaded the source files and will poke around the code later tonight. Think I'll probably just start with your modified code. I think most of the changes you've made are things I was looking to try and incorporate too : ) Looking forward to getting those additional features added to the application. Will post back my results later : ) Thanks again !!
  14. Hi Oliver, No rush at all ... I haven't previously used any of the cloud storage services out there ... looks like there's a few free publicly accessible options out there but not sure if there's one that's better than any of the others : ) I'll just wait for you to figure out your solution ... if you could post the details in here when you're done, that would be great : ) ... I'll just check back here in a couple days. Again, thanks so much for your help. Much appreciated. Take care, j
  15. Thanks for confirming Oviano ... feel better that it's not something I was doing wrong : ) Any chance you might be able to forward me the copy of the code you pulled down from SourceForge earlier?? Looks like you might be able to actually attach files to posts in this form (or alternatively I could give you my email address if that's easier).
×
×
  • Create New...