[IniLCNScanner] Terrestrial RADIO LCN bouquet not created correctly

Issue #726 resolved
prl created an issue

After a scan, Terrestrial RADIO LCN does not appear in the bouquets list in RADIO mode.

In /etc/enigma2/bouquets.radio, the entry for userbouquet.terrestrial_lcn.radiois created with an incorrect flags field: 832, when it should be 7 (like the other entries in the bouquets.* files).

This means that the entry for userbouquet.terrestrial_lcn.radio is not recognised as a bouquet, and eDVBDB::loadBouquet()renames userbouquet.terrestrial_lcn.radio to userbouquet.terrestrial_lcn.radio.del.

Fixing the flags for the bouquet entries in IniLCNScanner fixes the issue for future scans done from Factory reset or USB upgrade, but it does not allow the user to recover from the bug simply by doing a scan. See issue #727.

Replication steps

MENU>Setup>System>Factory reset, allow the reset to run and do not restore settings in the startup wizartd.

Do a normal service scan in the startup wizard. When the startup wizard completes, switch to RADIO mode with RADIO on remotes that have it, or RADIO/TV, RADIO/TV on remotes that don’t.

Terrestrial RADIO LCN is not listed in the list of radio bouquets.

In /etc/enigma2/bouquets.radio, the entry for userbouquet.terrestrial_lcn.radio is:

#SERVICE 1:832:2:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.terrestrial_lcn.radio" ORDER BY bouquet

it should be:

#SERVICE 1:7:2:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.terrestrial_lcn.radio" ORDER BY bouquet

/etc/enigma2/userbouquet.terrestrial_lcn.radio has been renamed to /etc/enigma2/userbouquet.terrestrial_lcn.radio.del

Comments (4)

  1. Peter Urbanec

    Fix bug #726: [IniLCNScanner] Terrestrial RADIO LCN bouquet not created correctly

    Change the flags for the bouquets. entries for userbouquet.terrestrial_lcn. from

    eServiceReference.isInvisible | eServiceReference.isNumberedMarker | eServiceReference.isMarker to

    eServiceReference.isDirectory | eServiceReference.mustDescent | eServiceReference.canDescent

    so that the entries are properly marked as "bouquet" services.

    This only fixes an existing issue if the user does a Factory reset or firmware update from USB.

    → <<cset 85d690a02622>>

  2. Peter Urbanec

    Fix bug #726: [IniLCNScanner] Use compact "directory flags"

    Use the compact equivalent "is a directory" flags value

    eServiceReference.flagDirectory

    instead of

    eServiceReference.isDirectory | eServiceReference.mustDescent | eServiceReference.canDescent

    when setting bouquet entry flags.

    → <<cset fa4a235f57a8>>

  3. Log in to comment