Anyone know is there's a way of determine if an object has already defined an event method?
I've got this in the plugin constructor that is being called twice:
Code:
MediaLibrary.OnMediaAddEvent += new AddMediaEventHandler(MediaLibrary_OnMediaAddEvent);
And because I use the IEventNotification the plugin is initialised twice - meaning when i fire the event it fires twice. Anyone know how to check is i've already run the event notification?
I'm currently developing the dvbt radio plugin to maintain a 7 day radio EPG in a SQLite DB (that's the easy bit).
The problem I've got is I want to extract the Now/Next info from the DB, i.e., assuming I've got a full 7 days of EPG, as soon as I start the plugin, I can identify the Now/Next playing radio shows without having to scavenge the dvbt stream.
I can get the 'Now' info with the following (example) SQL statement
Code:
SELECT PROGRAMMES.service_id, PROGRAMMES.title, PROGRAMMES.description, PROGRAMMES.start_time, PROGRAMMES.end_time FROM PROGRAMMES WHERE (start_time <= '2008-05-24 22:50:40Z') AND (end_time > '2008-05-24 22:50:40Z')
The start and end times are created using
Code:
DateTime.Now.ToString("u")
This works fine and I can pull all of the Now playing shows into a DataSet.
The problem is getting the Next shows. I get the DataSet to create a DataTableReader and step through the rows. For each row, I then query the DB with the following example
Code:
SELECT PROGRAMMES.service_id, PROGRAMMES.title, PROGRAMMES.description, PROGRAMMES.start_time, PROGRAMMES.end_time FROM PROGRAMMES WHERE (service_id = '18496') AND (start_time = '2008-05-24 23:00:00Z')
In this case, the service_id matches that of the row returned by the DataSet's DataTableReader and the start_time is the end_time of that show. In other words, the Next show is the one that starts at the end_time of a Now playing show (obviously).
The problem is, I don't get any results returned despite the fact that there are shows in the DB which match the service_id and start_time that I'm passing in the SQL statement.
Zap2xml has been working great for me for months. Then I tried to update my listings yesterday, and it returned only one channel - "I.labs.zap2it.com" containing all of the programs. The problem is also described in an older thread:
When I select 'watch' I get a few seconds, typically 5 but sometimes only 1 or 2, of prefect picture and sound. The picture stops and sometimes I get a no signal error message. The picture is prefect on my regular Freeview TV.
When I replace my MVP by a NMT what is the playbackquality goint to be? Is it exact the same as when i use PVRX2 on a tft pc monitor or is it the same as the good old MVP? Thus without the new intorface and so on?
I had gbpvr and zprocess up and running fine on my mvp, using older versions of both, but Ive recently upgraded to a new quad core Ive built and am looking at a clean install with the latest versions.
I can get it to work fine when using mencoder if it displays a stretched out and cropped, letterbox picture on my tv, but when I change the settings to 720x576 PAL which perfectly fill my tv screen, the picture then becomes pixelated and jerky. Using the same settings but using ffmpeg I get good results - will I lose out by sticking with ffmpeg? Or would I be better off finding out how to fix the mencoder settings?
No rush on answering this, as I said ffmpeg seems good enough for me really.
I'd really like to make gbpvr my standalone media center. This means eliminating my dvd player. My problem is that some dvd's (with special dvd rom features) ask to install interactual player on loading the disk. this is annoying 'cause I have to run accross the room, plug my mouse in and hit cancel. (i'm really lazy). Is there a way to stop this from happening? (I'm sure the dvd has an autorun file that starts the interactual install file). I'd really like to get around this. Any help would be appreciated.
i modified the ATI_HD_Reg_Tweaks_0.14.vbs to include the new settings in newest drivers...detail and denoise have changed location, and some other bits are different but not much...
I left all the old reg tweaks in there and only added things i saw in my driver's .inf file [cat 8.3]
seems to be stable locations for past several drivers...[back to 8.1 i believe]
so i bet they won't change too soon..
Thanx to ExDeus for writing the reg stuff and making it easy to add/modify..