XBMC Python Script (2 Viewers)

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I am open to suggestions

    That's my queue ...

    Here's what I would like to see:

    1. The ability to move between channels while watching. EG. Use the Skip - and Skip + buttons to change channels.

    2. Fast Forward and Rewind while watching live TV. That is, move around in the timeshift buffer.

    3. Faster channel loading, not sure how much this is you and how much this is TV Server.

    If you need any help on the TV Server plugin side let me know.

    Cheers,
     

    DrDDT

    New Member
    March 18, 2008
    2
    0
    I am open to suggestions

    That's my queue ...

    Here's what I would like to see:

    1. The ability to move between channels while watching. EG. Use the Skip - and Skip + buttons to change channels.

    2. Fast Forward and Rewind while watching live TV. That is, move around in the timeshift buffer.

    3. Faster channel loading, not sure how much this is you and how much this is TV Server.

    If you need any help on the TV Server plugin side let me know.

    Cheers,

    I second #1 and #3 as very welcome improvements.
    Maybe some of the integrated MythTV code in XBMC is usable?
     

    EvilDude

    Portal Member
    February 1, 2008
    43
    3
    Home Country
    Great work EvilDude!

    I for one is still curious how your script and work could be combined with thechad's python script for XBMC and MediaPortal plugin, (in order to get the best of both in one script so to speak)

    I looked through the code the xbmc python script will probably not be useful. I do not want to code a GUI in python, and would prefer to use everything xbmc already has. I would like to get it working in the same way the myth:// stuff works at the moment. I'll probably get all those features working once xbmc has a nice way for me to add all this in.

    1. The ability to move between channels while watching. EG. Use the Skip - and Skip + buttons to change channels.

    2. Fast Forward and Rewind while watching live TV. That is, move around in the timeshift buffer.

    3. Faster channel loading, not sure how much this is you and how much this is TV Server.

    If you need any help on the TV Server plugin side let me know.

    Cheers,

    I will look into those tonight, I am not sure if it is possible as a python plugin though. It might require embedding into XBMC.
     

    EvilDude

    Portal Member
    February 1, 2008
    43
    3
    Home Country
    Ok for faster channel changing, I cannot add Skip- and Skip+ from python. It is not yet possible in XBMC without using C++, which I don't really want to do yet (much more time needed than python I find). Anyway, I was checking out to see if I could do a "live" change of channel, so while the stream was going. Here is what I tried:

    Code:
    TVServerXBMC:0-1
    Protocol-Accept:1
    ListGroups:
    Ten,SBS,ABC,Nine,Seven
    ListChannels:Seven
    417%3B7%20HD%20Digital,414%3B7%20Digital%201,415%3B7%20Digital%202,416%3B7%20Digital%203,418%3B7%20Guide,413%3B7%20Digital
    TimeshiftChannel:417
    rtsp://home/stream5.0
    ListGroups:
    Ten,SBS,ABC,Nine,Seven
    ListChannels:Ten
    448%3BTEN%20HD,450%3BTEN%20HD%20(1),449%3BTEN%20Digital
    TimeshiftChannel:449
    rtsp://home/stream5.0

    After the first timeshift, I open VLC to open that stream. The stream plays back channel 7 fine. Now after the second timeshift, the VLC stream just pauses. It does *not* show the channel stuff until I close and reopen the stream.

    I am wondering if there is anyway for the stream to change channels and still work without having to close it. That would make channel switching a lot faster I think. I could then work on making skip+ / skip- work and it'll be much faster than closing and reopening.
     

    Hojou

    Portal Pro
    January 10, 2007
    69
    0
    Home Country
    Denmark Denmark
    The links mentioned here doesn't seem to work anymore?

    I just want to be able to watch TV on my xbox through a stream from tv server :)
     

    Hojou

    Portal Pro
    January 10, 2007
    69
    0
    Home Country
    Denmark Denmark
    Great, thanks! Can you fill me in on the details? The dll - is that a plugin i just place in TV Servers plugin dir? And the other stuff for XBMC - where do i place that and how do i run/activate it in XBMC - just run it as a script or can i set it up as an easy link in some menu (for the wife)
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    I think there's already info on that in this thread but let me explain quickly how I've used it.

    1. Place the dll in the TV Server plugins folder and enable it in TV Server setup.

    2. Make sure you are running a recent version of XBMC (it must support file system plugins).

    3. Copy the other files to your XBMC\plugins\video folder.

    4. You'll need to modify one of the py files to set the IP address of your TV Server.

    Re-read this whole thread if you have any trouble.

    Hope that helps,
     

    Hojou

    Portal Pro
    January 10, 2007
    69
    0
    Home Country
    Denmark Denmark
    Thanks, and sorry for asking about how to set it up, but i've spend so much time lately trying to follow some process that is outdated and thus no longer works...

    You supplied the files and the how-to fast, for which i'm grateful - thanks :)
     

    EvilDude

    Portal Member
    February 1, 2008
    43
    3
    Home Country
    Hey, the latest might not be so functional. The latest SVN code has changed a lot (and I have even more local changes). I'm attempting some C++ to get it working inside XBMC, so I haven't been working with the python much. I might take a look at the python again if I get some time, but I have a nice structure set up in the C++ code.
     

    Users who are viewing this thread

    Top Bottom