Problems with the format and content of playlists files
-
Hi, I'm Miguel Ruiz from Spain and the first thing I want to do is congratulate you on the quality and overall good performance of Strawberry.
Having said that, I wanted to ask you what happens with the playlist file formats in the recent versions of Strawberry (linux Ubuntu Focal 20.04).
I have found that these formats are generally no longer supported by Clementine. If you record the same playlist in xspf format, for example, not only are the versions of Clementine and Strawberry very different, but also the result of recording with Strawberry is not understood by Clementine, although the other way around, that is, recording with Clementine and reading with Strawberry works fine.
This has also happened to me even with different versions of Strawberry (v. flatpak), for example, a playlist recorded with version 1.0.14 was not well read by 1.0.13.As an example here you have a xpsf playlist recorded with version 1.0.14 for Ubuntu Focal (20.04)
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/R TORO 2009/BYRT-166 The Carpenters - We%27ve Only Just Begun.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Temas.No.Oficiales/Phil Harris - The Bare Necessities.recortado.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-152 M Nascimento - Peixinhos do Mar.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-152 M Nascimento - Peixinhos do Mar.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Temas.No.Oficiales/Varetta Dillard - Easy%2C Easy Baby.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/BYCO-112 Shaggy - Bombastic.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/CIMEB AE 2018/BYC18-090 Musganha - Toque de Teatro.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/R TORO 2009/In a Sentimental Mood.%28acortada%29.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.4.0/Ya 4 - CIMEB 2012/Sonata in D Major%2C Op. 1 No. 13%2C HWV 371_ III. Larghetto.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.4.0/Ya 4 - CIMEB 2012/Sonata in D Major%2C Op. 1 No. 13%2C HWV 371_ III. Larghetto.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/BYCO-506 Simone - Outra Vez.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.Especificas.Al-Andalus.2016.5/37%C2%B02 le matin.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.Especificas.Al-Andalus.2016.5/Rosana - Descubriendote.flac</location>
</track>
<track>
<location>/home/jmrm/M%C3%BAsica/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-154 Love Actually - PM%27s Love Theme.flac</location>
</track>
</trackList>
</playlist>
And the same playlist recorded in xspf with Clementine 1.4 rc2:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/R TORO 2009/BYRT-166 The Carpenters - We've Only Just Begun.flac</location>
<title>We've Only Just Begun</title>
<creator>The Carpenters</creator>
<album>Ronda Inicio [o de Integración Inicial]</album>
<duration>184000</duration>
<trackNum>1</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Temas.No.Oficiales/Phil Harris - The Bare Necessities.recortado.flac</location>
<title>The Bare Necessities</title>
<creator>Phil Harris;Bruce Reitherman</creator>
<album>Coordinacion Ritmica (caminar a2) / Caminar Sinergico o Fisiologico (no muy rapido)</album>
<duration>168000</duration>
<trackNum>2</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-152 M Nascimento - Peixinhos do Mar.flac</location>
<title>Peixinhos do Mar</title>
<creator>Milton Nascimento</creator>
<album>Juegos Ritmicos (peces y algas) / Pendulo a3 (juego de confianza)</album>
<duration>185000</duration>
<trackNum>4</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-152 M Nascimento - Peixinhos do Mar.flac</location>
<title>Peixinhos do Mar</title>
<creator>Milton Nascimento</creator>
<album>Juegos Ritmicos (peces y algas) / Pendulo a3 (juego de confianza)</album>
<duration>185000</duration>
<trackNum>4</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Temas.No.Oficiales/Varetta Dillard - Easy, Easy Baby.flac</location>
<title>Easy, Easy Baby</title>
<creator>Varetta Dillard</creator>
<album>D Expresiva (A2) / D de Oposicion Armonica (ritmica)</album>
<duration>156000</duration>
<trackNum>5</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/BYCO-112 Shaggy - Bombastic.flac</location>
<title>Boombastic</title>
<creator>Shaggy</creator>
<album>Juego del Espejo a2</album>
<duration>232000</duration>
<trackNum>6</trackNum>
<image>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/morena.jpg</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/CIMEB AE 2018/BYC18-090 Musganha - Toque de Teatro.flac</location>
<title>Toque de Teatro</title>
<creator>La Musgaña</creator>
<album>Danza Circular a2 / Juegos (Salto a2 en pasillo)</album>
<duration>172000</duration>
<trackNum>7</trackNum>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/R TORO 2009/In a Sentimental Mood.(acortada).flac</location>
<title>In a Sentimental Mood (acortada)</title>
<creator>John Coltrane, Duke Ellington</creator>
<album>Danza de Extension Maxima / [D de Extension Armonica]</album>
<duration>177000</duration>
<trackNum>8</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.4.0/Ya 4 - CIMEB 2012/Sonata in D Major, Op. 1 No. 13, HWV 371_ III. Larghetto.flac</location>
<title>Sonata in D Major, Op. 1 No. 13, HWV 371: III. Larghetto</title>
<creator>Gabriel Fumet, Jean-Paul Imbert</creator>
<album>Danza Eutonia (dedo) / Eutonia en Grupos de 3 / Segmentario de pecho-brazos</album>
<duration>213000</duration>
<trackNum>9</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.4.0/Ya 4 - CIMEB 2012/Sonata in D Major, Op. 1 No. 13, HWV 371_ III. Larghetto.flac</location>
<title>Sonata in D Major, Op. 1 No. 13, HWV 371: III. Larghetto</title>
<creator>Gabriel Fumet, Jean-Paul Imbert</creator>
<album>Danza Eutonia (dedo) / Eutonia en Grupos de 3 / Segmentario de pecho-brazos</album>
<duration>213000</duration>
<trackNum>9</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/BYCO-506 Simone - Outra Vez.flac</location>
<title>Outra vez</title>
<creator>Simone</creator>
<album>Danza a2 Activacion (sensual) / (Alandalus) Asumir la identidad sexual, Propio Cuerpo. Grupo compacto afectivo de caricias.</album>
<duration>226000</duration>
<trackNum>11</trackNum>
<image>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/COMPARTIDA/morena.jpg</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.Especificas.Al-Andalus.2016.5/Rosana - Descubriendote.flac</location>
<title>Descubriendote</title>
<creator>Rosana</creator>
<album>Danza A2 en pareja corazon a corazon / Encuentros</album>
<duration>176000</duration>
<trackNum>13</trackNum>
<image>(embedded)</image>
</track>
<track>
<location>/home/jmrm/Música/.Biodanza/.Musicas.Biodanza.BiodanzaYa.5.0.Flac/EXPERIMENTAL/BYEX-154 Love Actually - PM's Love Theme.flac</location>
<title>PM's Love Theme; Love Actually (Soundtrack) (European Edition)</title>
<creator>Craig Armstrong</creator>
<album>Triunfo</album>
<duration>134000</duration>
<trackNum>14</trackNum>
<image>(embedded)</image>
</track>
</trackList>
</playlist>
Strawberry perfectly reads the file recorded with Clementine, but Clementine is unable to read the file recorded with Strawberry.
Let's see how we can solve this because for us it is essential to maintain backwards compatibility with Clementine in the playlist format.
-
@Miguel-Ruiz
Clementine is not URL encoding / decoding the file paths according to the specifications. Clementine is doing it wrong, and is probably unable to load the playlists saved by strawberry for this reason, since Strawberry URL encodes some characters.Another difference is that Clementine is saving metadata. For Strawberry, there is a setting for enabling saving playlists with metadata, in the settings, under playlist. If you enable that setting it will save metadata like Clementine does.