[TV] Switch timeshift from one client to another (1 Viewer)

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    @gibman has been internally working pretty much on this placeshift feature for TVE3.5. The internat team discussion about this feature was/is pretty much going into depth, so no easy way for me to tell you what have been discussed in details there.

    Maybe @gibman can give a hand and a short summary of how the approach looks like for TVE3.5?
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Denmark Denmark
    Country flag
    hi ..

    long time since I've worked on that feature.
    I don't think a wiki was ever written.
    many hours went into this feature.

    as a user u park a channel on the tvclient.
    essentially, when u in fullscreen hit stop on your remote you will be presented with 3 options:
    park, stop, continue.

    parking a channel will park the channel for x number of minutes, defined in setupTV config section.
    which means, if I dont release the parking, then its released sooner or later. atleast when it times out.
    Once a channel is parked you can turn off your MP client htpc, especially if the tvservice is multiseat :)

    So how do I unpark ?
    turn on the bedroom htpc.
    You have several choices on how to do this.

    starting channel from the streams menu, it will give u a list of what channels are active, and if the status is PARKED.
    also if you click on a channel from tvguide og mini EPG you will be prompted to

    In the meantime if a second user is trying to tune some other channel but is unable to do so because of the parked timeshift session keeping a solid lock on the card as a resource. then the user will be prompted witch a kick options.
    see attachment.

    This prevents parked timeshifting from being released without the user having the choice.
    although user priorities are take into account before presenting the kicking screen.
    The parkeduser inherits the user prio of the user that initiated the parked channel.

    so if user1 with prio=10 parks channel1 and user2 with prio=1 tries to view channel2 on the same mux as channel1, then the dialogue is not presented, as the parked channel user has a higher prio.
    only if the prio are equal or higher, then the choice will be given.

    also any user can unpark a channel regardsless of prio.
    if user1 parks channel1, then turns of htpc in livingroom.
    user is able to resume parked channel1 somewhere else.

    currently we dont have a fully fledged user management system
    a user in tve3-5 as in tve3 is just the network name of the box.
    although if we once decide to to this, then it can be reworked accordingly.

    also setupTV has been reworked, meaning you are able to start/stop parked channels from there.
    it was done in order to be able to efficiently be able to implement the feature.
    it also makes testing card alloc. logic easier etc etc.

    /gibman
     

    Attachments

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Can the client countinue watching TV from same point where was stopped on another client even if the original client was back in the buffer?
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,601
    5,224
    France - IDF
    France France
    Country flag
    i have one question !
    the feature use "Virtual User" ? and use timer before drop timeshift
    why, don't save all Clients information connected to TVserveur . available on screenshot under.
    upload_2013-10-7_18-33-0.png

    what i mean :
    we use DB table and store all clients with access to TVserveur.
    idententification stored are IP / MAC address / and Name of clients.

    example : if you want use placeshift when you are in your livingroom and want watch the TV to your bedroom.
    on livingroom system, you can select the good clients and if your bedroom system is shutdown, the MAC addresse registered inside DB table, it can wake up the system, start on TVplugin with the timeshift on "Pause" mode. and you can start to watch without none missing .

    This list can also be used on User priorities. ...

    upload_2013-10-7_18-31-47.png
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    If you want to use placeshift when you are in the livingroom you have to press f9 and select the placeshift item on the context menu. The MP saves your timeshift position and you can shutdown the client. After you start the bedroom client, you can select the virtual client from tv streams menu and you will be able to play the stream from same position where you was on livingroom. So you won't miss anything. If you don't start the bedroom client until the idle time the server will kick the user.

    Is it not ok?
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,601
    5,224
    France - IDF
    France France
    Country flag
    yes, understand, my question was only for enhance your feature ....
    :)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C Telenet analog-to-digital switch -- manually finding and inputting DVB-C channels in Mediaportal2 General 0
    high Forum switch to XenForo 2.1 Website/Forum/Wiki Feedback 5
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    D How to switch versions of Schedules Direct Newcomers Forum 2
    bribbon [Pending] Switzerland: DVB-T switch-off on 03 June 2019 Submit: EPG-Grabbers and tuningdetails 0
    G Switch to new channel at begining of program automatically Feature Requests 0
    cbr954rr Mp loose focus after switching tv off General 1
    ge2301 [fixed] [MP2-807] Problem when switching player in PiP mode with audio files MediaPortal 2 32
    N How to switch between TV and radio MediaPortal 2 15
    T Can I switch off 'audio description'?....(Watchdog error too) General Support 2
    D [further infos missing] Problems switching to live tv channel after resume 2.2 Archive 1
    I Mediaportal stucks when switching hdmi input on tv General Support 8
    C [solved] MP2 - How do I switch off Audio Description? General 19
    H [solved] Multiple Network Interfaces Server Issue General 1
    A LNB supply voltage does not switch off General Support 0
    G [solved] timeshift error Newcomers Forum 2
    k12158 [solved] Keine Zugriff auf NAS Ordner mit Recordings und TimeShift Allgemeines Support- und Diskussionsforum 6
    P Timeshifting in XMLTV General 2
    joecool70 Fehlermeldung Error invoking action "Start Timeshift" Allgemeines Support- und Diskussionsforum 1
    cladinshadows85 timeshift error <solved> General 2
    S EPG timeshift advice needed please Electronic Program Guide 3
    R Mp2.2 verschiedene (neue) probleme, server nicht gefunden, client stürzt bei tv ab, timeshift... Allgemeines Support- und Diskussionsforum 1
    P Blocking TV recordings on client? General 3
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    C Current NUC or Intel Stick as an MP client for HD playback - minimum requirements? General 6
    Similar threads

























    Top Bottom