![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Portal Member
Join Date: Feb 2008
Posts: 24
Thanked 2 Times in 2 Posts
Country:
|
I am a XBMC user who would love to get live tv streaming on the xbox.
I am interested in writing a python script (all I want is a way to play live tv, for now at least). Is anyone interested in helping, and can anyone lead me to where I would find how to communicate with TV server. Thanks for any help. |
|
|
|
|
|
#2 (permalink) |
|
Docs Team
Join Date: Aug 2007
Location: Sydney
Age: 35
Posts: 447
Thanked 24 Times in 19 Posts
Country:
|
you could lstart with the Wiki on TV Server Development TV-Server Development - MediaPortal Wiki Documentation
also have a look here TV-Engine 0.3 - MediaPortal Wiki Documentation good luck, porting between the 2 would be great.
__________________
There are 10 kinds of people who know Binary. Those that do and those that don't....
|
|
|
|
|
|
#3 (permalink) |
|
Portal Member
Join Date: Dec 2005
Location: 's-Hertogenbosch
Age: 30
Posts: 787
Thanked 1 Time in 1 Post
Country:
|
Yeah! That would be really nice! Setting up MythTV backend and make it possible to connect to it from my XBOX is pretty nasty. Setting up the MP TV server is much easier.
|
|
|
|
|
|
#4 (permalink) | |||||||||||||||||||||||||||
|
Portal Member
Join Date: Feb 2008
Posts: 24
Thanked 2 Times in 2 Posts
Country:
|
Edit: fixed my problem.
Thanks charli, I will take a look at those documents.
I cycled through a ton of programs. I tried out TV server about a month ago, it didn't work properly, and after a lot of cycling, I decided to try again and the latest SVN version works great! So I decided it will be my server and since XBMC is my client everywhere in the house, might as well write a nice way to use it. |
|||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
#5 (permalink) |
|
Docs Team
Join Date: Aug 2007
Location: Sydney
Age: 35
Posts: 447
Thanked 24 Times in 19 Posts
Country:
|
please let us all know how you go as I believe MediaPortal was birthed from XBMC. It would be great to add some info on how to port to the old Xbox if possible.
I am a Play Station 1/2 boy myself but if you can TV running, I am sure you will be crowned the next Billy G. ![]()
__________________
There are 10 kinds of people who know Binary. Those that do and those that don't....
|
|
|
|
|
|
#6 (permalink) |
|
Portal Member
Join Date: Feb 2008
Posts: 24
Thanked 2 Times in 2 Posts
Country:
|
Hm, I looked through the documentation and the source, but I'm a little confused as to how exactly a client talks to the server. Does it have any specific ports / use a specific protocol, or does it use .net to call the remote functions? If it is the latter, the python script will have to emulate the .net protocol I guess. I was expecting some sort of specific protocol over tcpip.
|
|
|
|
|
|
#7 (permalink) |
|
Portal Developer
Join Date: Mar 2005
Location: Melbourne
Age: 27
Posts: 2,229
Thanked 120 Times in 83 Posts
Country:
|
I think you'd be better off writing a program or plugin for the TV Server that acts as a go-between.
Maybe take a look at the TV Client program, perhaps you could add a simple communications method between it and XBMC. If I knew anything about coding for XBMC or indeed anything about Python I would try to help you out. But I'm afraid I don't. However, if there is anything I can do MediaPortal plugin or windows app wise then please let me know. I have two XBMC Xbox's in my house and would love to use them for live digital TV viewing. Just simple tv viewing would be an awesome first step. Also, there is another ongoing project with the same lofty aims. It's been progressing extremely slowly, so perhaps you can give it the injection of developer time that it needs. Best of luck and please do keep us informed of your progress... Cheers,
__________________
- Aaron. IR Server Suite - Version 1.0.4.1 MCE Replacement Plugin - Version 1.0.4.1 You don't need the MCE Replacement Driver |
|
|
|
|
|
#8 (permalink) |
|
Portal Member
Join Date: Feb 2008
Posts: 24
Thanked 2 Times in 2 Posts
Country:
|
and-81: Thanks for that idea! I don't know why I was trying to write it all in python.
I am working on a middleman currently. I am currently able to telnet connect to it, issue the commands and get a list of groups easily, so the script should be simple to write. I am using a fair bit of code from the MP TV Client. I am using the same ServerInterface.cs and Utils.cs, and just learning how to use the server from frmMain. Once I have some it working at all, I will put the code up somewhere, should probably be made into a plugin or something though. Not too worried about that right now though. Anyway, just a small problem I was thinking about: The way I am going to write the python script is that, it will ask for a list of groups, then ask for channels in that group, and when the channel is selected, it will tell my server what channel, my server will start timeshifting and return the URL / or an error. Now that will work fine - but the problem is that once the python script gets the URL, XBMC will play it external to the script, so my script will not know when the user has stopped watching the video. The script has no real way to tell my server to disconnect from the tv server, or to stop the timeshifting. Is there anyway of telling the server to stop timeshifting as soon as the last client disconnects or something - or is there anything else you would recommend? |
|
|
|
|
|
#9 (permalink) | |||||||||||||||||||||||||||
|
Portal Developer
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,341
Thanked 85 Times in 63 Posts
Country:
|
|
|||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
#10 (permalink) |
|
Portal Developer
|
EvilDude:
I was thinking about a telnet interface as TvServer Plugin from time to time but never found time to begin work. I very much appreciate your work and am looking forward to see your results Just let me know if you need help ![]()
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script support for IMDB grabbing | dukus | watch/edit Videos | 29 | 2008-04-25 20:13 |
| Python Plugin? | t-herweg | Plugins/Erweiterungen | 0 | 2007-10-20 22:25 |
| XMLtv Channel tag Replacer Python script. | gibman | xmlTV | 1 | 2007-09-04 18:55 |
| Video thumbnails script | MonsterM | Tips and Tricks | 5 | 2007-04-29 22:47 |
| Script for Palmbutler | HTPC-Fan | Tips and Tricks | 8 | 2005-04-15 23:58 |