Kodi Community Forum
New MythTV add-on using libcmyth - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - fetzerch - 2012-11-15

(2012-11-15, 21:11)richardambridge Wrote: If I go into TV Shows, and select a video and press yellow I get the context Menu...

18:15:18 T:140276853110528 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
18:15:18 T:140276853110528 DEBUG: CecLogMessage - key pressed: F4 (yellow) (74)
18:15:18 T:140276853110528 DEBUG: PushCecKeypress - received key fd duration 0
18:15:18 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is ContextMenu

but in recordings, if i press yellow:

...
18:11:16 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is Yellow

This looks indeed strange. Are you sure it doesn't get overridden somewhere else in your keymap?
If it's an issue and not a wrong config, then it's in XBMC. Addons don't have a clue about keymaps or menus or ui things in general.


RE: New MythTV add-on using libcmyth - richardambridge - 2012-11-15

(2012-11-15, 11:07)richardambridge Wrote: ** Any plans to integrate the Recordings screen with the media scrapers that are used in TV Shows?

That should be doable already. You can add a source in the video menu for recordings and setup a scraper on it.
Though, I haven't tried it myself yet.

Nearly, but I can't get anything to show up.
I did:
Videos->Files
Add Videos...

In the list of drives is a new one called 'TV recordings' (mapped to pvr://recordings)
I added that, and mapped a TV Shows scraper..

Now, on main screen, under TV Shows all the directories for the Recorded shows appear.. with the art work.
But each directory is empty.
Log another issue? If so where?
(2012-11-15, 21:24)cfetzer Wrote:
(2012-11-15, 21:11)richardambridge Wrote: If I go into TV Shows, and select a video and press yellow I get the context Menu...

18:15:18 T:140276853110528 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
18:15:18 T:140276853110528 DEBUG: CecLogMessage - key pressed: F4 (yellow) (74)
18:15:18 T:140276853110528 DEBUG: PushCecKeypress - received key fd duration 0
18:15:18 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is ContextMenu

but in recordings, if i press yellow:

...
18:11:16 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is Yellow

This looks indeed strange. Are you sure it doesn't get overridden somewhere else in your keymap?
If it's an issue and not a wrong config, then it's in XBMC. Addons don't have a clue about keymaps or menus or ui things in general.

My full keymap file was in the post, nothing else.
I've logged an issue against xbmc. https://github.com/xbmc/xbmc/issues/1799


RE: New MythTV add-on using libcmyth - fetzerch - 2012-11-15

Issues should go to trac.xbmc.org or try to ask in the xbmc support section of the forum first.
As long as there's no proof that it works with another pvr addon I'd vote for it's xbmc's issue Wink

Is scrapping working for anyone else?


RE: New MythTV add-on using libcmyth - richardambridge - 2012-11-15

(2012-11-15, 21:46)richardambridge Wrote:
(2012-11-15, 11:07)richardambridge Wrote: ** Any plans to integrate the Recordings screen with the media scrapers that are used in TV Shows?

That should be doable already. You can add a source in the video menu for recordings and setup a scraper on it.
Though, I haven't tried it myself yet.

Nearly, but I can't get anything to show up.
I did:
Videos->Files
Add Videos...

In the list of drives is a new one called 'TV recordings' (mapped to pvr://recordings)
I added that, and mapped a TV Shows scraper..

Now, on main screen, under TV Shows all the directories for the Recorded shows appear.. with the art work.
But each directory is empty.
Log another issue? If so where?
(2012-11-15, 21:24)cfetzer Wrote:
(2012-11-15, 21:11)richardambridge Wrote: If I go into TV Shows, and select a video and press yellow I get the context Menu...

18:15:18 T:140276853110528 DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
18:15:18 T:140276853110528 DEBUG: CecLogMessage - key pressed: F4 (yellow) (74)
18:15:18 T:140276853110528 DEBUG: PushCecKeypress - received key fd duration 0
18:15:18 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is ContextMenu

but in recordings, if i press yellow:

...
18:11:16 T:140277124302656 DEBUG: OnKey: 253 (fd) pressed, action is Yellow

This looks indeed strange. Are you sure it doesn't get overridden somewhere else in your keymap?
If it's an issue and not a wrong config, then it's in XBMC. Addons don't have a clue about keymaps or menus or ui things in general.

My full keymap file was in the post, nothing else.
I've logged an issue against xbmc. https://github.com/xbmc/xbmc/issues/1799

No I didn't as it was closed. So I posted a new thread in the forum. http://forum.xbmc.org/showthread.php?tid=145293



RE: New MythTV add-on using libcmyth - allen00se - 2012-11-15

I guess I am a little confused... I thought I read that this addon got rolled into XBMC and I figured that meant I could just download and install it from XBMC, however I don't see it as an option. Is there a repo i need to add or did I misunderstand?
Thanks,
Krys


RE: New MythTV add-on using libcmyth - wavemaker - 2012-11-15

Hello, thanks for the great work. I am currently trying to get the pvr functions with libcmyth to work using the main xbmc git and fetzerch's addon git repository for linux. Everything compiles fine. However, when trying to use the plugin, i get some errors, see here: http://pastebin.com/2uXAK1AU

Would this be an error in my environment, or something related to the current status of the code?

I tried before a couple of months using tsp's git repository, but that failed with other errors.


RE: New MythTV add-on using libcmyth - fetzerch - 2012-11-15

21:17:53 T:2882702144 ERROR: PVR - Add-on 'unknown' is using an incompatible API version.

You have to upgrade your xbmc version. Beta 1 is out. That should work!
Cheers,
Christian


RE: New MythTV add-on using libcmyth - wavemaker - 2012-11-15

cfetzer, aha. However, I am compiling from the main xbmc git already. It says 12.0 BETA FRODO already when I start that up. Could it be that fetzerch's git repository is currently ahead of that already...?? Which sources do people currently use to compile from?


RE: New MythTV add-on using libcmyth - fetzerch - 2012-11-16

Did you add the configure parameter? If not the addon isn't built at all and you might still run the old version from your repo:
http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV/BuildFromSource
Pushed a small patch that logs the API versions the addon was compiled against. That should help finding those problems quicker. Now we just need the same log line in xbmc itself.

AddOnLog: MythTV cmyth PVR Client: Creating MythTV cmyth PVR-Client
AddOnLog: MythTV cmyth PVR Client: Addon compiled with XBMC_PVR_API_VERSION: 1.6.0 and XBMC_PVR_MIN_API_VERSION: 1.6.0


RE: New MythTV add-on using libcmyth - markcs - 2012-11-16

Has anyone noticed that the live TV picture quality in XBMC is not as good as watching live TV in MythTV. Especially when it comes to moving objects.

Or is it just me? Smile

Is there any settings to fix this? XBMC and MythFrontend are on the same server as the Mythbackend.


RE: New MythTV add-on using libcmyth - pyrodex - 2012-11-16

(2012-11-16, 12:42)markcs Wrote: Has anyone noticed that the live TV picture quality in XBMC is not as good as watching live TV in MythTV. Especially when it comes to moving objects.

Or is it just me? Smile

Is there any settings to fix this? XBMC and MythFrontend are on the same server as the Mythbackend.

Do you have de-interlacing turned on in XBMC? It is off by default and needs to be turned on for video feeds from the TV.


RE: New MythTV add-on using libcmyth - tpleztier - 2012-11-16

I keep receiving the following error when attempting to run the latest GIT version of cmyth:

XBMC_MythTV_cmyth.pvr: undefined symbol: ref_release


RE: New MythTV add-on using libcmyth - richardk - 2012-11-16

(2012-11-15, 22:18)cfetzer Wrote: Issues should go to trac.xbmc.org or try to ask in the xbmc support section of the forum first.
As long as there's no proof that it works with another pvr addon I'd vote for it's xbmc's issue Wink

Is scrapping working for anyone else?

No, I'm seeing the same thing. All the programs are listed, and the fanart and descriptions come up fine for each one. But when I select a program, no episodes are shown -- only the ".." item.

Since I only have a MythTV backend system, I can't test with another addon. Perhaps someone else can?




RE: New MythTV add-on using libcmyth - richardk - 2012-11-17

(2012-11-16, 15:08)pyrodex Wrote:
(2012-11-16, 12:42)markcs Wrote: Has anyone noticed that the live TV picture quality in XBMC is not as good as watching live TV in MythTV. Especially when it comes to moving objects.

Or is it just me? Smile

Is there any settings to fix this? XBMC and MythFrontend are on the same server as the Mythbackend.

Do you have de-interlacing turned on in XBMC? It is off by default and needs to be turned on for video feeds from the TV.

On my system (AspireRevo 1600), with de-interlacing turned on, I get jerky playpack of 1080i content, but perfect playback of standard definition programs. With de-interlacing off, it's the opposite -- perfect for 1080i, but video combing on SD content.

What's really needed is what the MythTV frontend interface has -- the ability to automatically select the default de-interlace method based on the resolution of the content being played. I.e., you can set up playback profiles that set the deinterlace method (if any) for each video resolution.




RE: New MythTV add-on using libcmyth - tpleztier - 2012-11-17

(2012-11-16, 16:55)tpleztier Wrote: I keep receiving the following error when attempting to run the latest GIT version of cmyth:

XBMC_MythTV_cmyth.pvr: undefined symbol: ref_release

Disregard as I fixed the problem by using the appropriate repository. Wink