DABDig Forums
register | my profile | my bookmarks | my notifications | search | faqs
Show topics:     

Note: You must be registered in order to post a topic or reply.
To register, click here. Registration is FREE!

Post reply to topic:  Two instances of DVBViewer
(Note: Only the poster of this message, and the moderator can edit the message.)

Your User Name:
Your Password:    Forgotten your password?
Message:
Insert a smile Insert a frown Insert a big grin Insert a wink Insert a razz (stick out tongue) Insert a snore Insert roll eyes Insert mad Insert evil Insert a clown Insert a blush Insert kisses Insert an eek! Insert cool   Add other emotions to your message    
Add other Forum Code to your message
  Remember Me: uses a cookie to remember your login details.
Signature: adds your profile signature to the end.
Automatically parse URLs: automatically converts internet addresses into forum code.
Email Notification: get emails sent to you whenever someone replies.

T O P I C     R E V I E W
aarons

Hi there,

I used to run two programmes off my DABDig installation - DVBViewer for Satellite, and DigiTV for DTT.

Now I've (finally) abandoned DigiTV, and replaced it with a second instance of DVBViewer. So I'm running two DVBViewers, out of different directorys, one for DSAT and one for DTT.

So, I was wondering. Would it be possible to add a second instance of DVBViewer to the DABDig system? Can I do it myself through the ini file, or is it more complicated than that?

Thanks for the help, as ever - and thanks, as ever, for DABDig - which has been helping me sort out my recordings now for the best part of three years! Smile

R E C E N T    P O S T S     (newest first - Review the full topic)
Paul Webster

There might be another way ... I'll send you another test version with some ideas.


Paul Webster

DABDig creator

aarons


I wonder if renaming the DVBViewer executable will have an effect on how it declares itself via the COM API ...

Could rename one of them as DVBViewer2.exe (and same in dabdig.ini) and I could make another change so that you can specifiy which COM object to use (i.e. dvbviewer. or dvbviewer2.)

Will have to wait until tonight anyway.

Other route is to find another application that is supported by DABDig and that can drive one of your cards.


Paul Webster

DABDig creator


changing the names of the com object is a really interesting idea. i tried renaming the exe files.. but didn't work - obviously. i hadn't realised that you'd have to change the dabdig code as well.

i'm still reluctant to try any other software. i think, on balance, if i can't get it working with two instances of dvbviewer, i'll just reduce my expectation! but it would be great to get it working the way i wanted.

PS: i tried sending you a plain txt email, but that was rejected too. i'm happy to use the forum though, it's ok Smile Hope you can get it sorted.

Paul Webster

Re email ... try not to send me HTML-formatted email.


Paul Webster

DABDig creator

Paul Webster

I wonder if renaming the DVBViewer executable will have an effect on how it declares itself via the COM API ...

Could rename one of them as DVBViewer2.exe (and same in dabdig.ini) and I could make another change so that you can specifiy which COM object to use (i.e. dvbviewer. or dvbviewer2.)

Will have to wait until tonight anyway.

Other route is to find another application that is supported by DABDig and that can drive one of your cards.


Paul Webster

DABDig creator

aarons

Hi Paul

Having some difficulty getting back to you via email.

After a day's fiddling with the system, I don't think there's anyway to get DABDig to drive two instances of DVBViewer.

I was hopeful that we might be able to do it as you said, ie, via the API for one and via the schedule file for the other. But I came up against two problems.

1 - I couldn't guarantee which version of DVBViewer would pick up the addition via the API.

2 - I'm using DVBViewer 3.9, and it doesn't seem to like having events adding directly to the schedule file - each time, I got an error message from DABDig saying that the setup.ini file was invalid.

So for now I've retreated, and am just recording one instance of each programme. I've set up Digiguide and DABDig to record from Freeview where possible, and from DSAT where not. So that will have to do for now, unless there are any other ideas? Wink

Thanks for your help yesterday.

aarons

I sent you this reply a while ago, but it was returned to me for some reason...

---

Partially.

I want the ability to be able to record the same programme from DSAT and DTT, on occasion, as a form of redundancy. And also to be able to choose the archive the highest bitrate version.

If I was to do it with one instance of DVBViewer, I don't see how I could schedule two recordings of the same programme, one from DSAT and one from DTT, using DABDig.

The other complication is that I need the files to go into different directories, and I don't think one instance of DVBViewer could do that - I have a directory for DTT and one for DSAT. If they don't, my automatic ipod-encoding system will require major root-and-branch recoding! Smile

---

Anyway. I've now tested it, and you were right - the programmes kept being written to the wrong instance of the programme. So... I'm going to see how far I can get working with one instance. I didn't think it would work effectively, but perhaps it won't be too much of a compromise. I'll let you know how I get on.

Thanks again for your help

Paul Webster

The APIPreferred method talks to an instance in memory ... and I don't know how DABDig would know which is which.

However, see my email since it might be that a single instance of DVBViewer can do what you need (search the DVBViewer sites for references to UserMode).


Paul Webster

DABDig creator

aarons


I've built a test version - and will email you the details of where to get it from because Gmail does not accept zipped up executables.

Note though - if you are using the DVBViewer API (APIPreferred in dabdig.ini) then this won't work for both instances of DVBViewer - would need to find out how to differentiate between them.


Paul Webster

DABDig creator


Thanks Paul. I'll see if I can work around that limitation and report back. I had hoped that because they were separate instances, with separate configuration directories, that I would be able to... but we'll see.

Paul Webster

I've built a test version - and will email you the details of where to get it from because Gmail does not accept zipped up executables.

Note though - if you are using the DVBViewer API (APIPreferred in dabdig.ini) then this won't work for both instances of DVBViewer - would need to find out how to differentiate between them.


Paul Webster

DABDig creator

aarons

Thanks Paul, much appreciated!