1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

US iPad app

Discussion in 'VirginMedia TV with TiVo - UK' started by Pine Cladding, Nov 22, 2011.

  1. Nov 30, 2011 #21 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    Could you possibly PM me the instructions he gave you?, I wouldn't mind trying it out.
     
  2. Nov 30, 2011 #22 of 141
    Pine Cladding

    Pine Cladding Large member (Ooer!)

    186
    0
    Aug 4, 2001
    Fareham, UK
    +1

    Sent from my iPad 2 using Forum Runner
     
  3. Nov 30, 2011 #23 of 141
    beeswax

    beeswax New Member

    24
    0
    Jun 2, 2011
    I'd love the instructions for this - pretty pretty please!
     
  4. Nov 30, 2011 #24 of 141
    Moe UK

    Moe UK New Member

    29
    0
    Nov 26, 2009
    West London
    have a look at the thread http://www.cableforum.co.uk/board/11/33674543-virgin-media-tivo-ipad-app-page-11.html

    There is instructions in there but I have not got it working you need to know what you are doing with python.

    Once you have downloaded the file you need to edit it:


    The file is below. 192.168.1.XXX is the tivo's IP address, 192.168.1.YYY is my laptop's address (although you may not need to set this).

    #!/usr/bin/env python

    """An mDNS daemon designed to appear, to the iPad app, to be a TiVo Premiere."""

    import Zeroconf
    import socket

    local_ip = socket.inet_aton("192.168.1.XXX")

    # You need the right value here. Either use tcpdump to find the value that
    # your TiVo device advertises, or navigate to:
    # Account & System Info
    # System Information
    # TiVo Service Number
    # It should be 15 hex digits (0-9 and a-f) with no dashes. All in uppercase
    # to be safe.
    TSN = 'ZZZZZZZZZZZZZZ'

    server = Zeroconf.Zeroconf(bindaddress="192.168.1.YYY")

    server.registerService(
    Zeroconf.ServiceInfo(
    '_tivo-remote._tcp.local.',
    'Proxy._tivo-remote._tcp.local.',
    address = local_ip,
    port = 1393,
    weight = 0, priority=0,
    properties = {
    'platformname': 'TiVo Premiere',
    'swversion': '14.8.U2-01-3.746',
    'platform': 'tcd/Series4',
    'TSN': TSN,
    }
    )
    )

    server.registerService(
    Zeroconf.ServiceInfo(
    '_tivo-device._tcp.local.',
    'Proxy._tivo-device._tcp.local.',
    address = local_ip,
    port = 80,
    weight = 0, priority=0,
    properties = {
    'path': '/',
    'services': '_tivo-mindrpc._tcp,_tivo-remote._tcp',
    'platformname': 'TiVo Premiere',
    'swversion': '14.8.U2-01-3.746',
    'platform': 'tcd/Series4',
    'TSN': TSN,
    }
    )
    )

    server.registerService(
    Zeroconf.ServiceInfo(
    '_http._tcp.local.',
    'Proxy._http._tcp.local.',
    address = local_ip,
    port = 80,
    weight = 0, priority=0,
    properties = {
    'path': '/index.html',
    'swversion': '14.8.U2-01-3.746',
    'platform': 'tcd/Series4',
    'TSN': TSN,
    }
    )
    )

    server.registerService(
    Zeroconf.ServiceInfo(
    '_tivo-mindrpc._tcp.local.',
    'Proxy._tivo-mindrpc._tcp.local.',
    address = local_ip,
    port = 1413,
    weight = 0, priority=0,
    properties = {
    'protocol': 'tivo-mindrpc',
    'path': '/',
    'swversion': '14.8.U2-01-3.746',
    'platform': 'tcd/Series4',
    'TSN': TSN,
    }
    )
    )

    server.registerService(
    Zeroconf.ServiceInfo(
    '_tivo-videos._tcp.local.',
    'Proxy._tivo-videos._tcp.local.',
    address = local_ip,
    port = 443,
    weight = 0, priority=0,
    properties = {
    'protocol': 'https',
    'path': '/TiVoConnect?Command=QueryContainer&Container=%2FNo wPlaying',
    'swversion': '14.8.U2-01-3.746',
    'platform': 'tcd/Series4',
    'TSN': TSN,
    }
    )
    )

    print 'Running mDNS daemon ...'

    You also need to download this and unpack in the same directory http://sourceforge.net/projects/pyzeroconf/

    You need to set the binding to your IP address for your computer. Good luck
     
  5. Nov 30, 2011 #25 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    I'm nearly there.

    The iPad finds the Tivo named as proxy. It asked me for the MAK which I gave it, the list now says READY under setup, but when I click on it it tries to connect but says the DVR is not responding.
     
  6. Nov 30, 2011 #26 of 141
    Moe UK

    Moe UK New Member

    29
    0
    Nov 26, 2009
    West London
    There is a additional service that you need to register _tivo-remote but again not sure what you do with that as I still cant get the scrip to run.

    Out of interest are you doing this on a windows machine or Mac?
     
  7. Nov 30, 2011 #27 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    I'm running it on windows.
     
  8. Nov 30, 2011 #28 of 141
    beeswax

    beeswax New Member

    24
    0
    Jun 2, 2011
    I'm running Windows as well (Win7 x64) but once I got as far as the MAK prompt, it was fine, maybe reboot the TiVo box?
     
  9. Nov 30, 2011 #29 of 141
    Moe UK

    Moe UK New Member

    29
    0
    Nov 26, 2009
    West London
    Good work guys so any chance of a step by step guide as I am sure I am missing something very simple.
     
  10. Nov 30, 2011 #30 of 141
    beeswax

    beeswax New Member

    24
    0
    Jun 2, 2011
    Sure, this is what worked for me:

    Install Python 2.7.2 from here. This installed to C:\Python27

    I then had to fanny about with the .py scripts because it seems python changes it's syntax rules on a regular basis and most of the scripts wouldn't run without removing print statements and getting rid of some commenting. Here are the already-edited versions, just extract to C:\Python27: linky

    Use Notepad++ or similar to add your TiVo and PC IP addresses into mdns-tivo-forgery.py, I've labelled where you need to put them. Also add the TSN. Save the changes.

    Not sure if this step is needed, probably not - edit remote1.py and remote2.py substituting the TiVo IP with your own and entering your MAK.

    Now just double click mdns-tivo-forgery.py in your C:\Python27 directory, if you see "Running mDNS daemon" you're probably good to go.

    All creds to arantius for the script and foddy for realising it could be used for something cool.
     
  11. Dec 1, 2011 #31 of 141
    Tavis75

    Tavis75 New Member

    60
    0
    Jan 27, 2011
    Is there any chance of stuffing the TiVo up using the Python scripts? And by doing this now, could it cause problems once the official UK app is released? Don't want to make the changes to get the US app running then find I can't get the TiVo switched back to work correctly with the UK app in the future!
     
  12. Dec 1, 2011 #32 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    I give in, I get as far as the tivo actually appearing, but then it crashes the app. I'll just wait until the official app finally arrives.


    It is a bit annoying waiting for the app, I know someone from another forum is on the beta and has been using the app for quite a while. He says everything seems to work perfectly and it could certainly be released.

    Virgin are probably having to gear up all their staff on how it works as they'll be inundated by the people from the offical virgin forum complaining that you can't set reminders from the app. :rolleyes:
     
  13. Dec 1, 2011 #33 of 141
    beeswax

    beeswax New Member

    24
    0
    Jun 2, 2011
    I'm not going to sign anything to this effect but no, all the script does is set up a responder on your PC which intercepts the inital negotiation between the TiVo and the app. The app asks for a list of TiVo's on the network and what model/OS they are. The script fakes the responses from your TiVo box just to satisfy the app that your box is compatible.

    After that, the app just reads guide data, series links, recordings etc from the box and uses APIs to change channels, create series links and send remote control commands. I've tested all the features I can find and apart from the channel logos never loading, everything works fine. I've set up recordings, created new series links and even re-prioritised my series links from the app.

    As soon as you close the Python script on your PC, the app goes back to refusing to connect to the VM box. Nothing is actually changed on the TiVo itself by doing any of this.
     
  14. Dec 2, 2011 #34 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    Tried it again this morning. Worked fine, straight into the app without crashing.

    It is pretty good, apart from the images not loading. Hopefully the official app won't be long.
     
  15. Dec 8, 2011 #35 of 141
    Major dude

    Major dude Member

    403
    0
    Oct 28, 2002
    Just run the script for a mac published on cableforum and set up my US TiVo IPad App and it works brilliantly. Thanks guys for the heads up on this.
     
  16. Dec 11, 2011 #36 of 141
    tdenson

    tdenson New Member

    296
    0
    Oct 3, 2002
    Leeds
    Me too, it is absolutely brilliant. I just can't believe VM are taking so long to release it, this is a game changer.
     
  17. Dec 12, 2011 #37 of 141
    Major dude

    Major dude Member

    403
    0
    Oct 28, 2002

    I agree. I used it for the first time to set up my planned recordings for the week.

    The day and date selector on the guide works really well to find programmes to record in the week ahead.

    Also reordering priorities is much easier with the click and drag option up and down the list, just make sure you do all you want to do with the list first before you finalise it as it takes a while to effect the changes.

    Hope the VM version will not be slowed done by the extra graphic downloads.
     
  18. Dec 16, 2011 #38 of 141
    Pine Cladding

    Pine Cladding Large member (Ooer!)

    186
    0
    Aug 4, 2001
    Fareham, UK
  19. Dec 17, 2011 #39 of 141
    TIVO_YORK99

    TIVO_YORK99 New Member

    316
    0
    Feb 14, 2001
    York
    Thank for posting this. I hadn't noticed it on the Cableforum thread.

    Far far easier to setup and works fine - I have duely uninstalled python.
     
  20. Dec 17, 2011 #40 of 141
    Pine Cladding

    Pine Cladding Large member (Ooer!)

    186
    0
    Aug 4, 2001
    Fareham, UK
    To stop the TiVo app from forgetting the Bonjour address I keep the .exe running on my home server.

    Sent from my iPad 2 using Forum Runner
     

Share This Page