NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 1186 1187 1188 1189 1190 … 1231 Next »
Creating a Radio Page (For FM broadcasts)

 
  • 0 Vote(s) - 0 Average
Creating a Radio Page (For FM broadcasts)
defuicus
Offline

Junior Member

Posts: 28
Threads: 6
Joined: Feb 2004
#11
2004-05-05, 02:41 PM
It would nice that this plugin does not use wintv. For some reason, wintv does not run on my computer -- some hardware incompatibility with my asus a7a266 board. And plus I am using a avermedia m150 card, which does have a FM tuner, but I doubt the wintv dll will work with it.
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#12
2004-05-05, 02:59 PM
For now it will call an external radio app, so provided the radio app has command line arguments, you can esstenially use what ever you want.

The configuration section can be customised to be flexible for this.

as for hooking into a DLL for this, thats needs investigation.

Colin.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#13
2004-05-05, 03:46 PM
[b Wrote:Quote[/b] (colin @ May 05 2004,08:49)]@CodeMonkey:

When do you plan to attack this?  any idea how we could use the radio driver/dll directly to save using the external app?

Cheers,
I was probably going to have some time this weekend.  But if you want to knock it off, then by all means have at it [Image: smile.gif]  Initially I was just going to start that radio app that was mentioned earlier.

Going right at the DLL (if there even is one!Wink would be nice but has to many issues (DLLs API which Hauppauge usually doesn't give out and could change at any time, legal issues etc.).  I would probably start looking to see if there is any support for a DirectX mechanism (filter?) for the radio from hauppauge.  Might get lucky.  Worth a email to their tech support anyway.  

Sub, you have any contacts at hauppauge yet that you could hit up for info? [Image: smile.gif]
-CodeMonkey
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#14
2004-05-06, 01:04 PM
@Shappers:

Here you go. try this and let me know what happens Radio Plugin.

Its cheesey but its a start. You have to add in the path to the radio app manually. Will add a dialog box sometime for it. This page will also tell you of issues, etc. that I know of.

Let me know of other issues, etc. I'll fix a few more things, then put of the src code.

Cheers,
Colin.
Shappers
Offline

Junior Member

Posts: 18
Threads: 2
Joined: May 2004
#15
2004-05-06, 03:47 PM
Wow, that was fast. I will load it up tomorrow and test it. My HTPC is currently under the desk at work.. thats the only place I can get any peace to work on it [Image: rock.gif]

Thanks,

Shappers..
Shappers
Offline

Junior Member

Posts: 18
Threads: 2
Joined: May 2004
#16
2004-05-07, 11:36 AM
Hi all,

My testing with this plug-in did not go well unfortunately, when I select one of the preset buttons I get an error box:
"WinTV Radio,
Access violation at address 00422A40. Read of address 00000119."

The WinTV Radio loads in the background however and starts to play it's last tuned frequency. If I click any other buttons it gives the message:
"Radio hardware not present or busy"
It then loads many WinTV Radio icons to the taskbar.

Has anyone else gotton this?  By the way I gave up waiting for the PVR250 USB2 and bought the normal PVR350 card.

Some more suggestions also for future developement:
Rename the main menu button from 'Radio' to 'FM Radio', this would then tie in nicely with 'Net Radio'.
Provide the ability to write in the name of the station so that is displayed instead of the frequency.
Move the 'Main' and 'Stop' button to the top left of the page for consistency with the other functions.

So thanks Colin and hopefully these problems are not too major.

Regards,

Shappers..
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#17
2004-05-07, 12:17 PM
Hey Shappers,

thanks for the feedback. I think I have solved the memory violation stuff. Anyway, can you try out this

Radio.dll

for me and see what happens. I have only added in a couple of your suggestions. I'll add in the station names over the weekend,

Cheers,
Colin.
Shappers
Offline

Junior Member

Posts: 18
Threads: 2
Joined: May 2004
#18
2004-05-10, 06:41 AM
Hi Colin,

Sorry for the delay but here is the results of testing the new dll you gave me. In the first instance it works just fine, I click the first preset and it starts playing the radio, (is it possible to suppress the taskbar when it does this or to keep the GB-PVR program on top)? Then if you directly click on another preset it starts to hang (access violation, hardware not present etc.) the reason being that it is not shutting down the previous instance so it is trying to load the same program many times. If I first click on the stop button then go to another preset then it helps a little and you can maybe get the next frequency this way but then no more. If I look at the taskbar then I can see multiple Win TV radio icons start to build up, which means that the Stop button is not entirely killing the process each time either. If I press stop, then view the taskbar for about 5 seconds with my mouse over the icon then it drops off after a while and then I can continue to select another frequency. If I don't wave my mouse over the icon then it will remain in the taskbar area preventing you from carrying on. So just a minor problem I think in that the Stop button is not correctly shutting down the process, and this also needs to be done if you directly go between different frequncies without first pressing stop.  Thanks again for the effort you are putting into this, it is progressing really fast and I'm sure will be a really useful addition to Subs program.

Regards,

Shappers..
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#19
2004-05-10, 02:28 PM
Hi Shappers

firstly, the icon in the system tray is an issue with the radio app itself. It is not correctly cleaning up after itself if called from the command line with "/QUIT". Well before I go accusing it I should double check this by manually starting up the radio app, then try and close it from the command line and see what happens.

As a side note, does anyone know if its possible to refresh the system tray so that "zombie" icons can be removed?

secondly, i'll change the code for closing the radio app to wait for it to close before trying to start the radio on a new frequency. What would be nice is from the command line to be able to change the radio's frequency of an already running radio - i'll see if that can be done.

thirdly, I don't suffer from the focus problem as I have Windows setup so that the window that the mouse is over if focused. Again, i'll see if its possible to set the focus back to GBPVR once the radio app has been lanched.

@Sub: would I need GBPVR's window ID to raise this to top level so that it remains in focus?

On a plus note, I have nearly finished adding in the station names so that you can choose to either show the radio stations by frequency or by name. I'll add in a display at the button of the page to indicate which station you are currently listening to.

Cheers,
Colin.
Shappers
Offline

Junior Member

Posts: 18
Threads: 2
Joined: May 2004
#20
2004-05-10, 03:17 PM
Great, sounds like you have it all covered  [Image: laugh.gif]

Can't wait to try out the next version.

Thanks,

Shappers..
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM Radio proceng 23 10,816 2011-12-17, 05:03 AM
Last Post: mvallevand
  Channels with identical names-manually creating a channel? keith_leitch 4 2,094 2010-09-25, 08:21 PM
Last Post: martint123
  Net Radio not working on client PC JP23 2 1,763 2010-09-14, 10:45 PM
Last Post: JP23
  Net Radio problem dspdrew 7 2,946 2010-06-19, 03:02 AM
Last Post: dspdrew
  Net radio zb1 4 2,023 2010-03-27, 12:07 AM
Last Post: zb1
  No Radio Times data beyond March 2nd 2010 CureForSanity 11 3,802 2010-03-23, 12:28 PM
Last Post: StevHodge
  Net radio Auto Reconnect Feature kindt nick 2 1,776 2010-02-28, 07:09 PM
Last Post: kindt nick
  convert files.ts recorded by radio stations alevideotestservice 0 1,205 2010-02-09, 09:13 PM
Last Post: alevideotestservice
  Net radio doesnt work on vista 64bit? Zeno110 1 1,502 2010-02-01, 10:19 PM
Last Post: Zeno110
  Page by page scrolling intermittently wont stop gomachv 3 1,939 2009-12-17, 07:44 AM
Last Post: gomachv

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode