Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7
TechnoGuy001

853 posts

Ultimate Geek

ID Verified

  #448179 14-Mar-2011 12:12
Send private message

It works!!!

Silly file structure was what was messing it about.

Changed config file to:
[GENERAL]
Output=TVGuide.xml

[DIAGNOSTICS]
TSFile=00000000132b514b_.mpg
Debug=SETDSMCCPID-1003

put ts file into:
/Users/technoguy001/Downloads/EPG_Collector_for_Mono-1/00000000132b514b_.mpg

and XML file goes into that "/Users/technoguy001/Downloads/EPG_Collector_for_Mono-1"

the XML file seems good too... still one or two errors pop up, but i got to go right now, will post them in a few hours.



SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448187 14-Mar-2011 12:26
Send private message

I'm starting to understand.

The IO exception listed for the ts file missing is generated by a separate 'buffer filling' thread so it's running at the same time as the main program.

That's why the log/stack trace looks strange. I expected to see the exception at the end.

In fact the previous version that used an unmanaged memory buffer was probably OK.

I might change it back to that eventually as it's then the same as a normal Windows collection.

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448188 14-Mar-2011 12:34
Send private message

I also think it will work if you put other paths in the ini file for the output file and the TS file. The files don't need to be in the same directory as the executable.

Use the format for directory paths that is correct for your OS. Don't use the Windows format.

The ones that are in MHEG5 Test.ini are just the ones that I used on Windows.



tokyovigilante
58 posts

Master Geek


  #448208 14-Mar-2011 13:56
Send private message

Looks promising...

http://dl.dropbox.com/u/8420975/EPG%20Collector.log

Now all I have to do is get it embedded in the plugin, and we should be good to go.

Steve, do you mind if I embed the binary and post it up with the plugin source on Github?

tokyovigilante
58 posts

Master Geek


  #448210 14-Mar-2011 14:00
Send private message

Regarding the issues with large TS dumps, once I've parsed a short section to find the DSM-CC PID, I can always dump a TS with just the video PIDs supressed, that will help file sizes.

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448213 14-Mar-2011 14:11
Send private message

Not at all but how do we keep it up to date with new releases, fixes etc?

They aren't very often (release about every 3-4 months, normally one or two fixes soon after a release).

Before you do that I'd like to change it so that if the ts file can't be found you get a sensible message in the log. I didn't do that originally because I only used it for debugging. It might cause a lot of problems otherwise.

And what do we do about documenting it. If you saw the Collector GUI you would see that there a quite a few options available that can go in the ini file. I can write it but where would it be stored?

I can imagine this could be popular with Eye TV users in Europe. They may not have acces to FreeSat or OpenTV EPG.

tokyovigilante
58 posts

Master Geek


  #448217 14-Mar-2011 14:26
Send private message

I'm quite happy to publish the plugin standalone, and have users add their own version of EPG collector configured as they see fit. We can define a location or incorporate that into the plugin settings (which will be an XML file).

I'm just conscious of the ease of use factor. People are already going to have to install the plugin, install mono and change their channel guide over to xmltv. Not a huge deal with one extra step, but I'm all about convenience (and idiotproofing helps support...).

Either way its not going to be tightly bound, just a matter of replacing the EPG collector folder inside the plugin.

I'm quite happy to track your fixes as well.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448220 14-Mar-2011 14:33
Send private message

Let's embed it for the time being. It sounds like it's less error prone. I can give you the zip when I release anything on Sourceforge.

Where would documentation on the ini file go? I'll knock that up - it will just be a text file.

I'm testing the change for logging the file missing at the moment so I'll get it to you in a couple of hours.

tokyovigilante
58 posts

Master Geek


  #448222 14-Mar-2011 14:35
Send private message

No problem, thanks. I'll host it up on github and include it with the plugin i guess.

I'm just finalising the integration of EPG collector with the plugin now, then will take it downstairs to the TV to test.

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448228 14-Mar-2011 14:57
Send private message

Here's the latest.

http://rapidshare.com/files/452435961/EPG_Collector_for_Mono.zip

It's got the check for the file missing and I've reverted back to using the memory buffer in unmanaged memory as it makes it the same as the rest of the app. I don't think that was causing the earlier problems anyway.

I've also removed some files it wasn't using.

Steve

jonherries
1396 posts

Uber Geek

Trusted
Subscriber

  #448245 14-Mar-2011 16:01
Send private message

Hi guys,

With regards to the dummies.

Currently I have a ical automator script downloading the xmltv script from the net, it then opens the xml file in eyetv (which imports the listings).

Presumably much of the integration of the plugin and epg collector could be managed through this method. We could keep the components separate and therefore updatable?

Like I said earlier, I am happy to test.

Jon

tokyovigilante
58 posts

Master Geek


  #448260 14-Mar-2011 16:36
Send private message

The EPG Collector will ride along with the EyeTV plugin, and sit in /Library/Application Support/EyeTV/Plugins. The EPG is read directly from the DVB stream, and be passed to EyeTV by the plugin. No net access required, and no iCal scripts.

I'll post once I've worked out the bugs over the next couple of days. If it works probably not much to test, all the hard work's already been done by Steve.

-Ryan

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448264 14-Mar-2011 16:45
Send private message

Whenever I do a release on Sourceforge I also put up a copy of the source code so that others can use it for reference or in case I'm no longer available to maintain it (ie deceased).

Can we do the same with the plugin so that in the event of your untimely demise someone else can pick it up and run with it?

Apologies if I'm talking complete rubbish here but I have no idea how you are building the plugin or what exactly you release.

Steve

SJB

SJB
2945 posts

Uber Geek
Inactive user


  #448265 14-Mar-2011 16:47
Send private message

jonherries: Hi guys,

With regards to the dummies.

Currently I have a ical automator script downloading the xmltv script from the net, it then opens the xml file in eyetv (which imports the listings).

Presumably much of the integration of the plugin and epg collector could be managed through this method. We could keep the components separate and therefore updatable?

Like I said earlier, I am happy to test.

Jon
Do you have satellite or terrestrial?

Might be nice to test satellite and we could also then try an OpenTV collection.

tokyovigilante
58 posts

Master Geek


  #448269 14-Mar-2011 16:54
Send private message

SJB: Whenever I do a release on Sourceforge I also put up a copy of the source code so that others can use it for reference or in case I'm no longer available to maintain it (ie deceased).

Can we do the same with the plugin so that in the event of your untimely demise someone else can pick it up and run with it?

Apologies if I'm talking complete rubbish here but I have no idea how you are building the plugin or what exactly you release.

Steve

The plugin is basically an Xcode project written in Objective-C, set up to link with the EyeTV SDK headers, and run EyeTV in debug mode. This is a bit of a fiddle and requires running a kernel extension to disable the ability of compiled software to run under the debugger (http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_ATTACH.20080122.html), but works OK. That isn't required just to use the plugin.

I'm quite happy to put the code up on github so people can add/improve it, although hopefully I can avoid the reaper a little longer ;)

It doesnt actually work currently, and I want to fix a few of my more egregious errors and sloppy hardcoding etc before I post it up. Using HB's code obliges me to release it under the GPL anyway. 

1 | 2 | 3 | 4 | 5 | 6 | 7
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.