IPB

Welcome Guest ( Log In | Register )

foo_uie_lyrics3, An update of foo_uie_lyrics2
The vern
post Aug 19 2011, 19:54
Post #1





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



Download here: http://www.foobar2000.org/components/view/foo_uie_lyrics3

Current version: 0.4.4

Lyric source SDK (SDK to build your own lyric sources): http://code.google.com/p/foo-uie-lyrics3/downloads/list. This only works with versions of the plugin after 0.3.6 beta 4.

Changes up to 0.4:
- Fixed a bug where the fade height wouldn't update properly when changed in the settings dialogue
- Made the batch search dialogue modeless
- Fixed the message in the batch search where it would say a lyric was found but not saved (it was because a lyric already existed)
- Fixed an issue where the batch search could potentially overwrite existing lyrics
- Removed "Send lyrics to cell" and stopped letssingit.com empty lyrics from the google search
- Fixed lyrics with &# in the google search (I assumed this is where they were coming from)
- Changed the SSE settings - it should now work properly on XP
- Changes such that the new 1.3 update shouldn't affect tag loading (I might have included this in the previous release, I can't remember)
- A new version of the SDK will be released shortly
- Added a batch lyric downloader - available by right clicking on a selection of items in the playlist and clicking "Download lyrics..."
- Added a google search - This does a google search for lyrics and will attempt to download the lyrics from sites automatically. If it is unable to download the lyrics it will pop up a window asking you to select the lyrics from a webpage's text. It will try and remember the selection you made so future searches of that website can be automated (however it's not particularly intelligent so it probably won't work most of the time). The popup selection dialogue will only be displayed when the lyrics are loaded from the lyric search dialogue (so as not to interrupt normal playback).
- Added a cancel search button to the lyric search box.
- Fixed the repaint issues on seeking tracks
- Made several changes to how the plugin's display is updated
- Instant lyric scrolling by putting the scroll speed slider to its highest value (far right)
- Titleformatting for the background image path
- Fixed Dark lyrics issues with different capitalisations
- Made a large number of changes to the config system in an attempt to make it more stable
- Other stability improvements
- Fixed custom save directory problems.
- Fixed bug with small window sizes producing black window.
- Possible fix to the deadlock described by revenant.
- Some other small fixes.
- Fixed issue with illegal file characters in the custom save directory.
- Control + Enter synchronises lyric lines in editor.
- Some changes to the associations - they now use the same fallback fields as titleformatting (previously none). They now require both artist and title information as a minimum in order to save an association (this solves problems with inadequate tag information).
- Fixed the issue with loading lyrics where both the artist and title were the same.
- Multiple crash fixes.
- Crash fix when searching the associations.
- Fixed pure virtual function call when closing fb2k having removed the panel from the layout.
- Returned the behaviour regarding the associations back to how it was, i.e. it will always try to find a synced lyric. (I will do something more to rectify this, but later).
- Fixed the "wrong ext" popup (please confirm).
- Other crash fixes.
- Added a tool to batch associate lyrics with a customised filename (most users don't need to use this, only those whose lyrics are saved with a filename that is not automatically recognised). Available via the associations search properties.
- Lyrics found from either the tags or the associations will be displayed first - regardless of their type (synced or not).
- Multiple crash fixes with streams.
- Fixed spelling of excellent.
- Fixed right click saving.
- (plus some other minor fixes)
- Fixes crash with choose lyric

CODE

Change in 0.3:
- Partially rewritten lyric searching, next lyric now works properly, and it should be much more stable. Searching the internet and using the search dialogue should also be faster.
- Added a new database: Timestamped 3.
- The lyrics search is now only active if a panel exists in the layout.
- Lyrics editor auto save option is maintained on restart.
- The custom save directory is used in the local file search if it's not already specified in the custom search path.
- Pressing enter in the lyrics search dialogue searchs/loads lyrics depending on which control has focus.
- Local file search only requires title if loading from the song directory.
- Adjust offset no longer displays as -1.
- In the lyric editor, pressing enter synchronises the lyrics (the edit box mustn't have focus) - This is now redundant, use Control + Enter
- The context menu no longer uses shift.
- The fallback text now has the following titleformatting: %search_state% and %search_progress%.
- The last line of synchronised lyrics is now highlighted.
- Fixed an issue where tracks beginning with 'Unknown' would not find a lyric.
- wiki searches no longer swap the '&'.
- Double clicking on the panel opens the editor.
- Editor dialogue is non-modal now.
- Some changes to the layouts of the preferences/settings pages.
- Fixed a problem where using the 'Set font colour' at the start of a line would erase all the line breaks.
- Completely new associations. They are now based on the metadata (rather than filenames) and update when the metadata is changed. This enabled automatically to allow faster searching.
- Added 'Choose lyric' option in the context menu.
- More robustness in checking whether a lyric exists before saving one.
- It can now load lyrics with a ';' in the filename or path.
- An SDK for writing your own lyrics sources will be released shortly.

Changes in 0.2.3
- Fixed lyrdb.com results.
- Added lrc123.com database.
- Fixed sort order of lyric results (it now matches your preferences).
- Fixed garbage from the end of Minilyrics lyrics.
- Fixed maintaining new lines in fallback text when converting from the old text formatting.
- Multiple crash fixes.

Changes in 0.2.2:
- Fixed refresh on playback stop.
- Commenting out in the fallback text now works.
- Changed the naming of some of the menu entries.
- Fixed problem with the message 'Load failed'.
- Fixed the resizing of the lyric search dialogue.
- Fixed a problem where the custom colours wouldn't update if a synced lyric was displayed.
- Fixed the issue with the preference page window being the wrong size (e.g. when using large fonts) - please confirm this is fixed.
- Crash fixes.

Changes in 0.2.1:
- Solved background issue (where artwork was not displayed after track change etc).
- Now supports timestamps with .xxx as well as .xx.
- Improved fading the highline colour at low scrolling speeds.
- Fixed the global variables getting stuck.
- Fixed the editor - it doesn't drop text any more.
- Added a lyric synchroniser.
- Added the ability to open a browser to a predefined webpage (which you can define) - in the lyric search dialogue.
- Fixed saving with radiostreams.
- Behind the scenes changes to the lyrics searching (your lyrics search order will be reset).
- Sorted the availability of the 'Associate lyrics' options. Also added 'Associate current lyrics' which link the playing track and the currently displayed lyric.
- Added two new timestamped databases.
- Added a Minilyrics output plugin. Please note: Minilyrics must be installed and activated for foobar2000 for this to work.
To install the plugin, go to the Minilyrics search properties (in preferences) and click 'Download and install'.
If you want to remove the taskbar entry of Minilyrics you can do so in the advanced section of Minilyrics' preferences.
I would also recommend setting Minilyrics to only download synchronised lyrics, as Minilyrics will guess the timestamps for unsynchronised lyrics (which I find annoying).
- Fixed the line spacing of the wiki lyrics database.
- Fixed removing of links and other garbage from wiki lyrics.
- It will now sort lyrics according to your search order more robustly.
- Fixed a repaint issue where it took a while to update the currently displaying lyric.
- A potential crash fix.

Changes in 0.2:
- Fading of highlight colour while the lyric is scrolling.
- Improved accent support.
- Added lyric editor to more neatly support editing/reloading lyrics.
- Improved fallback text and simplified GUI.
- Crash fix with long file names.
- Uses the new version of album art extractor.
- Other crash fixes.
- Sorted blurring of lyrics when no album art found.
- Simplified context menu and foobar 'View' menu (extra options available by pressing shift).
- Improved settings page GUI (hopefully easier to understand).
- Lyric rating is now saved in the lyric file (which was why the rating was not retained on replaying a track).
- It will try harder to display a lyric of the type desired. This only affects the 'prefer synced' and 'prefer unsynced' options.
- Retains the blend with background setting on restart.
- Sorted custom lyric search path (in file search) - it used the save path instead.
- Removed Internet search tab in preferences - those settings are now in the properties dialogue of any online source.
- Stopped error messages popping up if an error occurs with saving to the tag.
- Fixed loading/saving file names with illegal file name characters.
- 3 More online databases.
- Allow changing of background colour when 'image' is selected without have to change background mode.
- Load fallback text when CUI layout changed.
- Retaining codepage.
- Fixed searching sub-directories for the local file search.
- Stopped black screen when editing layout with playback stopped.
- Re-added global variables (%lyric_exists%, %lyric_issynced%, %lyric_currentline%)
- More robust detection of synced or non-synced.
- Saving of offset (by scrolling etc).
- Bugs with ' and $ in artist name would mess up the file search.
- Now support for [hh:mm:ss.xx] ('.xx' doesn't have to present either).
- Fixed availability of 'copy lyrics'

Changes in 0.1.4
- Crash fixes on track change.
- Reinstated saving of the timestamp offset.
- Fixed flickering whilst scrolling lyrics in transparent mode.
- Grayed out 'Save' context menu item when save method is 'Don't save'.

Changes in 0.1.3
- Crash fixes
- Added escape to exit online search.
- Added double clicking to load lyrics from online search

Changes in 0.1.2
- Fixed the preferences page retaining the custom save directory.
- Sorted version naming.
- Should have sorted the delays on track change.
- Stopped it spewing stuff out to the console.

Change log from original foo_uie_lyrics2
- Completely rewritten lyric searching, you can now customise search order or exclude/include sources as you wish. It only does one global lyric search now (not one per panel instance).
- Changed a lot of the GUI to make it more user friendly.
- Moved most of the options from the settings page into a preferences page.
- Added smooth step scrolling (customisable speed).
- Solved the transparency bug when the panel is resized.
- You can choose which type of lyric you want to display (only synced, prefer synced, only unsynced, prefer unsynced, no preference).
- Added CUI colours and fonts support.
- You can now have a different font for the fallback text.
- Added Chartlyrics.com database.
- Removed databases which weren't working any more.
- The online search dialogue now updates itself on track change.
- Gradient fill background (you choose the colour of the corners of the panel)
- Simplified the context menu.
- Changed the file search to remove the fuzzyness (your lyrics must have the artist and track name in the filename for it to be found).
- Fixed a few potential crashes.
- Fixed an error in the default settings where the write-to and read-from unsynced lyric tags didn't match.
- Plus lots of other minor things.

Please note: there have been a lot of changes - so there may be bugs I haven't spotted yet!

Enjoy!

This post has been edited by The vern: Feb 9 2014, 00:40
Go to the top of the page
+Quote Post
56 Pages V   1 2 3 > »   
Start new topic
Replies (1 - 24)
Ran Sagy
post Aug 19 2011, 20:14
Post #2





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Is this based on the old foo_uie_lyrics2 ? If so, Good to see this going on - It's the best lyrics component i know of.

If not, Thanks for stepping up with a new one! Hopefully we see more regular improvements smile.gif

I'll repot any bug i find.
Go to the top of the page
+Quote Post
Erich_2
post Aug 19 2011, 20:25
Post #3





Group: Members
Posts: 239
Joined: 10-September 08
Member No.: 58107



Great! Already implemented! beer.gif
Thank You!
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 20:26
Post #4





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



Yes it is based on the old foo_uie_lyrics2 (it's in the topic description).
Go to the top of the page
+Quote Post
Ran Sagy
post Aug 19 2011, 20:27
Post #5





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Ah, That it is. missed it. Either way, Nice to see it get updated smile.gif

You should consider putting this on the component repository, by the way.
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 20:30
Post #6





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



I most likely will, but I want to be sure it's stable before that tongue.gif
Go to the top of the page
+Quote Post
tpijag
post Aug 19 2011, 21:15
Post #7





Group: Members
Posts: 2337
Joined: 19-May 08
Member No.: 53637



foobar 1.1.8 b4
OS: XP

Preferences>Lyrics Saving>Save Settings>Custom Directory

Although the setting of a custom directory is working, the edit box is empty once you hit the OK button and then return to the components preferences. Might cause user [me] to think that a directory to save lyrics to is not set and needlessly reset and reset...

This post has been edited by tpijag: Aug 19 2011, 21:16
Go to the top of the page
+Quote Post
Ran Sagy
post Aug 19 2011, 21:35
Post #8





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Seem to have delays now when switching songs - I'm on the shuffle (tracks) mode, and when i switch song around there's a clear delay now that ive replaced lyrics2 with lyrics3.
Console shows things like:

CODE
foo_uie_lyrics2: source_db_lyrdb::Search: Connection Failed.
Timeout on host: api.chartlyrics.com
Timeout on host: api.chartlyrics.com
Timeout on host: api.chartlyrics.com
foo_uie_lyrics2: source_db_chartlryics::Search: Connection Failed.
Opening track for playback: "D:\Music\Israeli\היהודים\Unplugged (2004)\02. טיפה בים.mp3"
foo_uie_lyrics2: source_db_lyrdb::Search: Connection Failed.
Timeout on host: api.chartlyrics.com
Timeout on host: api.chartlyrics.com
Timeout on host: api.chartlyrics.com
foo_uie_lyrics2: source_db_chartlryics::Search: Connection Failed.
Lyric search returned no results.


I find the lyrics2 prints odd, since ive definitely removed the old DLL.

This post has been edited by Ran Sagy: Aug 19 2011, 21:36
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 21:44
Post #9





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



@tpijag

Good spot!

New version uploaded - should fix

@Ran Sagy:

For the console thing, I've just forgotten to change some of the names somewhere.

Does the delay happen while the lyric search is underway (i.e. no lyrics have yet been displayed, just the fallback text)?

This post has been edited by The vern: Aug 19 2011, 21:47
Go to the top of the page
+Quote Post
Ran Sagy
post Aug 19 2011, 21:46
Post #10





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Assuming i correctly updated, Still have the same issue (can't determine if its indeed the new DLL as the version number still shows as 0.5 everywhere).

EDIT: i reproduce this way -

1. Start playback of a song (should be no delays)
2. quickly switch to another song (delay)

My scenario is basically this - I use keyboard shortcuts to shuffle tracks until i reach a track i want to listen to.

This post has been edited by Ran Sagy: Aug 19 2011, 21:47
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 21:49
Post #11





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



Sorry for the confusion, you posted while I was in the middle of writing my post so I didn't see your query. The upload I just did was to fix the custom save directory text.

EDIT:

ahh ok it's due to thread synch - Will hopefully solve and get back to you (I'll also sort out the version info).

This post has been edited by The vern: Aug 19 2011, 21:51
Go to the top of the page
+Quote Post
Ran Sagy
post Aug 19 2011, 21:49
Post #12





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Ah, Understood. Let me know if you need more info.
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 22:28
Post #13





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



Version 0.1.2 uploaded.

Changes:
- Sorted version naming (let me know if I've missed one!).
- Should have sorted the delays on track change.
- Stopped it spewing stuff out to the console.

This post has been edited by The vern: Aug 19 2011, 22:32
Go to the top of the page
+Quote Post
Ran Sagy
post Aug 19 2011, 22:35
Post #14





Group: Members
Posts: 462
Joined: 30-March 04
From: Israel
Member No.: 13133



Looks good to me, No delays, version seems OK.
Thanks for the good work and quick response smile.gif

This post has been edited by Ran Sagy: Aug 19 2011, 22:36
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 22:41
Post #15





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



My pleasure biggrin.gif

It would be good if I could update my first post with the new version + changelog though. Mods....?
Go to the top of the page
+Quote Post
zaede
post Aug 19 2011, 22:45
Post #16





Group: Members
Posts: 37
Joined: 19-May 10
Member No.: 80754



Wow great, I like !!!!

One thing.

If no lyrics found please make possible to close the window with "Esc"

Peter
Go to the top of the page
+Quote Post
The vern
post Aug 19 2011, 22:53
Post #17





Group: Developer
Posts: 202
Joined: 2-June 09
Member No.: 70332



Do you mean in the lyric search dialogue?
Go to the top of the page
+Quote Post
ExtremeHunter
post Aug 19 2011, 23:17
Post #18





Group: Members
Posts: 131
Joined: 5-October 08
From: Estonia
Member No.: 59398



Thank you very much for your hard work !
Go to the top of the page
+Quote Post
ortin
post Aug 19 2011, 23:29
Post #19





Group: Members
Posts: 12
Joined: 31-March 07
From: Ukraine - Kyiv
Member No.: 42072



Thank you very much for picking up this component!

Lyric Search dialog: I think double click should load selected lyrics.
Go to the top of the page
+Quote Post
v.43
post Aug 20 2011, 01:23
Post #20





Group: Members
Posts: 54
Joined: 2-June 09
Member No.: 70339



many thanks for your work
Go to the top of the page
+Quote Post
godrick
post Aug 20 2011, 01:24
Post #21





Group: Members
Posts: 304
Joined: 31-December 10
Member No.: 86948



This works very well so far - thanks very much!

If I may humbly offer a feature suggestion - I find that available lyrics are continually getting better and better, but I struggle to upgrade saved "bad" rated lyrics to "medium" or better. Any way to automatically search for lyrics and download and overwite existing lyrics in cases where something with a higher rating is found? thanks
Go to the top of the page
+Quote Post
xan K
post Aug 20 2011, 05:39
Post #22





Group: Members
Posts: 69
Joined: 23-March 06
Member No.: 28771



Awesome work man. Great to have this good plugin back in form. smile.gif

Keep it up!
Go to the top of the page
+Quote Post
Erich_2
post Aug 20 2011, 06:38
Post #23





Group: Members
Posts: 239
Joined: 10-September 08
Member No.: 58107



QUOTE (The vern @ Aug 19 2011, 23:28) *
Version 0.1.2 uploaded.

Should be fixed:
- "Open with external editor" opens the foobar2000 Properties dialog, but not "notepad.exe".
- Lyric Search Dialog: close the window with "Esc" (as @zaede said).

Thank you very much for your work! I hope this component stops the horrible discussions about lyric components in hydrogenaudio.
Go to the top of the page
+Quote Post
kraut
post Aug 20 2011, 07:19
Post #24





Group: Members
Posts: 225
Joined: 24-November 10
Member No.: 85965



QUOTE
I hope this component stops the horrible discussions about lyric components in hydrogenaudio.



I never had any major problems with version 2, but this version is preferable and seems to work substantially better. Nice work and thanks.
Go to the top of the page
+Quote Post
holyrevenger
post Aug 20 2011, 09:05
Post #25





Group: Members
Posts: 32
Joined: 10-January 10
Member No.: 76919



Nice update!
Trying and will report later if any bug found.
Go to the top of the page
+Quote Post

56 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 16:42