• 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 148
New MythTV add-on using libcmyth
(2012-05-27, 10:07)InoD Wrote: Ok, thanks. I will test it soon. Well, that does happen, but during startup it first grabs channel icons and probably it is done with that (m_jobqueue is empty) before it starts on the preview icons, but by that time cleanCache() was called. I think this change should do the trick.
The pull request from ktdreyer (168cb10443) causes compile errors on Linux now. Three log calls has CStdString as arguments... they should be converted using c_str() first.

Edit: there is also a compile error in tools.h (line 119), but I have no time to fix it now.

Caching of preview icons is working correctly now, thanks! Now I also do not get 300+ RECORDING_LIST_CHANGE_UPDATE events after every reboot anymore.
I've created a pull request that implements the graceful reconnecting to control, event and database after they got lost.

(2012-05-31, 23:29)tsp42 Wrote:
(2012-05-31, 19:05)jwdv22 Wrote: 3.) if it doesn't work for Windows, is there a OpenElec generic 32 bit flavor?
3) Check InoD's posts.

I do not build the generic 32bit version of OpenELEC. But with the build scripts I've posted, you can do that yourself. Or maybe ZIOLele is going to build it.

(2012-06-02, 04:28)apnar Wrote: Slightly off topic, but you can avoid the need for a local web server. Just drop the tarred up tree in the sources/xbmc-pvr directory. Then create the proper .md5 and .url files along side it. If they all match the openelec build scripts will skip the actual downloading and use the copy in sources.

True. Also, I think you can also point to a local filesystem location in the meta file.
Reply
Here's one feature I'd like to see..

If the channel is marked hidden in mythtv, can xbmc totally ignore it?

On a CableCard system, there is a lot of channels that I just don't care about.. and I've removed those channels from mythfrontend's view.
Reply
tdavis, what do mean? For me I do not see any channels that I've marked as not visible in the epg on xbmc. Are you seeing something different?
Reply
Yes, on startup, the addon is pulling ALL epg guide info, but only showing what I've asked to see.

I'd like it to NOT pull guide data on hidden channels at ALL, unless I've un-hidden a channel, which should just then trigger a re-pull of the EPG.

It makes startup take 2-3 minutes on my systems.. It's a LOT of guide data to pull on a Cable Card system.

For example:

Code:
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'ViendoMovies' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Canal Sur' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'XEIPN US Feed (Canal Once)' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'XEIMT International (US feed)' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'CB TV' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Video Rola' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Cine Mexicano US Feed' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Disney XD' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'CNN En Espanol- Mexico and US' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Mun2' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Tr3s: MTV, Musica y Mas' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'HISTORY CHANNEL EN ESPANOL' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Cine Latino US' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Canal 52MX International' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Fox Deportes' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Discovery en Espanol' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'Infinito US Feed' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'The Movie Channel Extra (Pacific)' loaded from the database
14:26:03 T:139762866321152   DEBUG: PVR - Get - channel 'The Movie Channel (Pacific)' loaded from the database

These are all hidden channels in the mythbackend - all channels that I can't watch (content protected), or don't want to watch (sorry, I don't speak spanish).
Reply
(2012-06-03, 19:59)tdavis Wrote: These are all hidden channels in the mythbackend - all channels that I can't watch (content protected), or don't want to watch (sorry, I don't speak spanish).

I have the same situation. The reason is that the get epg setting for a channel is default true, regardless of the hidden parameter. Until this is changed upstream, you have three options.

Use the channel manager to manually disable epg for all hidden channels.

Use the sqlite command tool (see http://www.sqlite.org/sqlite.html) on the tv db (located in ~/.xbmc/userdata/Database) and set the offending parameter using a batch sql update statement.

Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

Build, install, start xbmc and reset the pvr database in the Live TV settings. Xbmc will rebuild the db with settings so that epg will not be pulled for hidden channels. This what I did, and it has worked out quite well for me.

@tsp: I'd be happy to send you a PR on this (very complicated Wink) fix, if you want to make this part of the package you eventually send to dushmaniac. Let me know what you think.

/D
Reply
Is the EPG working in the eden-pvr branch? I'm asking because I don't see any EPG information besides current/future recording names. EPG is being imported on startup (at lest I see progress bar in the UI) and the guide is working in mythtv. I'm using myth with DVB-T in Poland and EPG from EIT only. What is more when watching recordings/live tv the program name seems to be some part of teletext.

I will try to get more information (log and screenshots) later since I can not access it right now.
Reply
It works for me with Eden-Pvr/MythTV.
Reply
(2012-06-03, 23:29)dodoadoodoo Wrote: Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

Build, install, start xbmc and reset the pvr database in the Live TV settings. Xbmc will rebuild the db with settings so that epg will not be pulled for hidden channels. This what I did, and it has worked out quite well for me.

@tsp: I'd be happy to send you a PR on this (very complicated Wink) fix, if you want to make this part of the package you eventually send to dushmaniac. Let me know what you think.

/D

This is perfect.

thanks!
Reply
Heya,

OK, I've tried both branch's of the latest Windows build and both still crash XBMC.

Here is a snippet of XBMC.log

http://pastebin.com/MVY1CnkP

I cut off the end to fit into pastebin, but basically it is just full of:

18:48:59 T:3012 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)original timestamp string: xxxxxxxxxxxxxxx

EDIT: WOW OK, having just realised that I haven't enabled debug logging, i went back into XBMC and enabled debugging, and now IT WORKS!!!

So now I'll concentrate back on Ubuntu version.
Reply
(2012-06-04, 16:54)pennguin Wrote: Is the EPG working in the eden-pvr branch?

And looking in the log have showed that my under powered ARMbased mysql server can not handle select query to get program guide for 2 days. Working great on other server. Good work guys! Smile
Reply
(2012-06-04, 20:09)tdavis Wrote:
(2012-06-03, 23:29)dodoadoodoo Wrote: Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

Build, install, start xbmc and reset the pvr database in the Live TV settings. Xbmc will rebuild the db with settings so that epg will not be pulled for hidden channels. This what I did, and it has worked out quite well for me.

@tsp: I'd be happy to send you a PR on this (very complicated Wink) fix, if you want to make this part of the package you eventually send to dushmaniac. Let me know what you think.

/D

This is perfect.

thanks!

Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.
Reply
(2012-06-05, 18:00)tdavis Wrote: Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.

That should be handled by the reset pvr db step, no?

/D

Reply
(2012-06-05, 19:13)dodoadoodoo Wrote:
(2012-06-05, 18:00)tdavis Wrote: Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.

That should be handled by the reset pvr db step, no?

/D

yup
Reply
(2012-06-03, 23:29)dodoadoodoo Wrote: Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

/D


dodoadoodoo,
Just wanted to say thanks, this has been bugging me for a while and this looks a good quick fix!
(Can I be cheeky dodoadoodoo and ask you to take a quick look at another problem with EPG I have and see if you can think of a quick fix if you know your way around the PVR EPG stuff? http://forum.xbmc.org/showthread.php?tid=115531 )

Andy - http://twitter.com/andyb2000 http://www.thebmwz3.co.uk/
HTS Tvheadend development (via http://github.com/andyb2000) On Ubuntu with ST STV0299 DVB-S2, Conexant CX24116/CX24118, Philips TDA10046H DVB-T (Freesat and Freeview in the UK)

XBMC via OpenElec on Dell XPS210
Reply
InoD, Do you have a Fusion OpenELEC build? I have tried to compile OpenELEC myself but no joy and the IRC channel doesnt seem to respond when I ask in there.
Reply
  • 1
  • 56
  • 57
  • 58(current)
  • 59
  • 60
  • 148

Logout Mark Read Team Forum Stats Members Help
New MythTV add-on using libcmyth8