Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 15 of 33

Thread: GB Quad+ Timeshift crash

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,445
    Thanks
    999
    Thanked 2,904 Times in 2,256 Posts
    Ask Birdman for comments
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  2. #2
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,829
    Thanks
    239
    Thanked 1,664 Times in 1,311 Posts
    Quote Originally Posted by twol View Post
    Ask Birdman for comments
    Well, the change you made prevents a directory pathname, rather than a file pathname, being set for the timeshift buffer.
    This situation also occurs at line 253 and 1197 in the same file.
    So it might be better to fix all of them....

    They are all associated with setting self.pts_switchtolive to True, so I reckon changing the ptsSetNextPlaybackFile() code to be:
    Code:
            def ptsSetNextPlaybackFile(self, nexttsfile):
                    # print '!!!!! ptsSetNextPlaybackFile'
                    ts = self.getTimeshift()
                    if ts is None:
                            return
    # Prepend timeshift dir, unless we are setting nothing ("")
                    if nexttsfile != "":
                            nexttsfile = "%s%s" % (config.usage.timeshift_path.value, nexttsfile)
                    # print ("!!! SET NextPlaybackFile nexttsfile)
                    ts.setNextPlaybackFile(nexttsfile)
    will be better, as this will handle all of them by not prepending the timeshift directory name when it is actually trying to not set any file. This code ends up setting m_timeshift_file_next in lib/service/service/dvb.cpp and there are various checks for this being an empty string, all associated with it switching to live TV.

    Here's a version of Timeshift.py with this fix applied.

    Timeshift.zip
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. The Following User Says Thank You to birdman For This Useful Post:

    divil_a_bit (04-01-17)

  4. #3
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,829
    Thanks
    239
    Thanked 1,664 Times in 1,311 Posts
    Quote Originally Posted by birdman View Post
    Here's a version of Timeshift.py with this fix applied.
    Note that this is different to what you did, but I suspect it fits in with what is intended elsewhere in the code.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. The Following User Says Thank You to birdman For This Useful Post:

    divil_a_bit (04-01-17)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.