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: #611
(2012-04-20 17:58)InoD Wrote:  Somehow, myth:// seems to be broken since somewhere after a Feb 26 build. I'm integrating your XBMC into OpenELEC's PVR build and today I decided to re-install my system because the latest builds from OpenELEC wouldn't work with my old installation. I'm not quite sure this problem is related to your branch, but I haven't found anyone else reporting this problem on other PVR branches.
When I try to go to "All recordings" or to any show in "TV shows", XBMC crashes and is then restarted.

XBMC log:
http://pastebin.com/Dzn4EqXk
MythTV backend log:
http://pastebin.com/JtEpX8QX

On the same system, playing browsing / playing recordings from 'Live TV > Recordings' and MythBox work fine, but neither of them keep track of what we watched... with > 200 recordings, that is kinda handy.
On Windows (build from March 21; build from April 9 doesn't want to work properly) myth:// does not cause a crash.

I see the same issue in my self-compiled build from master on Fedora Linux, using MythTV 0.23.1-fixes branch.
(This post was last modified: 2012-04-20 18:19 by fiveisalive.)
find quote
InoD Offline
Junior Member
Posts: 38
Joined: Apr 2012
Reputation: 1
Post: #612
(2012-04-20 18:18)fiveisalive Wrote:  I see the same issue in my self-compiled build from master on Fedora Linux, using MythTV 0.23.1-fixes branch.
Interesting...
My master is running on Ubuntu 10.04, using MythTV 0.23.0+fixes24158-ubuntu2 with one library patched (some IPTV fix).
find quote
tdavis Offline
Member
Posts: 87
Joined: Jan 2010
Reputation: 0
Post: #613
It crashes against a 0.24 service also..
find quote
tdavis Offline
Member
Posts: 87
Joined: Jan 2010
Reputation: 0
Post: #614
(2012-04-20 17:58)InoD Wrote:  Somehow, myth:// seems to be broken since somewhere after a Feb 26 build. I'm integrating your XBMC into OpenELEC's PVR build and today I decided to re-install my system because the latest builds from OpenELEC wouldn't work with my old installation. I'm not quite sure this problem is related to your branch, but I haven't found anyone else reporting this problem on other PVR branches.

I'd like to get ahold of openelec-pvr branch that your working on.. Please let me know if I can help in any way!
find quote
InoD Offline
Junior Member
Posts: 38
Joined: Apr 2012
Reputation: 1
Post: #615
(2012-04-20 19:24)tdavis Wrote:  I'd like to get ahold of openelec-pvr branch that your working on.. Please let me know if I can help in any way!
What I do is pull a clean copy of OpenELEC (https://github.com/OpenELEC/OpenELEC.tv.git; master branch).
A modified version of mkpkg_xbmc_pvr then pulls and packs tsp's XBMC PVR sources.
I upload those to my local webserver.
My build script then locally modifies OpenELEC's meta file for xbmc-pvr and renames the patches. (well, it does a little more, but that's the idea)
It then tries to do incremental build of OpenELEC.
This build process is not really stable, because OpenELEC incremental builds tend to break, so I need to clean build results manually (and wait a long time for a full build).
When OpenELEC v2 is released, I will probably use those sources instead of a git pull.

Anyway, I can upload my build results (64-bit ION and Ultra only) to Dropbox when I've got a successful build for both.
My latest successful build:
OpenELEC_PVR-ION.x86_64-devel-20120410202935-r10494.tar.bz2
OpenELEC_PVR-Ultra.x86_64-devel-20120410214446-r10494.tar.bz2
find quote
bilbonvidia Offline
Fan
Posts: 431
Joined: Jun 2011
Reputation: 1
Location: Britain
Post: #616
(2012-04-18 01:14)bilbonvidia Wrote:  Anyone had an issue where live tv wont work after a reboot, both in myth front end and xbmc? If I reconfigure the backend it plays again until re-boot.

My problem was that my dvb-s and dvb-t2 card were swapping device ids on every reeboot so that mythtv though dvb-t2 was dvb-s & vice versa. Managed to stop this using udev rules as per the myth tv forum.
find quote
Jimmer Offline
Donor
Posts: 337
Joined: Jan 2010
Reputation: 3
Location: Sunny Devon, UK
Post: #617
@bilbonvidia

I had the same problem with my cards (but a dual dvb-t and single dvb-t2 in my case)

I got around it by passing the adapter_nr option to the module(s) by specifying it in my /etc/modprobe.d/options.conf:

Code:
options dvb_usb disable_rc_polling=1
options dvb_usb_dib0700 adapter_nr=0,1 force_lna_activation=1
options em28xx_dvb adapter_nr=2

I never thought of writing a udev rule, just shows how many ways there are to skin a cat in linux!
find quote
tdavis Offline
Member
Posts: 87
Joined: Jan 2010
Reputation: 0
Post: #618
(2012-04-20 21:43)InoD Wrote:  Anyway, I can upload my build results (64-bit ION and Ultra only) to Dropbox when I've got a successful build for both.
My latest successful build:
OpenELEC_PVR-ION.x86_64-devel-20120410202935-r10494.tar.bz2
OpenELEC_PVR-Ultra.x86_64-devel-20120410214446-r10494.tar.bz2

Hey, thanks, that even matches the version of openelec I've been using.. Now to download and setup a PXE boot for it.
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #619
I've updated the addon now. I rewrote the artwork grapper so the greedy downloading should be fixed now. The downloading is takinf place in the background now and the preview image will be used if no fanart/coverart is found.

The regex for generation folder names for series has been changed. It can now be used for naming both the folder and title of the series inside the folder using (?<folder>) and (?<title>) in the regex. The default value will use the title as the folder name and subtitle as the title. I've also added a new regex to detect from the title+subtitle if the recording belongs to a series. If the regex match the title::subtile name the recording will be classified as a series regardless of duration and genre. The default value "" doesn't match any recordings.
In my case the series are named like this:

Sagen genåbnet (26): Slagsbrødre
The Walking Dead (18)
Rejsebureauet (4:9)

I use the following regex to extract the foldername before the episode number and use the episode number or the part of the title after the episode as the title:
Code:
^(?<folder>.+?)(\([[:digit:]]+\):(?<title<.+)$|\((?<title>.+?)\))
And the following regex to check if it is a part of a series:
Code:
.+?\([[:digit:]]+\)($|:.+$)

I also fixed a major bug in the windows version. It turned out that the mutex in libcmyth was disabled in the windows version. This caused some unpredictable errors when two threads concurrently send messages to the backend. The windows build in the first post has been updated.

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #620
New update. Timeshift is working now!

Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
find quote
Post Reply