• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Strawberry Music Player Forums
    2. musk
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    musk

    @musk

    0
    Reputation
    6
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    musk Unfollow Follow

    Latest posts made by musk

    • RE: Current lyric providers are great for English lyrics, but Latin music is rarely available

      I forgot to mention that vagalume.com.br also has its own api: https://api.vagalume.com.br/

      posted in Feature Suggestions
      M
      musk
    • Current lyric providers are great for English lyrics, but Latin music is rarely available

      I would like to suggest the addition of two services that contain many songs in Portuguese. Unfortunately I'm not a developer and I can't make a PR to solve this, but I tried to gather some useful information.

      Example 1: vagalume.com.br

      Music: Tente outra vez
      Artist: Raul Seixas

      To get the lyrics of this song just access
      https://www.vagalume.com.br/{artist}/{title}.html
      https://www.vagalume.com.br/raul-seixas/tente-outra-vez.html

      The cantata player has implemented this service as follows

      <provider name="vagalume.com.br" charset="iso-8859-1" url="https://www.vagalume.com.br/{artist}/{title}.html">
          <urlFormat replace=" _@,;&amp;\/'&quot;." with="-"/>
          <extract>
            <item tag="&lt;span class=&quot;editable_area&quot;&gt;"/>
          </extract>
          <extract> <!-- new -->
            <item tag="&lt;div itemprop=description&gt;"/>
          </extract>
        </provider>
      

      https://github.com/CDrummond/cantata/blob/master/context/lyrics_providers.xml#L328

      It is also possible to get the translation of songs in English to Portuguese by adding -translation to the end of the url
      https://www.vagalume.com.br/toto/i-will-remember-traducao.html

        <provider name="vagalume.com.br (PORTUGUESE)" charset="iso-8859-1" url="https://www.vagalume.com.br/{artist}/{title}-traducao.html">
          <urlFormat replace=" _@,;&amp;\/'&quot;." with="-"/>
          <extract>
            <item tag="&lt;div class=&quot;tab_traducao sideBySide lyricArea tab_tra_pt&quot;&gt;"/>
          </extract>
          <extract> <!-- new -->
            <item tag="&lt;div id=lyr_translation&gt;"/>
            <item begin="&lt;div&gt;" end="null"/>
          </extract>
        </provider>
      

      https://github.com/CDrummond/cantata/blob/master/context/lyrics_providers.xml#L337

      Example 2: letras.mus.br
      The procedure is basically the same

      https://www.letras.mus.br/winamp.php?musica={title}&artista={artist}
      https://www.letras.mus.br/winamp.php?musica=tente-outra-vez&artista=raul-seixas

      <provider name="letras.mus.br" charset="utf-8" url="https://www.letras.mus.br/winamp.php?musica={title}&amp;artista={artist}">
          <urlFormat replace="_@,;&amp;\/&quot;" with="_"/>
          <urlFormat replace=" " with="+"/>
          <extract> <!-- new -->
            <item begin="&lt;/div&gt;" end="&lt;div id=&quot;banner&quot;&gt;"/>
          </extract>
          <extract>
            <item begin="&lt;/div&gt;" end="&lt;/div&gt;"/>
          </extract>
          <invalidIndicator value="Verifique se o nome do seu arquivo e sua"/>
        </provider>
      

      https://github.com/CDrummond/cantata/blob/master/context/lyrics_providers.xml#L101

      I hope this will be useful

      posted in Feature Suggestions
      M
      musk