Bug 1806 - Problem with "double" genre in 2005-07-11 6.1b2 nightly
: Problem with "double" genre in 2005-07-11 6.1b2 nightly
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.1.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-11 20:01 UTC by Gordon Harris
Modified: 2008-09-15 14:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Harris 2005-07-11 20:01:14 UTC
SlimServer Version: 6.1b2 - trunk - Windows XP - EN – cp1252, 2005-07-11 nightly.

My setup:  WinXP, music files on two disks: mp3 library at C:\Recordings\Music,
which contains a short-cut pointer to my growing flac library at
D:\Recordings\Music_FLAC.  Both folders contain sub folders with the music
arranged by genre, ie:

a_Medieval
b_Renaissance
c_Early_Baroque
d_English_Italian_Baroque
f_French_Baroque

etc.  All the music in the folders (both mp3 & flac) are genre tagged to reflect
the parent folder name.

When SlimServer scans the folders, it “doubles" the genre, giving a list like:

B Renaissance
B_Renaissance
C Early Baroque
C_Early_Baroque
etc.

There seems to be some difference between the scanning routines between mp3s and
flacs.  For those genre where I don’t yet have any flacs (e.g. a_Medieval) only
the “A_Medieval” genre shows up.  But for any genre where I have both mp3s and
flacs, a “X XXXXX” and a “X_XXXXX” genre entry ends up in the DB.  Oddly, with
the “X XXXXX” (no underscore) genres, I can’t browse to the track level, only to
artist, album.
Comment 1 KDF 2005-07-11 20:08:02 UTC
please attach a same flc that shows this problem.  is it possible that your
tagging program is inserting the underscores?
Comment 2 Gordon Harris 2005-07-12 07:32:42 UTC
ALL my mp3 and flac files have genre tags that contain underscores.  The 
problem seems to be that one of SlimServers scanning routines (the flac one, I 
think..) strips out the underscores for genre.  I can't attach a flac file 
because I don't have broadband here.  Here, however, is the output from 
metaflac for a sample flac file, and the output from tag.exe for a sample mp3 
file:

Il Combattimento di Trancredi e Clorinda ed altri madrigali e canzonette.flac:
==============================================================================
METADATA block #2
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 2478
  vendor string: reference libFLAC 1.1.1 20041001
  comments: 5
    comment[0]: REPLAYGAIN_TRACK_PEAK=0.87896729
    comment[1]: REPLAYGAIN_TRACK_GAIN=+1.73 dB
    comment[2]: REPLAYGAIN_ALBUM_PEAK=0.87896729
    comment[3]: REPLAYGAIN_ALBUM_GAIN=+1.73 dB
    comment[4]: cuesheet=PERFORMER "Monteverdi, C"
COMPOSER "Monteverdi, C"
TITLE "Il Combattimento di Trancredi e Clorinda ed altri madrigali e canzonette"
GENRE "c_Early_Baroque"
DISC_ID 7BEC69
CATALOG 0004294967295
FILE "Il Combattimento di Trancredi e Clorinda ed altri madrigali e 
canzonette.flac" WAVE

COMMENT "Claudio Monteverdi (1567-643); Il Combattimento di Trancredi e 
Clorinda ed altri madrigali e canzonette; Cettina Cadelo, soprano; Carlo Gaifa, 
tenor; Vencenzo Manno, tenor; Ensemble Concerto; Luigi Mangiocavallo, violin; 
Enrico Onofri, violi
n; Alberto Rasi, viole; Raolo Biordi, viole; Stefano Bachi, viole; Paolo Rizzi, 
violone; Nicola Baroni, violoncello; Giovanni Antonini, flauto; Maurizio 
Martelli, arciliuto; Roberto Gallina, liuto; Caterina dell'Agnello, 
violoncello; Paul Beier, arci
liuto; Roberto Gini, clavicembalo; Roberto Gini, dir; "  

  TRACK 01 AUDIO    
    TITLE "Tempro la certa � voce sola con sinfone (1619)"    
    PERFORMER "Monteverdi, C"    
    COMPOSER "Monteverdi, C"    
    GENRE "c_Early_Baroque"    
    INDEX 01 00:00:00  

  TRACK 02 AUDIO    
    TITLE "Quel squardo sdegnosetto ciacona � canto solo (1632)"    
    PERFORMER "Monteverdi, C"    
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 10:34:18

  TRACK 03 AUDIO
    TITLE "Interrotte sperance � doi tenori (1619)"
    PERFORMER "Monteverdi, C"
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 12:52:08

  TRACK 04 AUDIO
    TITLE "Bel Pastore, Ritornello de la Maddalena � 2, canto e tenore (1651)"
    PERFORMER "Monteverdi, C"
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 17:04:35

  TRACK 05 AUDIO
    TITLE "Con che soavti� � una voce e 9 instrumenti (1619)"
    PERFORMER "Monteverdi, C"
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 22:40:03

  TRACK 06 AUDIO
    TITLE "Et � dunque vero, aria � voce sola con Sinfonie (1632)"
    PERFORMER "Monteverdi, C"
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 27:39:35

  TRACK 07 AUDIO
    TITLE "Combatimento di Trancredi e Clorinda, rappresentativo con quattro 
Viole parole del Sig. Torquato Tasso (1638)"
    PERFORMER "Monteverdi, C"
    COMPOSER "Monteverdi, C"
    GENRE "c_Early_Baroque"
    INDEX 01 35:52:38
==============================================================================


01 - Il Ballo delle Ingrate (1608) - 1 Ouverture.mp3:
==============================================================================Fo
rmat:  MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 187 kbps, playtime 01:40
Tags:    ID3v1, ID3v2
Title:   Il Ballo delle Ingrate (1608) - 1 Ouverture
Artist:  Monteverdi, C
Album:   Il ballo delle ingrate, Sestina - Les Arts Florissants
Year:    1982
Track:   01
Genre:   c_Early_Baroque
Comment: Claudio Monteverdi (1567-1643)
Harmonia mundi Francer
Les Arts Florissants - William Christier
Il ballo delle ingrate
Amore - Agnes Mellon
Venere - Guillemette Laurens
Plutone - Gregory Reinhart
Una delle ingrate - Jill Feldman

Sestina
Jill Feldman

Guillemette Laurens
Dominique Visse
Michel Lapl�nie
Philippe Cantor
==============================================================================

As you can see, both the mp3 and flac files use the genre "c_Early_Baroque"
Comment 3 KDF 2005-07-12 09:17:00 UTC
do you have the section of the log (d_scan, d_info) that shows the genre being
converted?
Comment 4 Gordon Harris 2005-07-12 18:45:28 UTC
Ok, now I can't reproduce the problem.  This is weird, because I was seeing it 
in each of the last three nightlies that I tried.  For whatever reason, as soon 
as I turned on the debugging flags, the problem vanished.  Now, no combination 
of anything that I try can bring the problem back.  Call the Vatican.  I think 
we've got a bona fide software faith healing here.
Comment 5 Dan Sully 2005-07-12 23:50:46 UTC
If you can reproduce this - please let me know.
Comment 6 Gordon Harris 2005-07-13 07:28:21 UTC
Actually, now I'm wondering if it might be a web cache problem.  Last night, 
after I had given up trying to reproduce doubled genre, I connected to my 
slimserver using my wifi pda and the handheld skin.  From the slimserver home 
page, I navigated to the genre page.  There they were again, those pesky double 
genre!  But a simple refresh of the page made them disappear.  Curiouser and 
curiouser.
Comment 7 Dan Sully 2005-08-10 20:29:04 UTC
Gordon - I'm going to close this bug. Please reopen if you can reproduce on the 6.2 nightlies.

Thanks