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) DVB-T Radio v
1 2 3 Next »
DVB-T Radio Support

Thread Closed 
 
  • 0 Vote(s) - 0 Average
DVB-T Radio Support
akiller
Offline

Junior Member

Posts: 30
Threads: 1
Joined: Nov 2006
#91
2008-05-29, 09:48 PM
bgowland Wrote:Great - glad you got it working. I'm a bit concerned that it didn't terminate itself properley though. I'll review the code.

The systray app. has no way of knowing that the dvbtr process is using a tuner and I don't think there is any way that the plugin can pass that information. Just one example of how I can only go so far to integrate things with GB-PVR.

WRT Live TV. I can see the logic as to why it wouldn't work immediately afterwards but would've thought that waiting perhaps 15-30 seconds after stopping the radio, it should work. I'll do some tests.

Cheers,
Brian

I wonder if it might have been down to me closing PVRX2 without clicking stop the first time around?

Ahh, I thought the systray app would check every so often to see which tuners were in use and update itsself, that explains it then Smile.

I'd be quite interested in the radio recording too so I'd be willing to test it out should you ever release it. Even being able to manually record would be good enough for me. Failing that I guess I could leave it running all day and grab and cut the created MP3 manually, though not ideal Smile.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#92
2008-05-29, 10:10 PM
akiller Wrote:I wonder if it might have been down to me closing PVRX2 without clicking stop the first time around?
Yes, that may have complicated things. Despite my attempts to build in fail-safes and so on, it seems they don't always work. If in doubt check Task Manager and kill the dvbtr.exe process if you need to.

Quote:I'd be quite interested in the radio recording too so I'd be willing to test it out should you ever release it. Even being able to manually record would be good enough for me.
I ported the dvbtr.exe internals to a Windows Service last night - it's had limited testing but seems to be stable and will form the basis for recording as well as playback. The EPG view is tricky so I was thinking today that I might make the first version with a manual record approach (channel plus start/stop time etc).

Quote:Failing that I guess I could leave it running all day and grab and cut the created MP3 manually, though not ideal Smile.
A bit tricky navigating through 8-10 hours of MP3 file - not impossible but, as you say, not ideal. An early Alpha version of my code didn't terminate itself and it stayed running for about 16 hours one day without me realising - the MP3 file was less than 2GB so you're not going to have to worry about running out of disk space on a reasonable sized recordings disk.

I might put an initial recording version out next week if I feel satisfied it's stable.

Cheers,
Brian
akiller
Offline

Junior Member

Posts: 30
Threads: 1
Joined: Nov 2006
#93
2008-05-30, 12:50 PM
bgowland Wrote:Yes, that may have complicated things. Despite my attempts to build in fail-safes and so on, it seems they don't always work. If in doubt check Task Manager and kill the dvbtr.exe process if you need to.

Maybe something like this could work; checking if PVRX2 is loaded and if it isn't then quit dvbtr.exe.

Quote:I ported the dvbtr.exe internals to a Windows Service last night - it's had limited testing but seems to be stable and will form the basis for recording as well as playback. The EPG view is tricky so I was thinking today that I might make the first version with a manual record approach (channel plus start/stop time etc).

Sounds like a good start to me Smile.

Quote:A bit tricky navigating through 8-10 hours of MP3 file - not impossible but, as you say, not ideal. An early Alpha version of my code didn't terminate itself and it stayed running for about 16 hours one day without me realising - the MP3 file was less than 2GB so you're not going to have to worry about running out of disk space on a reasonable sized recordings disk.

2GB isn't too bad I guess. 16 hours of TV recording on the other hand might be another story Big Grin. I have just under a terabyte of space so that's not much of an issue though Smile.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#94
2008-05-30, 11:16 PM
akiller Wrote:Maybe something like this could work; checking if PVRX2 is loaded and if it isn't then quit dvbtr.exe.
I actually do use process enumeration but the other way around - the plugin checks for the Dvbtr.exe. The problem was I was only attempting to close the first instance if it was still running when pvrx2.exe restarted. The code didn't check if the 'close' operation was successful and would then start a new process (which confused things if it wasn't successful). I've modified the code for the next release to cope with this and use 'kill' if the 'close' operation fails.

Of course, the next release will have the option to use the Windows Service which will run all the time anyway so it's not an issue in that case.

Cheers,
Brian
akiller
Offline

Junior Member

Posts: 30
Threads: 1
Joined: Nov 2006
#95
2008-05-31, 03:40 PM
Ah ok. Glad you've got it sorted then Smile.
fuzzweed
Offline

Posting Freak

Posts: 1,210
Threads: 200
Joined: May 2006
#96
2008-06-01, 12:11 PM
will this plugin run correctly on a client machine?
[SIZE="1"]Server: Win7 N | AMD Phenom II X4 3.2GHz | 4Gig RAM | Gigabyte GA-MA770-DS3 Mobo | 5TB+ HDDs | 2x BlackGold Twin HD DVB-T| ATI HD 5450 | Cambridge Audio DAC Magic
Client 1: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | SPDIF pass through
Client 2: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | C-MEDIA USB DAC
Android: Samsung Galaxy S2 GT-I9100 4.4.2 Cyanogenmod 11[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#97
2008-06-01, 07:09 PM
fuzzweed Wrote:will this plugin run correctly on a client machine?
To be honest - I don't know. I've never tried GB-PVR in client-mode and so I'm not sure how it works. I know it works OK on an MVP so if the mechanisms are similar then it might.

Give it a try and let me know what happens. If it doesn't work then post the logfiles and I'll see if I can work out why. If you've read the recent posts, you'll have seen that I'm reworking the code to use a Windows Service so now is a good time for me to rewrite things, if needed, to get it to work on a client.

Cheers,
Brian
peterh
Offline

Member

Posts: 147
Threads: 44
Joined: Aug 2005
#98
2008-06-02, 08:13 AM
bgowland Wrote:Did you download the zip with the Channel Logos in? The following line from you log suggests you didn't or you extracted it to the wron place.


It will prompt you to ask if you want to scan for channels if it doesn't have any channel data. This can take anything from 30 seconds to a minute or so.


Cheers,
Brian

Sorry for the delay...it was in the wrong place; Thanks
fuzzweed
Offline

Posting Freak

Posts: 1,210
Threads: 200
Joined: May 2006
#99
2008-06-02, 11:15 AM
bgowland Wrote:To be honest - I don't know. I've never tried GB-PVR in client-mode and so I'm not sure how it works. I know it works OK on an MVP so if the mechanisms are similar then it might.

Give it a try and let me know what happens. If it doesn't work then post the logfiles and I'll see if I can work out why. If you've read the recent posts, you'll have seen that I'm reworking the code to use a Windows Service so now is a good time for me to rewrite things, if needed, to get it to work on a client.

Cheers,
Brian
OK tried it and it fails on the first channel scan. Looks like its tring to find something it needs on CTonguerogram Files.... gbpvr.db3 when I guess it should be looking for \\server\....gbpvr.db3

[ATTACHMENT NOT FOUND]
[SIZE="1"]Server: Win7 N | AMD Phenom II X4 3.2GHz | 4Gig RAM | Gigabyte GA-MA770-DS3 Mobo | 5TB+ HDDs | 2x BlackGold Twin HD DVB-T| ATI HD 5450 | Cambridge Audio DAC Magic
Client 1: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | SPDIF pass through
Client 2: OpenElec / XBMC | Dell GX280 P4 3.4GHz |2Gig RAM | ATI HD 5450 | C-MEDIA USB DAC
Android: Samsung Galaxy S2 GT-I9100 4.4.2 Cyanogenmod 11[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#100
2008-06-02, 05:48 PM
fuzzweed Wrote:OK tried it and it fails on the first channel scan. Looks like its tring to find something it needs on CTonguerogram Files.... gbpvr.db3 when I guess it should be looking for \\server\....gbpvr.db3
Thanks for that. I can see now how this isn't going to work with the current version.

I'll have a think - there shouldn't be a problem with getting this to work with the Windows Service version I'm working on if the service is running on the gbpvr server machine. I'll need to add a few bits to the plugin though to check for client/server mode and to use the UNC paths. Hopefully this isn't going to be too difficult (famous last words Big Grin ).

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 8 9 10 11 12 … 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  DVB-Radio on NPVR Reddwarf 3 11,259 2010-07-13, 09:15 PM
Last Post: bgowland
  Radio Stations Not Playing JP23 5 7,213 2010-05-27, 02:10 AM
Last Post: bgowland
  DVB-S radio - any interest? bgowland 21 19,294 2010-01-22, 01:35 AM
Last Post: JonnyCam
  Clicking on DVB-T Radio crashes GBPVR sheppy99 5 6,957 2009-11-17, 12:23 PM
Last Post: sheppy99
  DVB-C support? Reddwarf 5 7,508 2009-09-01, 03:17 PM
Last Post: bgowland
  DVB-C Radio? Reddwarf 4 7,360 2009-05-07, 08:14 AM
Last Post: Reddwarf
  DVB Radio v1.6 uploaded to wiki bgowland 31 24,456 2009-04-29, 04:47 PM
Last Post: bgowland
  DVB-S Radio public beta test thread bgowland 2 6,284 2009-04-19, 09:28 PM
Last Post: bgowland
  Radio prevents LIVe TV/recordings Bathman 6 4,137 2008-12-13, 06:02 PM
Last Post: Bathman
  DVBT Radio Service Wont Start smiler 10 7,962 2008-11-26, 07:52 PM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode