New MythTV add-on using libcmyth

  Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #641
(2012-04-24 00:48)tsp42 Wrote:  Could you also check if there is any artwork in ~/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/
that are not displayed. If you have a lot of artwork it can take a while before it is transfered.

~/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/coverart

and

~/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/fanart

on my system are both empty directories. I assumed that the add-on pulled the info for each show from thetvdb or something? I haven't set any coverart or fanart in the mythbackend.
find quote
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #642
I wonder if it might be possible to add an "All recordings" entry at the top of the list that would return the old-style linear list, sometimes it's useful to be able browse backwards in time and see what shows were on the same day, or to sort globally by title, so it would be useful to retain this function. (mythbackend has a similar view as does Mythbox).

Another feature request would be better detection of movies, I filed this:

https://github.com/tsp/xbmc/issues/10

Basically, it seems that mythbackend stores (some of) this info, would be better to use this rather than heuristics.

Thanks again, tsp42! Sorry for the flurry of bug reports/feature requests. I will try to look into implementing some of them myself if I can free up some time.
find quote
kenzu Offline
Junior Member
Posts: 5
Joined: Sep 2010
Reputation: 0
Post: #643
(2012-04-23 21:33)nobleach Wrote:  
(2012-04-23 10:48)kenzu Wrote:  Does crystalhd work with livetv?

There are still some folks working on getting it to work. The problem is with FFMpeg not being able to pass the MPEG2 transport stream off to a hardware decoder. I don't even think it was this forum where I read about this. It could have been OpenElec on AppleTV or somewhere else.

-nobleach

Okay, thank you. Will take a look on openelec's forum. I have a Apple TV 1. Gen with Crystal HD 15 card. It runs crystalbuntu really good with 1080p on movies, but not on livetv :-(
find quote
Jimmer Offline
Donor
Posts: 337
Joined: Jan 2010
Reputation: 3
Location: Sunny Devon, UK
Post: #644
(2012-04-24 00:48)tsp42 Wrote:  remove the last questionsign and it should work
Code:
"^(?<folder>.+?)::(?<title>.+)"
Could you also check if there is any artwork in ~/.xbmc/userdata/addon_data/pvr.mythtv.cmyth/cache/
that are not displayed. If you have a lot of artwork it can take a while before it is transfered.

And if possible post the names of the artwork that is not displayed. Especially the middle part of the names. Usually it is named like: title_season X_coverart.jpg.
The regex used to match this is: "%s.*_%s\\.(?:jpg|png|bmp) where the first %s is the title and second %s the storage group. It may need to be tuned to get the tv shows artwork.

Thanks for the regex, that totally works for me!

as for the cache, it contains a coverart, fanart and preview folder. All my artwork stored on the server is downloaded and present. The artwork the displays is:

Code:
1333657067_Monsters Season 1_fanart.jpg
Monsters Season 1_fanart.jpg
1333657115_Bobby Fischer against the World Season 1_fanart.jpg
Bobby Fischer against the World Season 1_fanart.jpg
1333657158_Home and Away Season 1_fanart.jpg
Home and Away Season 1_fanart.jpg
1333657170_Hairspray Season 1_fanart.jpg
Hairspray Season 1_fanart.jpg
1333657177_Defiance Season 1_fanart.jpg
Defiance Season 1_fanart.jpg
1333657185_Street Kings Season 1_fanart.jpg
Street Kings Season 1_fanart.jpg
1333657193_In the Valley of Elah Season 1_fanart.jpg
In the Valley of Elah Season 1_fanart.jpg
1333657201_Heist Season 1_fanart.jpg
Heist Season 1_fanart.jpg
1334041127_Star Trek: First Contact Season 1_fanart.jpg
Star Trek: First Contact Season 1_fanart.jpg
1334420225_WALL-E Season 1_fanart.jpg
WALL-E Season 1_fanart.jpg
1334531883_Lone Star Season 1_fanart.jpg
Lone Star Season 1_fanart.jpg


That which does not:
Code:
Homeland Season 1_fanart.jpg
The Reader Season 1_fanart.jpg
1333657208_The Reader Season 1_fanart.jpg
The Story of Maths Season 1_fanart.jpg
The Vampire Diaries Season 1_fanart.jpg
Two Mules For Sister Sara Season 1_fanart.jpg
Scott & Bailey Season 1_fanart.jpg
1334607443_Scott & Bailey Season 1_fanart.jpg
One Tree Hill Season 1_fanart.jpg
Formula One Season 1_fanart.jpg

You'll notice that some shows/movies have two lots of art work titling going on..... but two that have both sets of fanart are also in the group of shows that don't display any. I'm going to delete the cache and let it repopulate and see what happens....

Jim

Right, deleted the cache, and now every entry it downloads is displayed properly:

Code:
ls fanart/
1333657067_Monsters Season 1_fanart.jpg
1333657115_Bobby Fischer against the World Season 1_fanart.jpg
1333657158_Home and Away Season 1_fanart.jpg
1333657170_Hairspray Season 1_fanart.jpg
1333657177_Defiance Season 1_fanart.jpg
1333657185_Street Kings Season 1_fanart.jpg
1333657193_In the Valley of Elah Season 1_fanart.jpg
1333657201_Heist Season 1_fanart.jpg
1333657208_The Reader Season 1_fanart.jpg
1334041127_Star Trek: First Contact Season 1_fanart.jpg
1334420225_WALL-E Season 1_fanart.jpg
1334531883_Lone Star Season 1_fanart.jpg
1334607443_Scott & Bailey Season 1_fanart.jpg

however, not all fanart is being pulled from my server:
Code:
Formula One Season 1_fanart.jpg
Homeland Season 1_fanart.jpg
One Tree Hill Season 1_fanart.jpg
The Story of Maths Season 1_fanart.jpg
The Vampire Diaries Season 1_fanart.jpg
Two Mules For Sister Sara Season 1_fanart.jpg
(This post was last modified: 2012-04-24 10:54 by Jimmer.)
find quote
bilbonvidia Offline
Fan
Posts: 433
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #645
at a guess this is what is going wrong when I try and watch live tv

23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] max_analyze_duration 5000000 reached at 5000000
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 2 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 3 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 4 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 5 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 6 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))

does this suggest the compile went wrong? I'll try the windows version later to see if I get similar behaviour.
find quote
darkwizard Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #646
i musta miss something i did compile it and started up enabled pvr but hit live tv and channels it says no pvr client started
find quote
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #647
(2012-04-24 10:47)Jimmer Wrote:  Thanks for the regex, that totally works for me!

as for the cache, it contains a coverart, fanart and preview folder. All my artwork stored on the server is downloaded and present. The artwork the displays is:

Jimmer: do you have to do something special on the mythbackend to get the fanart to download? I thought that the fanart was being pulled directly by XBMC (using the information from mythbackend) using the thetvdb and themoviedb add-ons (this is how the Mythbox add-on does it, it doesn't rely on fanart supplied by mythbackend), not directly from the mythbackend. I'm using Myth 0.23.1-fixes and I couldn't find the options to get mythbackend to pull fanart/coverart. What is your setup on the myth side?

(2012-04-24 11:17)bilbonvidia Wrote:  at a guess this is what is going wrong when I try and watch live tv

23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] max_analyze_duration 5000000 reached at 5000000
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 2 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 3 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 4 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 5 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] decoding for stream 6 failed
23:02:35 T:2769161072 DEBUG: ffmpeg[A50E0B70]: [mpegts] Could not find codec parameters (Unknown: none ([11][0][0][0] / 0x000B))

does this suggest the compile went wrong? I'll try the windows version later to see if I get similar behaviour.

Looks like live TV is having problems (see my post above) with the latest master from github, not just with myth 0.24, but also with my myth 0.23.1-fixes installation. Has anyone got live TV working successfully with any version of myth using the current github master?
(This post was last modified: 2012-04-24 19:34 by fiveisalive.)
find quote
chrisgibbs Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #648
I have been playing around with XBMC and the libcmyth PVR addon for Mythtv.

Mythtv is working for me (version v0.24.1-80-g1de0431) and displays the correct channels and liveTV.

However when using XBMC, I browse the LiveTV guide, it pulls down the EPG fine but then when I select a channel the working status indicator comes up and no liveTV stream is played

XBMC logs dont seem to give any hints when checking for ERROR:

http://xbmclogs.com/show.php?id=1881

Code:
.
03:50:14 T:139860635543296   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_storagegroup_update_fileinfo: QUERY_SG_FILEQUERY failed(EMPTY LIST)
03:50:14 T:139860635543296   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_storagegroup_get_filelist: results= 1
.
.
03:50:15 T:139860635543296   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_proginfo_get_detail: cmyth_proginfo_fill() failed
.
.
04:06:14 T:139860627150592   ERROR: AddOnLog: MythTV cmyth PVR Client: cleanCache, caught exception during cache cleaning
.

XBMC is the latest git pull from https://github.com/tsp/xbmc.git.

I'm running Kbuntu 11.10 x64, kernel 3.0.0-17-server.

Not sure what the issue is and would appreciate a hand if anyone can point me in the right direction.

Cheers

Chris
(This post was last modified: 2012-04-24 20:44 by chrisgibbs.)
find quote
darkwizard Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #649
will cmyth work on ubuntu 10.10 maverick?
or do i need to goto ubunutu 11?
find quote
bilbonvidia Offline
Fan
Posts: 433
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #650
Okay, I have installed the windows version and live tv is working on that BUT everything has subtitles stream enabled??
Live tv still not working on the xbmcbuntu machine.
find quote
Post Reply