[Addon] RuneUI Lyrics

Raspberry Pi related support

[Addon] RuneUI Lyrics

Postby rern » 26 Nov 2017, 13:03

[Addon] RuneUI Lyrics

Add lyrics feature to 0.3 / Improve lyrics feature for 0.4B

Search from multiple providers with LyricsCore
    - MetroLyrics
    - LyricsMania
    - Lyrics.com
    - SonicHits
    - AZLyrics
    - LyricsMode
    - MusixMatch
    - Golyr.de
    - Songteksten.net
- save to /mnt/MPD/USB/<label>/lyrics directory (1 MB = hundreds of lyrics)
- no need to search the same song online every single time
- faster search from saved files
- incorrect lyrics can be edited
- unavailable lyrics can be added
- prefetch lyrics in background

Image
- tap song : show lyrics
- long-press lyrics:
    - edit incorrect lyrics
    - add unavailable lyrics
- default songinfo benefits the improved lyrics as well
- if left open, auto show new lyrics on song changed

Install
from Addons Menu
Last edited by rern on 02 Feb 2018, 11:10, edited 2 times in total.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Tips] RuneUI Lyrics

Postby ianhaynes » 26 Nov 2017, 17:41

Rern,

This addon gives an error during/after installation:

Code: Select all
x srv/http/assets/js/vendor/
x srv/http/assets/js/vendor/pnotify3.custom.min.js
x srv/http/lyrics.php
x srv/http/simple_html_dom.php
x usr/
x usr/local/
x usr/local/bin/
x usr/local/bin/uninstall_lyri.sh
 .  Modify files ...
/srv/http/app/templates/header.php
/srv/http/app/templates/footer.php
sed: can't read /srv/http/assets/js/custom.js: No such file or directory


This on 0.4b.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Tips] RuneUI Lyrics

Postby rern » 27 Nov 2017, 12:30

Ian,

The error was from a line that not needed and has been remove. You may notice some errors during update as well but it should not affect anything.

Please report the usage.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Tips] RuneUI Lyrics

Postby ianhaynes » 27 Nov 2017, 13:31

OK thanks. It was working despite the error so I assumed it couldn't have been important. Just updated the addon and that working fine too.

Your original post above mentions being able to add missing lyrics and edit incorrect ones. Is this only available on Rune V0.3? If not, how do we use this feature?

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Tips] RuneUI Lyrics

Postby rern » 28 Nov 2017, 15:51

ianhaynes wrote:...
Your original post above mentions being able to add missing lyrics and edit incorrect ones. Is this only available on Rune V0.3? If not, how do we use this feature?
...

Just finished up the feature.
Now long-press the lyrics open lyrics editor.
It should work on both 0.3 and 0.4b.

Please update and report.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Tips] RuneUI Lyrics

Postby ianhaynes » 28 Nov 2017, 16:45

Yes, now working (0.4b). Excellent, thanks.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Tips] RuneUI Lyrics

Postby ianhaynes » 15 Dec 2017, 11:25

Hi Rune,

A minor suggestion. When you add a lyric you have to erase the text "(Lyrics not available)". Although this is no big deal, it would be simpler if it was placeholder text which disappeared when you move the mouse cursor into the box.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Tips] RuneUI Lyrics

Postby rern » 15 Dec 2017, 11:35

ianhaynes wrote:A minor suggestion. When you add a lyric you have to erase the text "(Lyrics not available)". Although this is no big deal, it would be simpler if it was placeholder text which disappeared when you move the mouse cursor into the box.

Done.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Tips] RuneUI Lyrics

Postby ianhaynes » 15 Dec 2017, 11:57

Just updated the addon and there is no text showing in the edit box. What it needs is:

Code: Select all
<div id="lyricstextareaoverlay" style="display: none;">
      <textarea class="lyricstext" id="lyricstextarea" placeholder="(Lyrics not available)"></textarea>
   </div>


Depending on the browser the placeholder text will either disappear when you move the cursor into the box or when you start to type.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Update 20190206

Postby rern » 06 Feb 2019, 13:08

Update 20190206

Add Webradio support.

rern
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests