Skip to content

Commit

Permalink
VLC Lyrics Finder 0.3.7:
Browse files Browse the repository at this point in the history
* Automatic update of lyrics on song change, possible since bug 14786 was fixed: https://trac.videolan.org/vlc/ticket/14786
* Save lyrics to TXT file, fixes #9
* Drop "Refresh" functionality
* Esperanto translation
* Fix numerous translations
* Update template
* Update existing translations
* README: add explanation about Save Lyrics
* Increase VLC version requirement to 3
* Linux and Windows support for saving lyrics, other variants of Unix such as macOS untested
* Update Italian translation
  • Loading branch information
Smile4ever committed Jun 2, 2018
1 parent d941cd0 commit a2b9f2f
Show file tree
Hide file tree
Showing 20 changed files with 197 additions and 53 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
0.3.7
=====
* Automatic update of lyrics on song change, possible since bug 14786 was fixed: https://trac.videolan.org/vlc/ticket/14786
* Save lyrics to TXT file, fixes #9
* Drop "Refresh" functionality
* Esperanto translation
* Fix numerous translations
* Update template
* Update existing translations
* README: add explanation about Save Lyrics
* Increase VLC version requirement to 3
* Linux and Windows support for saving lyrics, other variants of Unix such as macOS untested
* Update Italian translation

0.3.6
=====
* Fix support for MetroLyrics
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ VLC Media Player lyrics extension. Supports MetroLyrics, Sonic Hits, Lyrics Mode

Installation
-------------
Download installer for Windows: [install](https://github.com/Smile4ever/VLC-Lyrics-Finder/raw/master/windows-releases/lyricsfinder-0.3.6.exe)
For version 0.3.7 and later, VLC 3.0 or higher is required. The last version compatible with VLC 2.x is 0.3.6.

AUR package for Arch Linux: [vlc-extension-lyricsfinder-git](https://aur.archlinux.org/packages/vlc-extension-lyricsfinder-git)
* Download installer for Windows: [install 0.3.7 for VLC 3](https://github.com/Smile4ever/VLC-Lyrics-Finder/raw/master/windows-releases/lyricsfinder-0.3.7.exe) or [install 0.3.6 for VLC 2](https://github.com/Smile4ever/VLC-Lyrics-Finder/raw/master/windows-releases/lyricsfinder-0.3.6.exe)
* AUR package for Arch Linux: [vlc-extension-lyricsfinder-git](https://aur.archlinux.org/packages/vlc-extension-lyricsfinder-git)
* Installation steps for Linux and macOS:

Installation steps for Linux and OS X:

1. Download [lyricsfinder.lua](https://raw.githubusercontent.com/Smile4ever/VLC-Lyrics-Finder/master/lyricsfinder.lua) (Use **File -> Save as** if necessary).
1. Download [lyricsfinder.lua 0.3.7 for VLC 3](https://raw.githubusercontent.com/Smile4ever/VLC-Lyrics-Finder/master/lyricsfinder.lua) or [lyricsfinder 0.3.6 for VLC 2](https://raw.githubusercontent.com/Smile4ever/VLC-Lyrics-Finder/d941cd0f9a29b042401b4cb4680f008c0e0dadb0/lyricsfinder.lua) (Use **File -> Save as** if necessary).
2. Move the file lyricsfinder.lua to **lua/extensions** inside your VLC folder. For example, **C:\Program Files\VideoLAN\VLC\lua\extensions\lyricsfinder.lua**
3. To install the language files, put them inside your VLC folder in the subdirectory **lua/extensions/lyricsfinder/locale**. For example, **C:\Program Files\VideoLAN\VLC\lua\extensions\lyricsfinder\locale**
3. Restart VLC or open **Tools -> Plugins and extensions** and hit **reload extensions**.
Expand All @@ -34,7 +34,7 @@ Usage
Other buttons:

* Search with Google: open a new browser tab to look for lyrics
* Refresh: force refresh of metadata and look up the lyrics
* Save lyrics: save lyrics to a TXT file in /tmp or C:\Temp
* Switch: artist and title wrongly guessed? Click this button to switch them. The artist text becomes the title text, the title text becomes the artist text.

When you open Lyrics Finder, it will try to make an attempt to get the lyrics. This means opening Lyrics Finder is enough if you want to see the lyrics of only one song.
Expand All @@ -48,7 +48,6 @@ Since version 0.3.0, this script supports intelligent guessing. This means that
* Artist - Title (anything): the information between parenthesis is discarded
* Artist-Title: also works without spaces before and after the hyphen


Wrong file names:
* Title - Artist
* File names that contain two hyphens, like "Artist - Title - Album name". There is one exception: artist names that contain a hyphen are valid. For example "A-ha - Stay On These Roads".
Expand Down
3 changes: 2 additions & 1 deletion locale/afr.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Lirieke</dialogtitle_normal>
<dialogtitle_notfound>Nie gevind nie</dialogtitle_notfound>
<dialogtitle_lyricsof>Lirieke van</dialogtitle_lyricsof>
<dialogtitle_performedby>by</dialogtitle_lyricsof>
<dialogtitle_performedby>by</dialogtitle_performedby>
<button_getlyrics>Kry lirieke</button_getlyrics>
<button_refresh>Verfris</button_refresh>
<button_switch>Ruil om</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Verkeerde kunstenaar of titel.</message_incorrect>
<message_notfound>Lirieke nie gevind nie.</message_notfound>
<message_nosong>Geen lied gelaai nie.</message_nosong>
<message_savelyrics>Bewaar lirieke</message_savelyrics>

<!-- Translated by Miles Sharpe -->
3 changes: 2 additions & 1 deletion locale/bul.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Текстове</dialogtitle_normal>
<dialogtitle_notfound>Не е намерен</dialogtitle_notfound>
<dialogtitle_lyricsof>Текст на</dialogtitle_lyricsof>
<dialogtitle_performedby>от</dialogtitle_lyricsof>
<dialogtitle_performedby>от</dialogtitle_performedby>
<button_getlyrics>Получаване на текст</button_getlyrics>
<button_refresh>Опресняване</button_refresh>
<button_switch>Превключване</button_switch>
Expand All @@ -16,3 +16,4 @@
<message_incorrect>Неправилен изпълнтел или заглавие.</message_incorrect>
<message_notfound>Не е намерен текст.</message_notfound>
<message_nosong>Не е заредена песен.</message_nosong>
<message_savelyrics>Запазване на текста</message_savelyrics>
3 changes: 2 additions & 1 deletion locale/dut.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Songtekst</dialogtitle_normal>
<dialogtitle_notfound>Niet gevonden</dialogtitle_notfound>
<dialogtitle_lyricsof>Songtekst van</dialogtitle_lyricsof>
<dialogtitle_performedby>door</dialogtitle_lyricsof>
<dialogtitle_performedby>door</dialogtitle_performedby>
<button_getlyrics>Songtekst opzoeken</button_getlyrics>
<button_refresh>Verversen</button_refresh>
<button_switch>Omwisselen</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Incorrecte artiest of titel.</message_incorrect>
<message_notfound>Songtekst niet gevonden.</message_notfound>
<message_nosong>Geen liedje geladen.</message_nosong>
<message_savelyrics>Songtekst bewaren</message_savelyrics>

<!-- Translated by Geoffrey De Belie -->
3 changes: 2 additions & 1 deletion locale/eng.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Lyrics</dialogtitle_normal>
<dialogtitle_notfound>Not Found</dialogtitle_notfound>
<dialogtitle_lyricsof>Lyrics of</dialogtitle_lyricsof>
<dialogtitle_performedby>by</dialogtitle_lyricsof>
<dialogtitle_performedby>by</dialogtitle_performedby>
<button_getlyrics>Get Lyrics</button_getlyrics>
<button_refresh>Refresh</button_refresh>
<button_switch>Switch</button_switch>
Expand All @@ -16,3 +16,4 @@
<message_incorrect>Incorrect artist or title.</message_incorrect>
<message_notfound>Lyrics not found.</message_notfound>
<message_nosong>No song loaded.</message_nosong>
<message_savelyrics>Save Lyrics</message_savelyrics>
21 changes: 21 additions & 0 deletions locale/epo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<dialogtitle_normal>Literoj</dialogtitle_normal>
<dialogtitle_notfound>Ne Trovita</dialogtitle_notfound>
<dialogtitle_lyricsof>Literoj de</dialogtitle_lyricsof>
<dialogtitle_performedby>de</dialogtitle_performedby>
<button_getlyrics>Akiru Literojn</button_getlyrics>
<button_refresh>Refreŝigu</button_refresh>
<button_switch>Ŝaltu</button_switch>
<button_close>Fermu</button_close>
<button_google>Serĉu uzanta Google</button_google>
<button_update>Akiru ĝisdatigojn</button_update>
<label_title>Titolo:</label_title>
<label_artist>Artisto:</label_artist>
<label_source>Fonto:</label_source>
<message_newsong>Nova kanto estis aldonita. Por ricevi la literojn, klaku Akiru Literojn.</message_newsong>
<message_loading>Ŝarĝas..</message_loading>
<message_incorrect>Artisto aŭ titolo estas malĝusta.</message_incorrect>
<message_notfound>Literoj estas ne trovita.</message_notfound>
<message_nosong>Neniu kanto ŝarĝita.</message_nosong>
<message_savelyrics>Savi Literoj</message_savelyrics>

<!-- Translated by Roman Panchenko -->
1 change: 1 addition & 0 deletions locale/fre.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
<message_incorrect>Artiste ou titre incorrect.</message_incorrect>
<message_notfound>Paroles non trouvés.</message_notfound>
<message_nosong>Aucune chanson chargé.</message_nosong>
<message_savelyrics>Enregistrer les paroles</message_savelyrics>

<!-- Translated by Jennifer De Belie -->
5 changes: 3 additions & 2 deletions locale/ger.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Liedtext</dialogtitle_normal>
<dialogtitle_notfound>Nicht gefunden</dialogtitle_notfound>
<dialogtitle_lyricsof>Liedtext von</dialogtitle_lyricsof>
<dialogtitle_performedby>von</dialogtitle_lyricsof>
<dialogtitle_performedby>von</dialogtitle_performedby>
<button_getlyrics>Liedtext anzeigen</button_getlyrics>
<button_refresh>Neu laden</button_refresh>
<button_switch>Wechseln</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Falscher Künstler oder Titel.</message_incorrect>
<message_notfound>Liedtext nicht gefunden.</message_notfound>
<message_nosong>Kein Lied geladen.</message_nosong>
<message_savelyrics>Liedtext speichern</message_savelyrics>

<!-- Translated by Leon Liesener -->
<!-- Translated by Leon Liesener -->
18 changes: 10 additions & 8 deletions locale/ita.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<dialogtitle_normal>Testo</dialogtitle_normal>
<dialogtitle_notfound>Non trovato</dialogtitle_notfound>
<dialogtitle_lyricsof>Testo di</dialogtitle_lyricsof>
<dialogtitle_performedby>da</dialogtitle_lyricsof>
<button_getlyrics>Prendi testo</button_getlyrics>
<button_refresh>Rinfresca</button_refresh>
<button_switch>Commuta</button_switch>
<dialogtitle_performedby>da</dialogtitle_performedby>
<button_getlyrics>Ottieni testo</button_getlyrics>
<button_refresh>Aggiorna</button_refresh>
<button_switch>Inverti</button_switch>
<button_close>Chiudi</button_close>
<button_google>Cerca con Google</button_google>
<button_update>Prendi aggiornamenti</button_update>
<button_update>Ottieni aggiornamenti</button_update>
<label_title>Titolo:</label_title>
<label_artist>Artista:</label_artist>
<label_source>Sorgente:</label_source>
<message_newsong>Nuova canzone caricata. Per prendere il testo, clicca Prendi testo.</message_newsong>
<message_newsong>La canzone è cambiata. Per prendere il testo, clicca 'Ottieni testo'.</message_newsong>
<message_loading>Caricamento..</message_loading>
<message_incorrect>Artista o Titolo incorretto.</message_incorrect>
<message_notfound>Testo non trovato.</message_notfound>
<message_nosong>Nessuna canzone caricata.</message_nosong>
<message_nosong>Nessuna canzone in riproduzione.</message_nosong>
<message_savelyrics>Salva i testo</message_savelyrics>

<!-- Translated by Enrico Passoni -->
<!-- Translated by Enrico Passoni -->
<!-- Updated by PrinceEntree8 -->
5 changes: 3 additions & 2 deletions locale/pol.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Napisy</dialogtitle_normal>
<dialogtitle_notfound>Nie znaleziono</dialogtitle_notfound>
<dialogtitle_lyricsof>Napisy do</dialogtitle_lyricsof>
<dialogtitle_performedby>od</dialogtitle_lyricsof>
<dialogtitle_performedby>od</dialogtitle_performedby>
<button_getlyrics>Zdobądź napisy</button_getlyrics>
<button_refresh>Odśwież</button_refresh>
<button_switch>Przełącz</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Niepoprawny artysta lub tytuł.</message_incorrect>
<message_notfound>Nie znaleziono napisów.</message_notfound>
<message_nosong>No piosenka załadowany.</message_nosong>
<message_savelyrics>Zapisz napisy</message_savelyrics>

<!-- Translated by Ola Kleniewska -->
<!-- Translated by Ola Kleniewska -->
5 changes: 3 additions & 2 deletions locale/rus.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Текст песни</dialogtitle_normal>
<dialogtitle_notfound>Текст не найден</dialogtitle_notfound>
<dialogtitle_lyricsof>Текст песни</dialogtitle_lyricsof>
<dialogtitle_performedby>-</dialogtitle_lyricsof>
<dialogtitle_performedby>-</dialogtitle_performedby>
<button_getlyrics>Загрузить</button_getlyrics>
<button_refresh>Обновить</button_refresh>
<button_switch>Поменять местами</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Некорректное название или исполнитель.</message_incorrect>
<message_notfound>Текст песни не найден.</message_notfound>
<message_nosong>песня не загружается</message_nosong>
<message_savelyrics>Сохранить текст</message_savelyrics>

<!-- Translated by Aleksey Maydokin -->
<!-- Translated by Aleksey Maydokin -->
3 changes: 2 additions & 1 deletion locale/spa.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Letra</dialogtitle_normal>
<dialogtitle_notfound>No encontrado</dialogtitle_notfound>
<dialogtitle_lyricsof>Letra de</dialogtitle_lyricsof>
<dialogtitle_performedby>por</dialogtitle_lyricsof>
<dialogtitle_performedby>por</dialogtitle_performedby>
<button_getlyrics>Buscar letra</button_getlyrics>
<button_refresh>Actualizar</button_refresh>
<button_switch>Cambiar</button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect>Artista o título incorrecto.</message_incorrect>
<message_notfound>Letra no encontrada.</message_notfound>
<message_nosong>Ninguna canción cargada.</message_nosong>
<message_savelyrics>Guardar letra</message_savelyrics>

<!-- Translated by Jennifer De Belie -->
5 changes: 3 additions & 2 deletions locale/template/empty.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal> </dialogtitle_normal>
<dialogtitle_notfound> </dialogtitle_notfound>
<dialogtitle_lyricsof> </dialogtitle_lyricsof>
<dialogtitle_performedby> </dialogtitle_lyricsof>
<dialogtitle_performedby> </dialogtitle_performedby>
<button_getlyrics> </button_getlyrics>
<button_refresh> </button_refresh>
<button_switch> </button_switch>
Expand All @@ -16,5 +16,6 @@
<message_incorrect> </message_incorrect>
<message_notfound> </message_notfound>
<message_nosong> </message_nosong>
<message_savelyrics> </message_savelyrics>

Translated by First name Last name
<!-- Translated by First name Last name -->
1 change: 1 addition & 0 deletions locale/template/eng.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Loading..
Incorrect artist or title.
Lyrics not found.
No song loaded.
Save Lyrics
7 changes: 5 additions & 2 deletions locale/tur.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Sözler</dialogtitle_normal>
<dialogtitle_notfound>Bulunamadı</dialogtitle_notfound>
<dialogtitle_lyricsof>Sözleri</dialogtitle_lyricsof>
<dialogtitle_performedby>tarafından</dialogtitle_lyricsof>
<dialogtitle_performedby>tarafından</dialogtitle_performedby>
<button_getlyrics>Sözleri Alın</button_getlyrics>
<button_refresh>Yenileyin</button_refresh>
<button_switch>Geçin</button_switch>
Expand All @@ -15,4 +15,7 @@
<message_loading>Yükleniyor...</message_loading>
<message_incorrect>Geçersiz sanatçı ya da başlık.</message_incorrect>
<message_notfound>Söz bulunamadı.</message_notfound>
Translated by OzancanKaratas96
<message_nosong>Hiçbir şarkı yüklü değil.</message_nosong>
<message_savelyrics>Şarkı Sözlerini Kaydet</message_savelyrics>

<!-- Translated by OzancanKaratas96 -->
3 changes: 2 additions & 1 deletion locale/ukr.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dialogtitle_normal>Слова пісні</dialogtitle_normal>
<dialogtitle_notfound>Не знайдено</dialogtitle_notfound>
<dialogtitle_lyricsof>Слова пісні</dialogtitle_lyricsof>
<dialogtitle_performedby>написані</dialogtitle_lyricsof>
<dialogtitle_performedby>написані</dialogtitle_performedby>
<button_getlyrics>Шукати тексти пісень</button_getlyrics>
<button_refresh>Відновити</button_refresh>
<button_switch>Змінити місцями</button_switch>
Expand All @@ -16,3 +16,4 @@
<message_incorrect>Некоректний виконавець або назва.</message_incorrect>
<message_notfound>Текст не знайден</message_notfound>
<message_nosong>пісня не завантажена</message_nosong>
<message_savelyrics>Зберегти текст</message_savelyrics>
Loading

1 comment on commit a2b9f2f

@Smile4ever
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arolle Can you check whether the saving of lyrics works on macOS?

Please sign in to comment.