- General
Add a simple remote execution mechanism.
Initially requires a shared folder (with the remote system where the recording is to be done).
Simply drops a file into the share containing the parameters of the request.
A batch file running in a loop can then easily find the file and get a local DABDig to action it.
Also added an "All" function for multi-device installations - example from requestor was to record the same channel from both DAB and Digital TV - i.e. belt and braces solution.
One day ... should be extended to "Any" and then let DABDig pick the one that appears to be free (and has highest priority).
(256b22)
Monday, January 23, 2006
Saturday, January 14, 2006
256b20 available
- Streaming
Added parameter substitution to Streaming and Streaming2 (via CmdOverride).
- WebScheduler
Added support for "radio" indicator in channel assignment (or channel name) so that it can trigger different URL. This allows a different capture type to be set because WebScheduler seems to have problems with automatic recording of audio only DVB-T stations.
(256b20)
Added parameter substitution to Streaming and Streaming2 (via CmdOverride).
- WebScheduler
Added support for "radio" indicator in channel assignment (or channel name) so that it can trigger different URL. This allows a different capture type to be set because WebScheduler seems to have problems with automatic recording of audio only DVB-T stations.
(256b20)
Thursday, January 12, 2006
Leadtek and DVBViewer - part 2
- Leadtek Winfast
The Leadtek Winfast DTV1000 looks like it is now close to working. There were about 5 fields in the record that have either changed meaning or needed to be set-up.
Now need to parse their channel list file to perform lookups - this will be a bit complicated as the file format is a bit convoluted - but at least it is all in plain text.
- DVBViewer
DVBViewr Pro 3.2.6 is now working. I went the COM route in the end. Turned out to be quite easy. However, they take the date using the local settings of the PC. For now I have made the syntax configurable but really should do it automatically and allow an override.
Handling the new text format does not seem so important for now because the free Technisat version still seems to use the old format.
The Leadtek Winfast DTV1000 looks like it is now close to working. There were about 5 fields in the record that have either changed meaning or needed to be set-up.
Now need to parse their channel list file to perform lookups - this will be a bit complicated as the file format is a bit convoluted - but at least it is all in plain text.
- DVBViewer
DVBViewr Pro 3.2.6 is now working. I went the COM route in the end. Turned out to be quite easy. However, they take the date using the local settings of the PC. For now I have made the syntax configurable but really should do it automatically and allow an override.
Handling the new text format does not seem so important for now because the free Technisat version still seems to use the old format.
Wednesday, January 11, 2006
Leadtek and DVBViewer
- Leadtek Winfast
Some progress on the revised file format.
Spent some time over last couple of evenings and after a few file exchanges via email I am pretty sure that I have worked out what they have done with their new structure. It is pretty well the same as before but they have done some horrible things - e.g. storing data about the offset of the channel within a Mux and the Mux number - and then storing somewhere else an identifier for the mux and the channel.
Ultimately it will require some automatic parsing of one of their configuration file - but the stupid thing is that on a rescan the file gets re-written and part-time channels that are not broadcasting are lost from the file.
- DVBViewer
I have not had any requests from users for the DVBviewer interface since I first wrote it for someone. My guess is that there are very few users of it - perhaps only one. But a new request has come through from someone else because he could not get it to work. What has happened is that DVBViewer Pro 3.2 has a different interface. The data is pretty much the same as in the old Technisat version but is now in an XML file and has a couple of extra fields. They have also added a COM interface.
So question is - which way to go. Handle the new file format or go with COM.
Initially I thought I would stay file based but since the COM mechanism allows updates to the schedule without having to stop/start DVBViewer then it is probably the best way to go.
Some progress on the revised file format.
Spent some time over last couple of evenings and after a few file exchanges via email I am pretty sure that I have worked out what they have done with their new structure. It is pretty well the same as before but they have done some horrible things - e.g. storing data about the offset of the channel within a Mux and the Mux number - and then storing somewhere else an identifier for the mux and the channel.
Ultimately it will require some automatic parsing of one of their configuration file - but the stupid thing is that on a rescan the file gets re-written and part-time channels that are not broadcasting are lost from the file.
- DVBViewer
I have not had any requests from users for the DVBviewer interface since I first wrote it for someone. My guess is that there are very few users of it - perhaps only one. But a new request has come through from someone else because he could not get it to work. What has happened is that DVBViewer Pro 3.2 has a different interface. The data is pretty much the same as in the old Technisat version but is now in an XML file and has a couple of extra fields. They have also added a COM interface.
So question is - which way to go. Handle the new file format or go with COM.
Initially I thought I would stay file based but since the COM mechanism allows updates to the schedule without having to stop/start DVBViewer then it is probably the best way to go.
Friday, January 06, 2006
Leadtek WinFast queries
- Leadtek WinFast
Two requests came through today.
One from another developer who wants to see how the schedule file works so that he can build his own application. I'll have a look to see how easy it is to extract the relevant parts of my code and send it over to him.
The second was from an existing user who bought himself the new WinFast DTV1000 for Christmas ... and has found that they are using a different mechanism for scheduling to their DTV card. I've asked for some samples and will see what I can do.
Two requests came through today.
One from another developer who wants to see how the schedule file works so that he can build his own application. I'll have a look to see how easy it is to extract the relevant parts of my code and send it over to him.
The second was from an existing user who bought himself the new WinFast DTV1000 for Christmas ... and has found that they are using a different mechanism for scheduling to their DTV card. I've asked for some samples and will see what I can do.
Friday, December 16, 2005
WinTVCap
- WinTVCap
If using GBRecord as a direct replacement for WinTVCap then there is a potential issue with recording consecutive or overlapping programmes.
With WinTVCap it seems to close the current file and start the new one without a problem.
With GBRecord it looks like if there is a slight overlap then the 2nd programme gets cut at the end of the scheduled recording of the 1st programme. Not 100% sure that this is the cause - but put some code in place to wait for GBRecord to exit before issuing the new command.
(256b08)
If using GBRecord as a direct replacement for WinTVCap then there is a potential issue with recording consecutive or overlapping programmes.
With WinTVCap it seems to close the current file and start the new one without a problem.
With GBRecord it looks like if there is a slight overlap then the 2nd programme gets cut at the end of the scheduled recording of the 1st programme. Not 100% sure that this is the cause - but put some code in place to wait for GBRecord to exit before issuing the new command.
(256b08)
Thursday, December 08, 2005
- WinTVPVR
Allow a command line override for people who always record from same channel source - e.g. a Sky box
- General
Make configurable the set of allowed characters in file name - so that extended European characters can be used by those that want to.
Add channel name into list of simple file name substution fields (FileName fields in dabdig.ini)
Allow the divider in the title/filename to be specified - default to a minus-sign as before.
(256b06)
Allow a command line override for people who always record from same channel source - e.g. a Sky box
- General
Make configurable the set of allowed characters in file name - so that extended European characters can be used by those that want to.
Add channel name into list of simple file name substution fields (FileName fields in dabdig.ini)
Allow the divider in the title/filename to be specified - default to a minus-sign as before.
(256b06)
Saturday, December 03, 2005
- TwinHan VisionDTV
Changed the installation defaults to match a TwinHan 2.6 software release since new installations are likely to be running that. Modified the documentation to help users with old TwinHan versions to change the settings back.
This will not change existing settings for someone that is upgrading - i.e. it remains backwards compatible.
(256b01)
Changed the installation defaults to match a TwinHan 2.6 software release since new installations are likely to be running that. Modified the documentation to help users with old TwinHan versions to change the settings back.
This will not change existing settings for someone that is upgrading - i.e. it remains backwards compatible.
(256b01)
Wednesday, November 30, 2005
- FusionHDTV
Just had a new query on this one - again from Australia. The database record formats appear to be the same - so sent over the pre-existing test version to see how it goes.
First reaction is that it appears to work so a few more things to investigate that were left over from before.
e.g. how is the channel number really calculated
Also stuffed the programme title into the file name field - checked for overlength and truncated first.
(255b18)
Just had a new query on this one - again from Australia. The database record formats appear to be the same - so sent over the pre-existing test version to see how it goes.
First reaction is that it appears to work so a few more things to investigate that were left over from before.
e.g. how is the channel number really calculated
Also stuffed the programme title into the file name field - checked for overlength and truncated first.
(255b18)
Sunday, October 02, 2005
- WebScheduler
Had a couple of queries about interfacing with WebScheduler.
Both have similar work-arounds.
One was that recordings of some channels were not working.
The failing ones were where the channel name from the EPG (DigiGuide in this case) did not match the channel name in WebScheduler (e.g. BBC 3 and BBC Three).
This sort of thing could potentially happen with other software that DABDig schedules into. Often it is cirumvented by DABDig performing matching on "3" and "Three" or by using the channel number rather than the channel name.
If the automated ways to get around this do not work - then the user has to do something.
There are essentially 3 routes:
a) tackle the problem at source - and change the name in the EPG (in DigiGuide you can right-click on the channel icon and change the channel detaild)
b) modfy the name in the target - but this might be based on data in receives over the broadcast network and could change back on the next scan that it performs
c) using a mapping facility in DABDig
In this case - the mapping in DABDig was used.
However, there is one extra twist. The mapping facility in DABDig (via the optional dabdig.map file) is really for generating a channel number from a channel name.
So - although this might appear to change BBC 3 to BBC THREE ... that resulting conversion is stored as the "Channel Assignment" (think of it as channel number).
So - you then have to make a small configuration change in DABDig (via dabdig.ini) to tell DABDig to use the channel number when controlling WebScheduler rather than the channel name. The result is that DABDig then sends "BBC THREE" ... exactly as required.
But - there is now an additional problem. Namely, for channels that do not have a name map, the real channel number will be sent rather than the required original channel name. So - while I think of a simple way to resolve it via a change to DABDig - the simple work-around is to put all of the channels into the dabdig.map and for those where the name is the same ... simply put the same value on each side of the mapping.
e.g.
BBC 3=BBC THREE
five=five
The second problem reported was that a feature of WebScheduler is that if it is asked to record an audio only DVB channel (often called radio) using using capture type that it usually uses to record TV (video and audio) then it appears to record but the end result is not saved properly.
Therefore, until WebScheduler is changed, it is necessary to be able to specify a different capture type for audio-only stations.
In theory - this should be easy - especially if a dabdig.map has already been created from the steps above.
Simply hide the capture type in the output map.
e.g.
BBC Radio Four=BBC Radio 4&captype=5
(It might also be necessary to remove the captype=2 from dabdig.ini and add &captype=2 to each of the TV stations if WebScheduler can not handle 2 captypes in the request)
Had a couple of queries about interfacing with WebScheduler.
Both have similar work-arounds.
One was that recordings of some channels were not working.
The failing ones were where the channel name from the EPG (DigiGuide in this case) did not match the channel name in WebScheduler (e.g. BBC 3 and BBC Three).
This sort of thing could potentially happen with other software that DABDig schedules into. Often it is cirumvented by DABDig performing matching on "3" and "Three" or by using the channel number rather than the channel name.
If the automated ways to get around this do not work - then the user has to do something.
There are essentially 3 routes:
a) tackle the problem at source - and change the name in the EPG (in DigiGuide you can right-click on the channel icon and change the channel detaild)
b) modfy the name in the target - but this might be based on data in receives over the broadcast network and could change back on the next scan that it performs
c) using a mapping facility in DABDig
In this case - the mapping in DABDig was used.
However, there is one extra twist. The mapping facility in DABDig (via the optional dabdig.map file) is really for generating a channel number from a channel name.
So - although this might appear to change BBC 3 to BBC THREE ... that resulting conversion is stored as the "Channel Assignment" (think of it as channel number).
So - you then have to make a small configuration change in DABDig (via dabdig.ini) to tell DABDig to use the channel number when controlling WebScheduler rather than the channel name. The result is that DABDig then sends "BBC THREE" ... exactly as required.
But - there is now an additional problem. Namely, for channels that do not have a name map, the real channel number will be sent rather than the required original channel name. So - while I think of a simple way to resolve it via a change to DABDig - the simple work-around is to put all of the channels into the dabdig.map and for those where the name is the same ... simply put the same value on each side of the mapping.
e.g.
BBC 3=BBC THREE
five=five
The second problem reported was that a feature of WebScheduler is that if it is asked to record an audio only DVB channel (often called radio) using using capture type that it usually uses to record TV (video and audio) then it appears to record but the end result is not saved properly.
Therefore, until WebScheduler is changed, it is necessary to be able to specify a different capture type for audio-only stations.
In theory - this should be easy - especially if a dabdig.map has already been created from the steps above.
Simply hide the capture type in the output map.
e.g.
BBC Radio Four=BBC Radio 4&captype=5
(It might also be necessary to remove the captype=2 from dabdig.ini and add &captype=2 to each of the TV stations if WebScheduler can not handle 2 captypes in the request)
Monday, September 26, 2005
Thursday, September 15, 2005
- DigiGuide
Had a request to be able to set the time range in DigiGuide - e.g. to help avoid repeats on BBC 7 when using an Anytime marker.
A more comprehensive solution would check to see if the show was already recorded and skip it - but ... for now at least ... added time range to the DABDig.dgmarker.
Has to be enabled by modifying default marker and changing intRanged = 0 to intRanged = 1 (or some other number).
Had a request to be able to set the time range in DigiGuide - e.g. to help avoid repeats on BBC 7 when using an Anytime marker.
A more comprehensive solution would check to see if the show was already recorded and skip it - but ... for now at least ... added time range to the DABDig.dgmarker.
Has to be enabled by modifying default marker and changing intRanged = 0 to intRanged = 1 (or some other number).
Saturday, August 27, 2005
- Topfield
If the Toppy is used in conjunction with a (slugged) Linksys NSLU2 then it is possible to FTP direct to the Toppy. This can be enabled in DABDig by make 2 one-line edits to the dabdig.ini and creating 2 small text files (that contain the FTP commands). More details are in the next update to the DABDig "manual".
If the Toppy is used in conjunction with a (slugged) Linksys NSLU2 then it is possible to FTP direct to the Toppy. This can be enabled in DABDig by make 2 one-line edits to the dabdig.ini and creating 2 small text files (that contain the FTP commands). More details are in the next update to the DABDig "manual".
Saturday, August 06, 2005
- DABBar
Had a request to be able to use substitutable parameters within OutputTarget when scheduling to DABBar (so that the show name can be used in the directory name).
This did not work because parameter substitution was not used when writing DABBar schedule.
Made a new version that does. It now means that there are some anomolies - i.e. USADateSyntax and ForceRetune. Plus SupportSecondary just results in a fixed string being appended.
You can force the old way of working by setting the new DABBarSchedLine to an empty string - i.e.
DABBarSchedLine=
(255b13)
Had a request to be able to use substitutable parameters within OutputTarget when scheduling to DABBar (so that the show name can be used in the directory name).
This did not work because parameter substitution was not used when writing DABBar schedule.
Made a new version that does. It now means that there are some anomolies - i.e. USADateSyntax and ForceRetune. Plus SupportSecondary just results in a fixed string being appended.
You can force the old way of working by setting the new DABBarSchedLine to an empty string - i.e.
DABBarSchedLine=
(255b13)
Sunday, July 31, 2005
- Topfield
I should have added this entry about a week ago - quick summary now.
A few new beta builds have been made. Some of the changes for the Topfield support have been done in a fairly general way so that, for exmaple
- General
If more than one DABDig is running at once there can be a reported problem with not getting write access to the log file. This is handled in the code by reporting the issue to the screen and continuing without logging for that run.
I have now enabled the retry code so that it will try a few times to write to the file because there are a few more configurations where people are increasing the alert look-ahead time to being longer than 1 day. Plus a new function to request an immediate action (rather than waiting for the marker to fire) is exposed in DigiGuide 8.2 (Beta) which I have used to help people who want to record on devices that are not always connected to the PC where DABDig is installed.
A problem has been found in command line handling when there is more than one word enclosed in quotes - e.g. "this is a "Programme Description" with quotes in it"
It is more of a feature of how commmand line parsing works in Windows (DOS).
This results in a mess!
This next one will work - although the internal quotes will be stripped - "this is a programme description with "one" quoted word"
There are numerous possible solutions - but I went for one that allows the parameters on the command line to be encoded in the same way as a URL. I then modified the command line parser to decode the data before before "echoing" the command line to the log file. This is to make things look the same to anyone who parses the log file (bad idea) and also to keep the log file easily readable. This additional parsing will only happen if the parameter is prefixed by a special marker - which is currently set to "DABDigURI:" but I might change that before release. Therefore - this new code will not be activated unless that calling program does something special. For DigiGuide it needs a new DABDig.dgmarker - a very simple change. I am holding off making this the default way of working though because DigiGuide 8.2 (beta) will include a new function that allows the marker to modify the command line just before sending it to DABDig ... so I could then replace double-quote with single-quote.
(255b12)
I should have added this entry about a week ago - quick summary now.
A few new beta builds have been made. Some of the changes for the Topfield support have been done in a fairly general way so that, for exmaple
- - there is a new substitutable parameter for the duration in hours and minutes (i.e. a 90 minutes programme can be shown as something like 01:30)
- - some number to name mapping can be applied e.g. to match "BBC 1" with "BBC ONE". This will not work for all devices though.
- General
If more than one DABDig is running at once there can be a reported problem with not getting write access to the log file. This is handled in the code by reporting the issue to the screen and continuing without logging for that run.
I have now enabled the retry code so that it will try a few times to write to the file because there are a few more configurations where people are increasing the alert look-ahead time to being longer than 1 day. Plus a new function to request an immediate action (rather than waiting for the marker to fire) is exposed in DigiGuide 8.2 (Beta) which I have used to help people who want to record on devices that are not always connected to the PC where DABDig is installed.
A problem has been found in command line handling when there is more than one word enclosed in quotes - e.g. "this is a "Programme Description" with quotes in it"
It is more of a feature of how commmand line parsing works in Windows (DOS).
This results in a mess!
This next one will work - although the internal quotes will be stripped - "this is a programme description with "one" quoted word"
There are numerous possible solutions - but I went for one that allows the parameters on the command line to be encoded in the same way as a URL. I then modified the command line parser to decode the data before before "echoing" the command line to the log file. This is to make things look the same to anyone who parses the log file (bad idea) and also to keep the log file easily readable. This additional parsing will only happen if the parameter is prefixed by a special marker - which is currently set to "DABDigURI:" but I might change that before release. Therefore - this new code will not be activated unless that calling program does something special. For DigiGuide it needs a new DABDig.dgmarker - a very simple change. I am holding off making this the default way of working though because DigiGuide 8.2 (beta) will include a new function that allows the marker to modify the command line just before sending it to DABDig ... so I could then replace double-quote with single-quote.
(255b12)
Sunday, July 17, 2005
Tuesday, July 05, 2005
Thursday, June 30, 2005
- WinTV
Added channel name look-up for WinTVPVR (and WinTV Nova-T USB2) users.
Earlier versions of the Nova-T devices used the Technotrend front-end but the Nova-T USB2 uses an updated version of WinTV2K.
If users do not renumber their channels then they might be confused when the wrong channel gets recorded. Unusually the WinTV2K software, when driving the Nova-T USB2 device, does not use the LCN to sort the channels or to use as an index for recording hence the typical channel numbers do not match.
Made this a configurable option because users who have renumbered within WinTV have no problem.
Thanks to AMacdonald for highlighting this facility.
(255b04)
Added channel name look-up for WinTVPVR (and WinTV Nova-T USB2) users.
Earlier versions of the Nova-T devices used the Technotrend front-end but the Nova-T USB2 uses an updated version of WinTV2K.
If users do not renumber their channels then they might be confused when the wrong channel gets recorded. Unusually the WinTV2K software, when driving the Nova-T USB2 device, does not use the LCN to sort the channels or to use as an index for recording hence the typical channel numbers do not match.
Made this a configurable option because users who have renumbered within WinTV have no problem.
Thanks to AMacdonald for highlighting this facility.
(255b04)
Subscribe to:
Posts (Atom)
