New MythTV add-on using libcmyth

  Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jimmer Offline
Member+
Posts: 337
Joined: Jan 2010
Reputation: 3
Location: Sunny Devon, UK
Post: #221
glstr0m:

Hardy Build Deps for pre-eden on ATV1

Hope this helps!

(I think we should free up this thread for the original purpose again now!)

Jimmer
find quote
glst0rm Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #222
Jimmer Wrote:glstr0m:

Hardy Build Deps for pre-eden on ATV1

Hope this helps!

(I think we should free up this thread for the original purpose again now!)

Jimmer

Thank you, this has been really helpful. Now back to regularly scheduled thread programming. Big Grin

Steven
find quote
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #223
Looks like dushmaniac's updated his repo to rebase with upstream:

https://github.com/opdenkamp/xbmc/commits/master

Any chance of a rebase in the tsp trunk? It seems like he's also fixed some various EPG issues.
find quote
cfetzer Offline
Senior Member
Posts: 256
Joined: Jul 2011
Reputation: 11
Post: #224
Awesome work! This looks really promising. I have been using mythbox for a while but this is much better integrated :-)

Right now I also have some epg issues. In the channel view only a few channels show data. The timeline shows data for all channels but the blocks are not at the correct position and some shows are even missing. I live in germany UTC+1 so it could be related to a timezone problem. The details show the correct start/end times.
I'm not sure whether this should be fixed already. If you need more info, i could provide you some logs.

Another thing that comes to my mind is the priority handling between live tv and recordings. If live tv is blocking a recording mythfrontend shows a dialog and lets the user choose. with xbmc the recording gets just skipped without any notification. Do you plan to support this?
In addition there are 2 mythtv settings related to this. One is "LastFreeCard" or "Avoid conflicts between live TV and scheduled shows". The backend will then return the last available tuner for live tv. The other option is "LiveTVPriority" or "Allow live TV to move scheduled shows" that allows the scheduler to use some other tuner for the recording. Those options are evaluated by the backend but set for each frontend in the mythtv database. Unfortunately it seems that they are ignored when using xbmc as frontend.
Any idea how we can get the backend to read them from the database?

Cheers
Christian
find quote
avus m3 Offline
Senior Member
Posts: 247
Joined: May 2010
Reputation: 0
Post: #225
Cool stuff!

[Image: widget]
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #226
Cfetzer: I will try to add the livetv recording priority if I can figure out how it is implemented in MythTV. It may take a while though. The latest changes to dushmaniacs code may have fixed the EPG bug. I will try to pull the changes into my code this weekend. Hopefully I will also have the new scheduling window ready then.
find quote
mronkko Offline
Junior Member
Posts: 8
Joined: Sep 2011
Reputation: 0
Post: #227
tsp42 Wrote:mronkko: I've looked though the log and it looks like xbmc jumps to the end of the video when the stepforward command is recieved. Does the same happen when you use the fast forward button on the GUI? I will try to add some more debug info into the code that should produce a more informative log.

I finally had some time to take a look at this. The player crashes no matter how I do the seek forwarding. Also the timer that is shown for the video is way off. For example, when the video starts, the timer shows 3:15:00 and the total length as 5:17:00. MyhtTV shows that the real length of the recording is 2h 2min.
find quote
cfetzer Offline
Senior Member
Posts: 256
Joined: Jul 2011
Reputation: 11
Post: #228
tsp42 Wrote:Cfetzer: I will try to add the livetv recording priority if I can figure out how it is implemented in MythTV. It may take a while though. The latest changes to dushmaniacs code may have fixed the EPG bug. I will try to pull the changes into my code this weekend. Hopefully I will also have the new scheduling window ready then.

Thank you! :-)
I have a bit more info on the recording priorities:
http://www.mythtv.org/pipermail/mythtv-u...10364.html

The LastFreeCard setting is evaluated in MainServer::HandleGetFreeRecorder (mythtv git: mythtv/mythtv/programs/mythbackend/mainserver.cpp)
The LiveTVPriority setting is read from the database in Scheduler::SchedPreserveLiveTV (mythtv git: mythtv/mythtv/programs/mythbackend/scheduler.cpp)

Looks like the only way to influence those values is through the mythtv settings (database). I think these settings are host based (if you set them in mythfrontend the database entry will contain a hostname). So if xbmc is started on the same host, the backend should somehow be able to use them?

Cheers,
Christian
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #229
I've added a new dialogue to show the recording rules. It can be accessed though the right-click context menu under client actions. Please comment on the design of it. I've also synced with dushmaniac repro.

cfetzer: Thanks. It should be easy to add to the addon.
mronkko: I also encountered a wrong duration of the video and tracked it back to ffmpeg. It might be the same with our video.
find quote
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #230
tsp42 Wrote:I've added a new dialogue to show the recording rules. It can be accessed though the right-click context menu under client actions. Please comment on the design of it. I've also synced with dushmaniac repro.

The dialog box looks good, I guess it's non-functional for the moment though? The timer area looks the same as before, I thought the idea was to replace this with "Upcoming recordings" as per mythfrontend? I guess that's further down the road?
find quote
Post Reply