[RELEASE] VDR (LinVDR) plugin for XBMC - Video Disk Recorder

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jack83 Offline
Junior Member
Posts: 25
Joined: Mar 2008
Reputation: 0
Location: Germany
Thumbs Up  [RELEASE] VDR (LinVDR) plugin for XBMC - Video Disk Recorder Post: #1
I have a few days off and I started writing a plugin to stream TV from my VDR. I searched the forum and could not find anything useful for my VDR so I started doing it myself. These are my first steps with Python, so be kind Laugh

Features so far:
- Connects through SVDRP to VDR (you don't need a channels.conf on your htpc)
- Displays all available Channels
- Live TV Streaming through streamdev-server http streaming
- EPG for single Channel (select a Channel and you get the EPG)
- Create new timers through the EPG
- View / Delete timers

You need:
- working VDR with running streamdev-server and working http streaming
- edited streamdefhosts.conf
- edited svdrphosts.conf

Tested with VDR 1.6, streamdev from svn and XBMC Atlantis Alpha3 Windows (Alpha4 is not working for me)

http://rapidshare.de/files/40444427/VDR.zip.html

Jack
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #2
Great!, however for clarification is it a plugin or a script? Confused
(does it go into the "plugins" or the "scripts" directory?)

PS! Short term here is something that you might find interesting:
http://sourceforge.net/projects/xbmcmythtv/
Long term here is something that you should find interesting:
http://wiki.xbmc.org/?title=GSoC_-_Unified_PVR_Frontend

Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jack83 Offline
Junior Member
Posts: 25
Joined: Mar 2008
Reputation: 0
Location: Germany
Post: #3
Its a plugin and goes into the plugin/video dir.

I`m aware of the two other projects but I hate mythtv (X server for backend config) and the other will take some time. This was the fastest way to get my VDR into XBMC
find quote
frostwork Offline
Member
Posts: 61
Joined: Aug 2008
Reputation: 0
Post: #4
cheers!

thanks a lot for your excellent plugin!!!
in order to get it to work on my gentoo vdr/xbmc machine
with vdr-1.6.0_p2 and vdr-streamdev-0.3.4
i had to "hardcode" the server IP in settings.xml / server_url
as the server value wasn't read. I also had to add a PES/ after the
port in server_url.
so in my localhost config the settings.xml it looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<settings>
<setting id="server" value="127.0.0.1" />
<setting id="port" value="2001" />
<setting id="server_url" value="http://127.0.0.1:3000/PES/" />
</settings>
find quote
sledgehammer Offline
Junior Member
Posts: 5
Joined: Apr 2008
Reputation: 0
Location: UK
Post: #5
Hey this is good news. I'm going to download this and have a look. I might have to steal some ideas :-).

My script and server back end is nearly ready for release. Heck I might release it even sooner with this announcement. My version is derived from the old xstreamdev code but almost completely replaced with my own and uses the project mayhem theme.

We might have to chat to avoid duplication of effort.

BTW how well is the streaming of the liveTV as I have found audio/video sync a problem on some channels as well as picking the wrong audio stream?

I'm learning Python as I go as well, I really wished I had learnt the basics before starting.


Best regards
Sledeghammer
find quote
[Ad0] Offline
Donor
Posts: 77
Joined: Apr 2007
Reputation: 0
Post: #6
It works really good! However, I can only get audio on HD streams. Is it possible to make channel flipping less painful?
find quote
geistio Offline
Junior Member
Posts: 2
Joined: May 2008
Reputation: 0
Post: #7
Hi Jack!

I just wanted to try your plugin, but it somehow crashes (actually it doesn't even start) on start-up. How should I debug the plugin?
Sadly, I couldn't find a debug log or something like that... do I need to enable debug-logging first? If yes, how?

Thanks for your help in advance!
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Post: #8
Enable debug logging in System Settings. The log (xbmc.log) can be found in the same place as the XBMC executable OR "/var/temp for Linux", OR "~/Library/Logs/" on the Mac, OR "C:\Documents and Settings\Username\Application Data\XBMC\" under Windows. Please do not paste logs to the XBMC forums, instead upload it to one of the many pasting sites such as pastebin.ca instead and link to it.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
dm71 Offline
Junior Member
Posts: 8
Joined: Sep 2006
Reputation: 0
Post: #9
Just wanted to say that I tried this plugin last night streaming my CaptiveWorks 3000HD FTA receiver and so far it works great! Kudos to Jack83! Great work!
find quote
jack83 Offline
Junior Member
Posts: 25
Joined: Mar 2008
Reputation: 0
Location: Germany
Post: #10
Hi everyone
I'm back from my summer vacation. Its really nice to see that some people are using my plugin.

I just tested with Beta1 and its still working Big Grin

The question is, should we really develop further, as the "Unified_PVR_Frontend" is already planed? (I don't know the status of that project)

The minimum features I wanted are already working, but there are many things that could be implemented using python and some effort e.g. channel zapping, recordings

@dm71: Your receiver is using VDR?

Jack
find quote
Post Reply