tangerine: Impossible to set multiple music directories

Bug #255683 reported by Jo Shields
2
Affects Status Importance Assigned to Milestone
tangerine (Debian)
Fix Released
Unknown
tangerine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tangerine

Tangerine, although it does not expose it via the tangerine-properties GUI, is capable of using multiple different folders for storing music. You can allow this by using a semicolon-delimited list of folders in the ~/.tangerine config file. This is defined in plugins/file/FilePlugin.cs by this line:

                directories = Daemon.ConfigSource.Configs["FilePlugin"].Get ("directories", defaultDir).Split (';');

Unfortunately, Tangerine uses "Nini" - a .ini file handling library - to handle configuration data. One quirk of .ini files is their comment character - the semicolon. As a result, as soon as a user puts their first delimiter into the config file, everything else on that line is ignored - meaning only the first item in the list is processed.

The attached patch switches the semicolon for a comma. Commas work fine.

Revision history for this message
Jo Shields (directhex) wrote :
Changed in tangerine:
status: Unknown → New
Changed in tangerine:
status: New → Fix Committed
Jo Shields (directhex)
Changed in tangerine:
status: New → Fix Released
Changed in tangerine (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.