Bug 26497 - w_scan2 doesn't accept the -k option
Summary: w_scan2 doesn't accept the -k option
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://github.com/stefantalpalaru/w_...
Whiteboard: MGA7-64-OK
Keywords: UPSTREAM, advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-04-19 03:56 CEST by Rolf Pedersen
Modified: 2020-04-24 19:05 CEST (History)
5 users (show)

See Also:
Source RPM: w_scan2-1.0.3-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Rolf Pedersen 2020-04-19 03:56:07 CEST
The w_scan2 man page includes:

-k     generate channels.dvb for kaffeine instead of VDR channels.conf.

The referenced github page from `rpm -qi w_scan2' includes:

     generate kaffeine-0.8.5 channels.dvb

     ./w_scan2 -c DE -k > channels.dvb

I do:
$ w_scan2 -c US -k > channels.dvb
w_scan2 -c US -k 
w_scan2: invalid option -- 'k'

This is on up-to-date Mageia release 7 (Official) for x86_64 with just-installed

w_scan2-1.0.3-1.mga7.x86_64              
lib64dvbapps-1.1.1-8.hg1500.9.mga7.x86_64
dvb-apps-1.1.1-8.hg1500.9.mga7.x86_64    

Repeated tries gives same result.
Thanks.
Comment 1 David GEIGER 2020-04-19 05:44:51 CEST
Can you file a new bug upsteam at https://github.com/stefantalpalaru/w_scan2/issues , please?

CC: (none) => geiger.david68210

Comment 2 Rolf Pedersen 2020-04-19 15:10:53 CEST
It is here:  https://github.com/stefantalpalaru/w_scan2/issues/21
Thanks.
Comment 3 Lewis Smith 2020-04-19 20:27:13 CEST
Thanks Rolf.
I hope I have put things in the right place, the upstream bug URL replacing the original: https://github.com/stefantalpalaru/w_scan2

Keywords: (none) => UPSTREAM
URL: https://github.com/stefantalpalaru/w_scan2 => https://github.com/stefantalpalaru/w_scan2/issues/21

Comment 4 Rolf Pedersen 2020-04-20 22:43:29 CEST
(In reply to Rolf Pedersen from comment #2)
> It is here:  https://github.com/stefantalpalaru/w_scan2/issues/21
> Thanks.

I received an update from the upstream bug:
"Looks like Kaffeine output was removed 6 years ago: https://github.com/stefantalpalaru/w_scan2/blob/895870e0497f33ce383b00fdf0a6b1c230657c6e/ChangeLog#L136

We just need to update the manual page and README."

So, docs were patched, bug closed.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED

Comment 5 David GEIGER 2020-04-21 12:50:30 CEST
Assigning to QA now,


Advisory:
========================

Our current w_scan2 package still reference kaffeine output support but this one was removed upstream about 6 years ago. So this update remove the "-k" option from the docs:

- Kaffeine output support was removed 6 years ago. Bring the docs up to speed.

========================

Packages in 7/core/updates_testing:
========================
w_scan2-1.0.8-1.mga7.x86_64.rpm
w_scan2-1.0.8-1.mga7.i586.rpm

Source RPM: 
========================
w_scan2-1.0.8-1.mga7.src.rpm

Resolution: WONTFIX => (none)
Status: RESOLVED => REOPENED
Assignee: bugsquad => qa-bugs

Comment 6 Len Lawrence 2020-04-21 21:20:54 CEST
mga7, x86_64

Working OK with mplayer and vlc (xspf) output before update.  -k option not accepted.

Updated to w_scan2-1.0.8-1.

$ w_scan -ft -c GB -k > channels.dvb
w_scan: invalid option -- 'k'

Tried mplayer output:
$ w_scan -ft -c GB -M > channels.conf.ter
<normal scanning messages with timestamps>
....
service = PBS America +1 ((null))
	service = CBS Justice +1 ((null))
(time: 13:35.169) dumping lists (127 services)
..
Done, scan time: 13:35.170

The channels file contains entries like these:
BBC Scotland:522000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:2901:2902+2906:4924
BBC R5L:522000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:0:1402:5692

Could not figure out how to get gmplayer to see this file - adding it through the playlist gui gets one nowhere but the format of the file looks good.

Repeated the scanning exercise for vlc xspf output, which has been in use here for two or three years.
$ w_scan -ft -c GB -L > channels_test.xspf
w_scan -ft -c GB -L 
w_scan2 version 1.0.8 (compiled for DVB API 5.11)
using settings for UNITED KINGDOM
DVB aerial
DVB-T GB
scan type TERRESTRIAL, delivery system SYS_UNDEFINED, channellist 6
output format vlc xspf playlist
output charset 'UTF-8'
Info: using DVB adapter auto detection.
	/dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Silicon Labs Si2168": very good :-))

Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_ 
Using DVB API 5.11
frontend 'Silicon Labs Si2168' supports
DVB-T2
INVERSION_AUTO
QAM_AUTO
TRANSMISSION_MODE_AUTO
GUARD_INTERVAL_AUTO
HIERARCHY_AUTO
FEC_AUTO
BANDWIDTH_AUTO not supported, trying 6/7/8 MHz.
FREQ (48.00MHz ... 870.00MHz)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 
Scanning DVB-T...
Scanning 7MHz frequencies...
177500: (time: 00:00.008) 
184500: (time: 00:02.048) 
191500: (time: 00:04.095) 

$ vlc channels.xspf
brings up a window with channel 0001:STV playing and a plalist menu with all the channels.  Clicking 'next' in the main window tunes into ITV3.....

So w-scan2 still works fine.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => tarazed25

Comment 7 Thomas Andrews 2020-04-22 14:33:42 CEST
Not sure what to do in this situation - Should the "UPSTREAM" keyword be removed? Should the Summary field be changed to reflect what was actually done? I leave it to wiser, more experienced heads to decide.

Validating. Advisory in Comment 5.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Thomas Backlund 2020-04-24 18:07:01 CEST

Keywords: (none) => advisory
CC: (none) => tmb

Comment 8 Mageia Robot 2020-04-24 19:05:08 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0103.html

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.