Re: [Tlf-devel] CBR/adif import

2017-05-28 Thread Thomas Beierlein
Hi Ervin, hi Fred,

Am Sat, 27 May 2017 14:15:09 +0200
schrieb Ervin Hegedüs :

> The "small" problem is the scoring. Anyway, the cabrillo doesn't
> stores the point(s) and multipliers, so the ideal solution would
> be convert program reads the rules, and sets the correct points
> and the multipliers.
> 
> I think that we can't skip the Tlf, so I'll integrate this
> feature in the future.
> 

An easy way to do it could be using Ervins script to generate a rough
log in tlf's format and then to modify the readcalls() routine so that
it recalculate the points every time the log is read in. Handling the
rules, scoring multis and so on is already in place.

Just my 2c.

73, de Tom DL1JBE

-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--


___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] CBR/adif import

2017-05-28 Thread Fred Siegmund

Great Ervin, that works!

Many thanks, Fred

Am 27.05.2017 um 14:15 schrieb Ervin Hegedüs:

Hi Fred,

that was just a quick finger excercise :), and there is a "small"
problem with the idea, but you can grab a small script to convert
cabrillo format logs to Tlf format:

https://github.com/airween/cbr2tlf/

This is a Python script, just run from anywhere, and pass the
cabrillo PATH as argument. The script will save the converted
format log to near the cabrillo. Eg. if your cabrillo is

/home/fred/tlf/path/to/DH5FS.cbr

then you have to run

$ /path/to/cbr2tlf /home/fred/tlf/path/to/DH5FS.cbr

and the result will be

/home/fred/tlf/path/to/DH5FS.log.

The "small" problem is the scoring. Anyway, the cabrillo doesn't
stores the point(s) and multipliers, so the ideal solution would
be convert program reads the rules, and sets the correct points
and the multipliers.

I think that we can't skip the Tlf, so I'll integrate this
feature in the future.

Now this script sets the points as 1 for all QSO, and ignores the
multis.


Hope that helps.


73, Ervin


On Sat, May 27, 2017 at 10:28:38AM +0200, FS wrote:

No doubt, it would be .CBR We have a contest logger! I would like to use it to 
switch logs between several programms.

73 Fred


Am 27.05.2017 10:00 vorm. schrieb Ervin Hegedüs :


Hi Fred,

On Fri, May 26, 2017 at 09:46:29PM +0200, FS wrote:

Hi guys, is there any way to import a .CBR or .adif file? I never missed it, 
but now..


I'm afraid that currently no such feature - but it's not so big
work to implement. Which one would be better, CBR or ADI?


73, Ervin


--
I � UTF-8





___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] CBR/adif import

2017-05-27 Thread Ervin Hegedüs
Hi Fred,

that was just a quick finger excercise :), and there is a "small"
problem with the idea, but you can grab a small script to convert
cabrillo format logs to Tlf format:

https://github.com/airween/cbr2tlf/

This is a Python script, just run from anywhere, and pass the
cabrillo PATH as argument. The script will save the converted
format log to near the cabrillo. Eg. if your cabrillo is

/home/fred/tlf/path/to/DH5FS.cbr

then you have to run

$ /path/to/cbr2tlf /home/fred/tlf/path/to/DH5FS.cbr

and the result will be

/home/fred/tlf/path/to/DH5FS.log.

The "small" problem is the scoring. Anyway, the cabrillo doesn't
stores the point(s) and multipliers, so the ideal solution would
be convert program reads the rules, and sets the correct points
and the multipliers.

I think that we can't skip the Tlf, so I'll integrate this
feature in the future.

Now this script sets the points as 1 for all QSO, and ignores the
multis.


Hope that helps.


73, Ervin


On Sat, May 27, 2017 at 10:28:38AM +0200, FS wrote:
> No doubt, it would be .CBR We have a contest logger! I would like to use it 
> to switch logs between several programms.
> 
> 73 Fred
> 
> 
> Am 27.05.2017 10:00 vorm. schrieb Ervin Hegedüs :
> >
> > Hi Fred, 
> >
> > On Fri, May 26, 2017 at 09:46:29PM +0200, FS wrote: 
> > > Hi guys, is there any way to import a .CBR or .adif file? I never missed 
> > > it, but now.. 
> >
> > I'm afraid that currently no such feature - but it's not so big 
> > work to implement. Which one would be better, CBR or ADI? 
> >
> >
> > 73, Ervin 
> >
> >
> > -- 
> > I � UTF-8 
> >

-- 
I � UTF-8

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] CBR/adif import

2017-05-27 Thread FS
No doubt, it would be .CBR We have a contest logger! I would like to use it to 
switch logs between several programms.

73 Fred


Am 27.05.2017 10:00 vorm. schrieb Ervin Hegedüs :
>
> Hi Fred, 
>
> On Fri, May 26, 2017 at 09:46:29PM +0200, FS wrote: 
> > Hi guys, is there any way to import a .CBR or .adif file? I never missed 
> > it, but now.. 
>
> I'm afraid that currently no such feature - but it's not so big 
> work to implement. Which one would be better, CBR or ADI? 
>
>
> 73, Ervin 
>
>
> -- 
> I � UTF-8 
>
___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel


Re: [Tlf-devel] CBR/adif import

2017-05-27 Thread Ervin Hegedüs
Hi Fred,

On Fri, May 26, 2017 at 09:46:29PM +0200, FS wrote:
> Hi guys, is there any way to import a .CBR or .adif file? I never missed it, 
> but now..

I'm afraid that currently no such feature - but it's not so big
work to implement. Which one would be better, CBR or ADI?


73, Ervin
 

-- 
I � UTF-8

___
Tlf-devel mailing list
Tlf-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tlf-devel