Page 1 of 2

[Addon] RuneUI Lyrics

PostPosted: 26 Nov 2017, 13:03
by rern
[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

Re: [Tips] RuneUI Lyrics

PostPosted: 26 Nov 2017, 17:41
by ianhaynes
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

Re: [Tips] RuneUI Lyrics

PostPosted: 27 Nov 2017, 12:30
by rern
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.

Re: [Tips] RuneUI Lyrics

PostPosted: 27 Nov 2017, 13:31
by ianhaynes
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

Re: [Tips] RuneUI Lyrics

PostPosted: 28 Nov 2017, 15:51
by rern
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.

Re: [Tips] RuneUI Lyrics

PostPosted: 28 Nov 2017, 16:45
by ianhaynes
Yes, now working (0.4b). Excellent, thanks.

Ian

Re: [Tips] RuneUI Lyrics

PostPosted: 15 Dec 2017, 11:25
by ianhaynes
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

Re: [Tips] RuneUI Lyrics

PostPosted: 15 Dec 2017, 11:35
by rern
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.

Re: [Tips] RuneUI Lyrics

PostPosted: 15 Dec 2017, 11:57
by ianhaynes
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

Update 20190206

PostPosted: 06 Feb 2019, 13:08
by rern
Update 20190206

Add Webradio support.

rern