Kodi Community Forum

Full Version: New MythTV add-on using libcmyth
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm trying this out using the windows build in the first post - is this the right one to use? It is mainly working, but I am having VERY slow channel changes and Live TV is ok with SD channels but stutters with HD.

XBMC running on a machine with an i5 processeor 8gb ram and NVIDIA discreet graphics Win 7 64 pro, connecting to an ION machine running myth over a gigabit wired connection.

Is this expected or am I doing something wrong?

This is a log of the stuttering:- http://pastebin.com/ftwbX6eu
(2012-03-28, 09:06)dodoadoodoo Wrote: [ -> ]
(2012-03-27, 16:57)fiveisalive Wrote: [ -> ]
(2012-03-27, 11:43)stevellion Wrote: [ -> ]I've got white noise too. Hoping the next upstream-merge will include the fix from Eden...

(Audio works with DVD player.. just not paplayer)

Yep, same problem here.

Did you try my proposed fix from post 504?

/D

Not yet, but will do so soon. Thanks for including it. Hopefully tsp will merge with upstream soon and the fix won't be necessary any more.
I had white noise with mp3 and flac too.
dodoadoodoo, your patch fixed the problem perfectly Smile

Thanks alot!
Hi tsp42,

My question might sound dumb... please excuse me.

I am following about xbmc and it's use from last few months. I am getting ready to setup a HTPC and install xbmc on it.

Also am interested to buy SiliconDust HomeRun tuner to integrate with my htpc. Can you tell me in few points if I can have MythTV add-on on Windows environment? I don't know much of linux and not confident I can install and configure XBMC on Linux.

If answer to my question is YES about implementing a PVR/DVR on Windows environment based on your mentioned Windows build, can you tell me what should I need to install other than XBMC?

If you can show me the path with useful links, I would be very much thankful to you.

Thanks,
eskay

(2011-09-22, 00:11)tsp42 Wrote: [ -> ]I've created a new PVR add-on for MythTV (v. 0.24). It only uses libcmyth (that has been modified with some additional functions to support the add-on).

Currently the following in working on windows and linux(ubuntu):

-LiveTV, including radio (at least with DVB)
-Timers (add, delete, modify)
-EPG
-Recordings

Missing features/bugs
- Timeshifting (missing skin support.)
- Channel icons (partly working)
- Episode and season info in EPG
- tv metadata/artwork
- mark show as watched
- Bookmark support (to skip commercials)
- Fast forward not working on some recordings/wrong duration reported (seems to be related to ffmpeg)
- ATSC subtitles (again lacking ffmpeg support)

Thanks to dubstar_04 for producing this video that demonstrate the add-on:

http://www.youtube.com/watch?v=1gA7YpbyxNM

The code is located at my git-hub account here:
https://github.com/tsp/xbmc

Please note that you will have to use my fork of xbmc PVR as the addon relies on some modification to the xbmc code.

Windows build(21/03/2012) here:
http://www.mediafire.com/?8od40n871o5u0nb


Helpfull guides/posts for installing the addon and mythtv on linux

Installing the Addon on ubuntu
http://forum.xbmc.org/showpost.php?p=915...tcount=133

Installing MythTV
http://forum.xbmc.org/showpost.php?p=915...tcount=134
http://forum.xbmc.org/showpost.php?p=916...tcount=157
http://forum.xbmc.org/showpost.php?p=916...tcount=153

VDPAU support
http://forum.xbmc.org/showpost.php?p=918...tcount=186

ATV1:
http://forum.xbmc.org/showpost.php?p=925...tcount=221

@eskay:

This is the mythtv branch of the pvr branch of xbmc. So specially made as a frontend for mythtv. There are other pvr backends (see http://wiki.xbmc.org/index.php?title=HOW...TV_in_XBMC) that work with the pvr branch of xbmc.

I personally think Mythtv is the best because of the huge possibilities of configuring recordings. But I don't know how well the backend runs on Windows. You might want to try Mythbuntu (see http://www.mythbuntu.org/) and build and install tsp's branch there. This is quite easy just installing Mythbtuntu and you have a backend/frontend machine. Then you follow the installation instructions from this thread and you should be able to connect with xbmc to the mythtv backend.

I don't know much about the tuner / mythbackend or other pvr backends / windows compatibility. But with mythbuntu it should run out of the box.

If you want to use windows try to find out if mythtv works with that tuner under windows. Write to the mythtv-users mailing list (Discussion about MythTV <[email protected]>).
If you want to go with Mythbuntu I can give you a lot of links where you can find help. Just let me know Smile
Eskay, I have the following configuration and it works flawlessly....

1. MythTV has backend and frontend.....The backend is installed on my very old machine - i used mythbuntu package and the version that I installed was

MythTV Version : 26437
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 23056
Library API : 0.23.1.201000710-1
QT Version : 4.7.0

2. I use MYTHBOX addon that comes with XBMC (I am eventually planning to use libcmyth once this is stable) and the setup works flawlessly

I have several XBMC boxes in various rooms and each one has a TV functionality (mythtv frontend).

It is very important that you install the MYTHTV backend version as listed above for MYTHBOX frontend to work (AFIK, MYTHBOX works only with the above version). You do not have to know much of LINUX (however it helps) to install mythbuntu

hth
Thank you Powderking.

This definitely helps me to move forward in my project.

(2012-03-29, 18:48)Powderking Wrote: [ -> ]@eskay:

This is the mythtv branch of the pvr branch of xbmc. So specially made as a frontend for mythtv. There are other pvr backends (see http://wiki.xbmc.org/index.php?title=HOW...TV_in_XBMC) that work with the pvr branch of xbmc.

I personally think Mythtv is the best because of the huge possibilities of configuring recordings. But I don't know how well the backend runs on Windows. You might want to try Mythbuntu (see http://www.mythbuntu.org/) and build and install tsp's branch there. This is quite easy just installing Mythbtuntu and you have a backend/frontend machine. Then you follow the installation instructions from this thread and you should be able to connect with xbmc to the mythtv backend.

I don't know much about the tuner / mythbackend or other pvr backends / windows compatibility. But with mythbuntu it should run out of the box.

If you want to use windows try to find out if mythtv works with that tuner under windows. Write to the mythtv-users mailing list (Discussion about MythTV <[email protected]>).
If you want to go with Mythbuntu I can give you a lot of links where you can find help. Just let me know Smile


Great. This really helped me to understand how MythTV works.

Thank you!

Couple of questions:

a. Also if I use SiliconDust's HDHomeRun TV tuner, will I be able to configure and use using MythTV backend?
b. Once MythTV backend is installed and if I want to record on-the-air programs, where will the recorded program get stored? In my backend computer or can I use a NAS to store it and play using XBMC frontend htpc?
c. Last question - What kind of configuration should be my backend computer be? Like RAM, processor etc.

(2012-03-29, 23:29)vskatusa Wrote: [ -> ]Eskay, I have the following configuration and it works flawlessly....

1. MythTV has backend and frontend.....The backend is installed on my very old machine - i used mythbuntu package and the version that I installed was

MythTV Version : 26437
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 23056
Library API : 0.23.1.201000710-1
QT Version : 4.7.0

2. I use MYTHBOX addon that comes with XBMC (I am eventually planning to use libcmyth once this is stable) and the setup works flawlessly

I have several XBMC boxes in various rooms and each one has a TV functionality (mythtv frontend).

It is very important that you install the MYTHTV backend version as listed above for MYTHBOX frontend to work (AFIK, MYTHBOX works only with the above version). You do not have to know much of LINUX (however it helps) to install mythbuntu

hth

Quote:a. Also if I use SiliconDust's HDHomeRun TV tuner, will I be able to configure and use using MythTV backend?
I use SILICON DUST HDHomeRun TV Tuner (the older generation not the new one) and connected to my router....the MYTHTV BACKEND will allow you to select it in its configuration.. just google the configure of mythtv backend and you can possibly see screen shots!

Quote:b. Once MythTV backend is installed and if I want to record on-the-air programs, where will the recorded program get stored? In my backend computer or can I use a NAS to store it and play using XBMC frontend htpc?
It is upto you to say where you want it stored... I have a old machine which I use as mythtv backend...and the machine is connected to my router... and I store the programs recordings in the MythTV backend and point this in XBMC MythBOX addon's. You can access the listing on the web as well and watch it on the web....and pick what you want to record....I watch recorded TV from work using the web ...only SD quality...HD over the web is painfull

Quote:c. Last question - What kind of configuration should be my backend computer be? Like RAM, processor etc.
Any old machine will do it... recordings is not memory or cpu intensive....only if you want to encode it then you need a powerful machine...I would suggest ONLY old machines. lying around...remember if you use a newer machine LINUX (mythubuntu) might not have drivers... so it is better to use old machine lying around....

Finally, allow to spend atleast couple of days on the configuration if you are new.....I would do it over a weekend....Shoot any questions and I will try to help...However I do not want to hijack this thread....because this is only for PVR functionality
Hardware compatibility is indeed what you should check carefully.

If I understand you right you want to setup one machine for a backend/frontend combo.

If you want to enlarge you setup later with a second frontend the backend box has of course to be accessible but it's no problem to add a separate master backend and set the backend/frontend combo to be a slave backend with frontend or even completely remove the backend there. You have all the possibilities Smile
But it's a bit complicated to move the master backend with the db.

In any way I suggest to use a nvidia graphics card. The hardware decoding (vdpau) works very good. See the mythtv wiki page about compatible cards:
http://www.mythtv.org/wiki/VDPAU

Maybe you want to use a ir remote then you probably will have the least problems with an MCE remote or for a Silverstone case with remote (http://www.silverstonetek.com/). I have a Shuttle XS35GTV2 which I can't start with the remote but the Silverstone box is no problem even when it's completely powered off.

Here you can find alot of material about mythtv
http://www.mythtv.org/docs/
http://www.mythtv.org/wiki/

Or maybe as well something about the ubuntu part
http://ubuntuforums.org/showthread.php?t=801404
https://help.ubuntu.com/
Great. Thanks for all your comments and this will really help me going forward.

(2012-03-30, 02:03)vskatusa Wrote: [ -> ]
Quote:a. Also if I use SiliconDust's HDHomeRun TV tuner, will I be able to configure and use using MythTV backend?
I use SILICON DUST HDHomeRun TV Tuner (the older generation not the new one) and connected to my router....the MYTHTV BACKEND will allow you to select it in its configuration.. just google the configure of mythtv backend and you can possibly see screen shots!

Quote:b. Once MythTV backend is installed and if I want to record on-the-air programs, where will the recorded program get stored? In my backend computer or can I use a NAS to store it and play using XBMC frontend htpc?
It is upto you to say where you want it stored... I have a old machine which I use as mythtv backend...and the machine is connected to my router... and I store the programs recordings in the MythTV backend and point this in XBMC MythBOX addon's. You can access the listing on the web as well and watch it on the web....and pick what you want to record....I watch recorded TV from work using the web ...only SD quality...HD over the web is painfull

Quote:c. Last question - What kind of configuration should be my backend computer be? Like RAM, processor etc.
Any old machine will do it... recordings is not memory or cpu intensive....only if you want to encode it then you need a powerful machine...I would suggest ONLY old machines. lying around...remember if you use a newer machine LINUX (mythubuntu) might not have drivers... so it is better to use old machine lying around....

Finally, allow to spend atleast couple of days on the configuration if you are new.....I would do it over a weekend....Shoot any questions and I will try to help...However I do not want to hijack this thread....because this is only for PVR functionality

Mythbox + EDEN + Windows 7
=======================

I get this message very often and use the ESC key to get over it...I never got this message in the previous version of XBMC....Can any developer help me in getting rid of this error?

Error: onllit
cannot import name decodelonglong
Can someone clarify for me.

Is the windows build on the first page a specific frontend xbmc pvr build for mythtv? If so Is it possible to get a mythtv backend for windows?

All the installing mythtv links on the first page refer to Linux and the mythtv website only refers to Linux too.

Is it possible to have both backend and front end on one windows machine?

If so can someone point me in the direction of how to install mytv backend on windows?.

Thanks in advance,
I installed the PVR binary for windows on the FIRST page of this post...I do not see the LIVE TV option...is there a plugin I must install? How do I configure my mythtv backend with this PVR build for windows? Any help would be much appreciated
Changed to confluence (AEON NOX did not show LIVE TV) skin and now see LIVE TV....configured the PVR CMYTH plugin but get error.

Here is the paste bin

This is windows 7 ....

I know my configuration is accurate because I copied the configuration parameters from working mythbox plugin
Does this plugin use Eden and support MythTV 0.24.2?