iPad Slingplayer iPad App Tweak.

Discussion in 'Jailbreaks and iOS Hacks' started by rawmx, Aug 8, 2011.

  1. rawmx macrumors newbie

    Joined:
    Aug 8, 2011
    #1
    Afternoon everyone,

    So I bought the Slingplayer iPad app without knowing it didn't work with my slingbox av (yes i know i should of read, don't badger me haha). However since my iPad 2 was Jailbroken i decided to buy iFile and possibly try and edit one of the .dat files in the Slingplayer app and it worked i got it working with my old Slingbox AV. The problem was solved however i have to re-edit that same file everytime i close the app im wondering if anyone is familiar enough to create a tweak to have this file either get edited on its own everytime the app starts up or maybe a different type of tweak to make it work. I'm not able to create this becuase i don't know where to start if i can be pointed in the right direction i'd be more than happy to learn, plus i know that there are many people out there that would love this! Thanks for taking the time to read this. any help is appreciated.
     
  2. JayHD macrumors member

    Joined:
    Mar 23, 2011
    #2
    I'm pretty sure someone could write a script that would run on each boot. It would probably only be a couple lines of code in a text file that you could ssh into the correct folder. Sorry I'm not educated enough to do this for you.
     
  3. sbddude macrumors 6502a

    Joined:
    Sep 27, 2010
    Location:
    Nor Cal, USA
  4. rawmx thread starter macrumors newbie

    Joined:
    Aug 8, 2011
    #4
    i should be home in a few hours i forgot to check this post again yesterday but i will post both files unedited and edited so you know what's changed. i don't remember the exact file name but its a file that starts with { and if you scroll to the bottom of the file you will see ;firmware 1-5;0 something like that i changed the ones that said 0 to a 1 and it worked.
     
  5. sbddude macrumors 6502a

    Joined:
    Sep 27, 2010
    Location:
    Nor Cal, USA
    #5
    Wow it works!

    I can stream from a Classic using the iPad app!
     
  6. rawmx thread starter macrumors newbie

    Joined:
    Aug 8, 2011
    #6
    pretty neat right.. i mean i would like to create the script i just don't even know wheret to begin we have to get this to the right people so someone can make a tweak. it just bugged me that i paid 30 for the app and can't use it so i decided to do some digging.
     
  7. str8spd2001 macrumors regular

    str8spd2001

    Joined:
    May 12, 2009
    Location:
    Los Angeles
    #7
    Wow that's a really cool tweak. Man I hope someone does come up with a permanent tweak for this.
     
  8. ericlin0122 macrumors member

    Joined:
    Sep 10, 2010
    #8
    Under document folder of slingplayer. There are couple .dat files. Find the one with largest size. In my case, it's {19CDAA26-2CA8-4b77-AEA2-029AC94D0E88}.dat
    Assuming you are in the slingplayer folder.

    Run the command:
    cp ./Documents/\{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88\}.dat ./Documents/backup.dat; sed "s/\"streaming-allowed\":0/\"streaming-allowed\":1/g" ./Documents/\{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88\}.dat > ./Documents/tmp.dat ; mv ./Documents/tmp.dat ./Documents/\{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88\}.dat

    I will update when I find a way to add this into an auto script.
     
  9. citivolus macrumors 6502a

    Joined:
    Sep 19, 2008
    #9
    this really is an awesome hack! Here's what I did to make it permanent:

    0) find the path to your SlingPlayer app. Mine is "/var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/", replace yours below accordingly.

    1) edit the file /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/Documents/{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88}.dat and change the 0 to a 1 in the line referring to the "classic" Slingbox

    2) save a copy of this file to /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/Documents/{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88}.dat.classic

    3) create a shell script called /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/SlingPlayer.app/SlingPlayer.sh containing the following three lines:

    #!/bin/sh
    cp /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/Documents/{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88}.dat.classic /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/Documents/{19CDAA26-2CA8-4b77-AEA2-029AC94D0E88}.dat
    exec "/var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/SlingPlayer.app/SlingPlayer"

    4) change the value of the key CFBundleExecutable to SlingPlayer.sh in the file /var/mobile/Applications/BB267966-57B8-4A60-A329-8CDD263EE54E/SlingPlayer.app/Info.plist

    works great!
     
  10. str8spd2001 macrumors regular

    str8spd2001

    Joined:
    May 12, 2009
    Location:
    Los Angeles
    #10
    Not to sound foreign but how would one go about creating a shell script?
     
  11. citivolus macrumors 6502a

    Joined:
    Sep 19, 2008
    #11
    A unix script is nothing more than a text file that has special commands and is set with proper permissions.

    Sounds like you might be better off waiting for a more foolproof solution as you could easily mess up your iPad if you don't know what you are doing.
     
  12. vitog123 macrumors 6502

    Joined:
    Aug 30, 2009
    #12
    hopefully this is made into an official tweak!
     
  13. alvzilla macrumors newbie

    Joined:
    Apr 6, 2011
    #13
    thanks for the walkthrough! remember to make the shell script an executable.

     
  14. wratran macrumors regular

    Joined:
    Nov 22, 2010
    #14
    Please make it an official tweak.
    I done know how to write script
     
  15. Kev21w macrumors newbie

    Joined:
    Aug 13, 2011
    #15
    Jailbreak?

    Do you have to have a jail broken iPad to do this or is there another way around that?
     
  16. str8spd2001 macrumors regular

    str8spd2001

    Joined:
    May 12, 2009
    Location:
    Los Angeles
    #16
    Yeah I'm not how to do a shell script so in the meantime I just modify the file and save it somewhere in iFile. When I need to use the app I just go over copy and replace. Doesn't take too long but an official tweak would save me that extra 10 sec:p.
     
  17. citivolus macrumors 6502a

    Joined:
    Sep 19, 2008
    #17
    Yes you need to be JB so you can edit files on the filesystem.
     
  18. S10XtremeNLow, Aug 14, 2011
    Last edited: Aug 14, 2011

    S10XtremeNLow macrumors newbie

    Joined:
    Aug 14, 2011
    #18
    What version of SlingPlayer is everyone using? I've followed the walk through to a T but doesn't seem to be working, still says i'm using an incompatible sling box version.

    I've even tried editing the file directly and putting in the "1" but still doesn't work.

    Edit: Disregard, got it to work. I went through the .dat file and changed the one for "av". The first time I only changed the one for classic, which I don't have.

    Thanks to everyone for this awesome tweak!!!!
     
  19. jweaver macrumors member

    Joined:
    Apr 15, 2011
    #19
    Why would "Sling" impose this limit? They charge £20 for the app yet are preventing a substantial number of Slingbox owners using their software. Surely this is lost revenue for them?

    I guess they are trying to use this as leverage to force people to upgrade their Slingbox, but has it worked? I certainly have no plans to upgrade from my "Classic" and I am sure there are others.

    It just seems odd for a company to do this, especially when its clear the software DOES work with the old boxes.

    If its all about support, they could just write a line into their agreement saying something like "we do not support Slingplayer running on older boxes.. It may work, but we are not going to provide any support".

    It just seems odd, that someone like me, who has a Slingbox and an iPad (un-Jailbroken) but can't use their software, which clearly works, but has been intentionally disabled to work with my hardware!
     
  20. sbddude macrumors 6502a

    Joined:
    Sep 27, 2010
    Location:
    Nor Cal, USA
    #20

    This is exactly what they say on the iPhone/Android versions when you connect to a classic.
     
  21. jweaver macrumors member

    Joined:
    Apr 15, 2011
    #21
    Exactly.. I have the iPhone version on my touch and whilst they say its "unsupported" it works..

    This situation is bizarre.. I wonder if it has something to do with licensing? Perhaps the old boxes use some from of compression which they don't own the rights too?

    Jon
     
  22. wratran macrumors regular

    Joined:
    Nov 22, 2010
    #22
    Can you give us a quick tutorial to do the ifile method?

    I have ifle installed but don't how to navigate quickly to cut and paste
     
  23. Cgc67 macrumors newbie

    Joined:
    Aug 29, 2011
    #23
    "for dummies"



    I would like to second this... someone? please.

    I am SSH handi-capable. I can manage with detailed, very easy, "for dummies" instruction.

    I can understand until step 3: "create a shell script"
    not sure what that is or how to do it.

    I also have iFile.

    I would be eternally grateful. Spend $30 on the stupid app before jailbreaking. Now I see light at the end of tunnel.
     
  24. ericlin0122, Aug 29, 2011
    Last edited: Dec 17, 2011

    ericlin0122 macrumors member

    Joined:
    Sep 10, 2010
    #24
    Here. Guide for dummy (hope it's simple enough...)
    Warning! You have to have grep installed...
    Cydia > search "grep"
    1) Unzip the zip file: Auto.sh

    2) SSH into your iphone, use SSH clients with graphic user interface. Put that Auto.sh into any folder, i.e. /var

    3)
    Use command line:
    cd /var
    sh Auto.sh

    4) Use iFile from cydia. Change the value of the key CFBundleExecutable to SlingPlayer.sh in the file /var/mobile/Applications/3CDD5256-BA60-4265-95B2-F07BA75C9224/SlingPlayer.app/Info.plist

    p.s. you have to replace 3CDD5256-BA60-4265-95B2-F07BA75C9224 with correct folder name on your device...
     
  25. str8spd2001 macrumors regular

    str8spd2001

    Joined:
    May 12, 2009
    Location:
    Los Angeles
    #25
    I've searched for Grep and nothing shows up. Is the spelling wrong or is there a source I'm suppose to add?
     

Share This Page