XBMC Community Forum
MythTV PVR client Addon Developers Wanted - Developers Only! - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: MythTV PVR client Addon Developers Wanted - Developers Only! (/showthread.php?tid=82015)



- atom83 - 2011-06-08 17:33

mongrol Wrote:Hi folks,
I'm confused no end in trying to get a working mythtv-pvr setup. First I went with opdenkamp git only to find the mythtv-pvr addon was broken (configured greyed out). I then pulled dteirney's git and built that but can't find any PVR addons in the repo at all to add and no pvr clients are enabled by default. Am I missing something? Any help much appreciated.

Confirm!

mythtv-pvr addon "configuration" is greyed out? how can I configure it to connect to the mythtvbackend?

thanks


- opdenkamp - 2011-06-09 13:10

dteirney is working on updating the mythtv add-on so it works in the latest pvr tree too. I still got to check something out for him too, but haven't had the time to do it yet.


- dubstar_04 - 2011-06-09 18:33

atom83 Wrote:Confirm!

mythtv-pvr addon "configuration" is greyed out? how can I configure it to connect to the mythtvbackend?

thanks

if the code is complete and working you can build as follows:

Code:
git clone https://github.com/dteirney/xbmc.git
cd xbmc
git branch -a
git checkout remotes/origin/pvr
./bootstrap
./configure
make -j2
make install

i build the current code:

recorded tv works fine but live tv gives:

DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'BBC ONE'
ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/1.pvr]
NOTICE: CDVDPlayer::OnExit()
NOTICE: CDVDPlayer::OnExit() deleting input stream
DEBUG: Thread CDVDPlayer 62004080 terminating
DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message PlaybackStopped

i assume dteirney has not finished the code yet, so sit tight.


Windows Compile - robweber - 2011-06-10 22:25

Hi,

I would really like to compile the myth addon to try on a windows machine. I can get the pvr branch from git to compile using VS Studio 2010 but the myth addon does not have a VS project so it will not compile with all the other pvr addons. Is there a way I can do this?


- Jezz_X - 2011-06-11 05:25

robweber Wrote:Hi,

I would really like to compile the myth addon to try on a windows machine. I can get the pvr branch from git to compile using VS Studio 2010 but the myth addon does not have a VS project so it will not compile with all the other pvr addons. Is there a way I can do this?

just a shot in the dark here but make a vs2010 file yourself ?


- robweber - 2011-06-11 08:53

Jezz_X Wrote:just a shot in the dark here but make a vs2010 file yourself ?

Thanks for the suggestion. Not trying to be rude but if it was really that simple I would have done it myself already. I tried creating the project file once I realized it wasn't available but just adding in all the .h and .cpp files from the myth pvrclient folder won't compile. I even checked my build settings against a different pvr addon to make sure i used the correct build extension and other settings. I guess I don't know enough about how the myth plugin needs to be built to setup the project. Examining the makefile lead me to believe I needed to compile some of the elements separately but I'm not sure if that's right either.

In any case some basic information on how the projects needs to be built or it's dependencies would be great, I"d be happy to give creating the VS project another try.


- Jezz_X - 2011-06-11 09:52

well I guess my point is that the current dev environment for dteirney is Linux and that's what is being concentrated on I'm sure until it has a final working copy he has very little interest in making it compile on win32 because it would be a constant addition distracting him from the coding he needs to do.

So if people want to try and make it compile on win32 they need to branch his git and do it themselves and submit pull requests back.

And you did ask "Is there a way I can do this?"

But I would suggest you maybe look at how the tvheadend addon gets stuck in the main build and use it as an example of how to make one for the mythtv version


- dubstar_04 - 2011-06-11 21:34

robweber Wrote:Thanks for the suggestion. Not trying to be rude but if it was really that simple I would have done it myself already. I tried creating the project file once I realized it wasn't available but just adding in all the .h and .cpp files from the myth pvrclient folder won't compile. I even checked my build settings against a different pvr addon to make sure i used the correct build extension and other settings. I guess I don't know enough about how the myth plugin needs to be built to setup the project. Examining the makefile lead me to believe I needed to compile some of the elements separately but I'm not sure if that's right either.

In any case some basic information on how the projects needs to be built or it's dependencies would be great, I"d be happy to give creating the VS project another try.

Look in libs/cmyth and add the contents of that folder.

If that doesnt work you could look through the pvr code and see what is required?

Does the compiler not provide errors?


Feedback needed on identifying Radio Channels in MythTV - dteirney - 2011-06-12 11:54

For my current setup with MythTV, all of the Radio Channels have an empty channum.

If I was to use an empty channum as the way of identifying a radio channel vs a TV channel, would that work for anyone else or is this behaviour just a fluke with the channel setup in New Zealand?

Thanks,
David


- dubstar_04 - 2011-06-12 12:06

dteirney Wrote:For my current setup with MythTV, all of the Radio Channels have an empty channum.

If I was to use an empty channum as the way of identifying a radio channel vs a TV channel, would that work for anyone else or is this behaviour just a fluke with the channel setup in New Zealand?

Thanks,
David

I have a chanNum for radio stations using UK Freeview, however they are all 7**.

for example:

BBC Radio 1 = 700
BBC Radio 2 = 702

See here:

http://pastebin.com/hQ7GmeLU

Maybe everyone could pastebin their config?