DABDig Forums
register | my profile | my bookmarks | my notifications | search | faqs
Show topics:     
   All Forums
    All other devices
        dabdig.map
 
  Jump to:     
Bookmark This Topic | E-mail This Topic To A Friend   Previous Topic   Next Topic
Author Topic
zoid
Posts: 4
From:
Registered: 02/10/2005 12:28
Show this author's profile    Email the author of this post
Posted: Sunday, October 2, 2005 - 12:44 Edit this message  Reply to this message with quotes  (IP Logged)

I'm trying to use dabdig to set up recordings via WebScheduler. My device is a Nova-T PCI (new model).

So that I don't have to change channel names in either WebScheduler or Digiguide, I'm trying to use a dabdig.map file to do the translations.

Here is my first attempt to use it:

[WebScheduler]

BBC 1 London=BBC ONE

BBC 2 London=BBC TWO

BBC 3=BBC THREE

However, it doesn't work! Dabdig just uses the original name as can be seen in dabdig.txt:

02/10/2005 12:20:57 - 2.54b09 - "RECORD" "BBC 1 London" "01" "The Politics Show" "2005" ...

This is also the case when I try using [ProgDVB] as the device name.

However, if I try to use [General] in the map file I get an error message with log entry:

02/10/2005 12:18:41 - 2.54b09 - Channel Map GENERAL does not match a known device. Fix dabdig.map

Use the full device name not the generic DevName field

Any ideas fow to do it properly?

Zahir.

Paul Webster
Posts: 371
From: UK
Registered: 22/05/2004 19:27
Show this author's profile    Email the author of this post    Visit the author
Posted: Sunday, October 2, 2005 - 23:26 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

The [general] should be [default] - I guess I have a documentation problem somewhere.

Anyway - lets step back a bit first.

The dabdig.txt entry shows the command line that DABDig was run with - i.e. the channel name from DigiGuide. This is before any translation by the dabdig.map file.

If you want to see it doing the conversion then set TraceFlags=4 (or something around that number).

What you had done at the start seemed right to me. So - I suggest that you revert to the previous settings and leave the trace level at 4 and repeat the test - then take a look at the resulting dabdig.txt (you will also see the command line that was fired at WebScheduler).

If there was no WebScheduler invocation then I suspect that the issue is the DefaultDevice setting not matching the device type. In that case - verify that only UseWebScheduler (or UseProgDVB ) is set to 1 and that DefaultDevice is empty "DefaultDevice=".


Paul Webster

DABDig creator

Edited by Paul Webster on Sunday, October 02, 2005 - 6:26:43 PM

zoid
Posts: 4
From:
Registered: 02/10/2005 12:28
Show this author's profile    Email the author of this post
Posted: Sunday, October 2, 2005 - 23:39 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

OK. It's definitely sending the wrong channel name to WebScheduler. Here's the extra trace:

02/10/2005 23:32:22 - 2.54b09 - Trace:1 - "RECORD" "BBC 3" "07" "Friday Night with Jonathan Ross" "2005" "10" "02" "23" "00" "60" "A mix of music and celebrity chat with Jonathan Ross. Guests are Tracy-Ann Oberman, Louis Theroux and Lee Evans. Plus music from American band Louis XIV. (Subtitles)" "Entertainment"

02/10/2005 23:32:32 - 2.54b09 - Trace:4 - Set device 0Big GrinVB: Channel:07:

02/10/2005 23:32:40 - 2.54b09 - Trace:1 - Programme started 32 minutes ago

02/10/2005 23:32:41 - 2.54b09 - Trace:1 - Start time is now: 02/10/2005 23:33

02/10/2005 23:32:42 - 2.54b09 - Trace:4 - on:WebScheduler - Original channel assignment:07

02/10/2005 23:32:43 - 2.54b09 - Trace:4 - on:WebScheduler - Reset channel assignment to:07

02/10/2005 23:32:44 - 2.54b09 - Trace:2 - on:WebScheduler - WebScheduler Channel Map found for:BBC 3 to:BBC THREE

02/10/2005 23:32:47 - 2.54b09 - Trace:2 - on:WebScheduler - WebScheduler command:http://localhost:8429/servlet/ScheduleDataRes?captype=2&type=0&Submit2=Submit&action=03&name=Friday+Night+with+Jonathan+Ross&channel=BBC+3&hour=23&min=33&day=2&month=9&year=2005&duration=27

02/10/2005 23:32:53 - 2.54b09 - Trace:1 - on:WebScheduler - Full command line: http://localhost:8429/servlet/ScheduleDataRes?captype=2&type=0&Submit2=Submit&action=03&name=Friday+Night+with+Jonathan+Ross&channel=BBC+3&hour=23&min=33&day=2&month=9&year=2005&duration=27

cheers, Zahir.

Paul Webster
Posts: 371
From: UK
Registered: 22/05/2004 19:27
Show this author's profile    Email the author of this post    Visit the author
Posted: Sunday, October 2, 2005 - 23:51 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

Ah - ok - I see the problem.

The dabdig.map file is really for giving a different channel number rather than a different channel name. However, this facility can be (ab)used ... but you then have to tell DABDig to pass the channel "number" to WebScheduler.

WebSchedulerTakeNum=1

i.e. you are really converting the "07" to "BBC THREE" and then asking DABDig to put that in the number field to pass to WebScheduler ... which then thinks it is the channel name (which it is really) and all should be well.


Paul Webster

DABDig creator

zoid
Posts: 4
From:
Registered: 02/10/2005 12:28
Show this author's profile    Email the author of this post
Posted: Monday, October 3, 2005 - 01:19 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

OK. So setting WEBSCHEDULERTAKENUM=1 works OK when there is a channel mapping defined.

But for channels where no translation is required, the number gets sent instead. This doesn't work.

So for now I'll just change the WebScheduler channel names to match Digiguide. This is easy enough but since the mappings don't seem to be stored in a plain text file, it needs to be redone manually every time I rescan channels...

cheers, Zahir.

Paul Webster
Posts: 371
From: UK
Registered: 22/05/2004 19:27
Show this author's profile    Email the author of this post    Visit the author
Posted: Monday, October 3, 2005 - 05:06 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

In that case wouldn't it be easier to make the dabdig.map handle all of the names ... since it is a simple text file and would not matter if you rescanned (unless a new channel appeared ...).

You would make the left and right hand side the same for those other channels.


Paul Webster

DABDig creator

zoid
Posts: 4
From:
Registered: 02/10/2005 12:28
Show this author's profile    Email the author of this post
Posted: Monday, October 3, 2005 - 05:22 Edit this message  Reply to this message with quotes  Delete this message  (IP Logged)

yup makes sense. it's all working now so I'll do all the channels this way...

Cheers, Zahir.

  Previous Topic   Next Topic

Admin/Moderator: Thread Management