IPB

Welcome Guest ( Log In | Register )

56 Pages V  « < 24 25 26 27 28 > »   
Reply to this topicStart new topic
foo_uie_lyrics3, An update of foo_uie_lyrics2
The vern
post Mar 14 2012, 00:13
Post #626





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



@quisvir:
I might be able to allow saving to multiple locations using a ';' to separate.

@JJForums:
Make sure you configure Minilyrics to only download time-stamped lyrics as Minilyrics will guess the timestamps for unsynchronised lyrics, which is often inaccurate.

@realign:
Not for a while. I'm extremely busy. Probably looking at early/mid April.
Go to the top of the page
+Quote Post
SUPERCOOLMAN
post Mar 14 2012, 04:58
Post #627





Group: Members
Posts: 57
Joined: 11-April 06
Member No.: 29380



@The vern

if path contains semicolon ";", lyrics files cannot be found.
looks like a bug

setup
f:\songs\wonder of the sky「sky;melody」\a.cue
f:\songs\wonder of the sky「sky;melody」\a.ape
f:\songs\wonder of the sky「sky;melody」\lyrics\season.lrc
f:\songs\wonder of the sky「sky;melody」\lyrics\dawn.lrc
Go to the top of the page
+Quote Post
WilB
post Mar 15 2012, 19:00
Post #628





Group: Members
Posts: 259
Joined: 20-July 06
Member No.: 33113



@quisvir:
Although the vern has indicated that he might be able to allow saving to multiple locations using a ';' to separate, I am not sure that this will help you as the current behaviour of the plugin is to save the lyrics at the end of track playback. Thus saving to a currentlyric.txt file as you suggest will occur too late for the lyrics of the now playing track to be accessed by networked devices.

You asked if a wsh panel mod script would be able to pick up on an existing lyric being loaded from file. If I understand you correctly, then this is achievable by a simple script. An example is below, that will need configuring to suit your file locations.

CODE
var fso = new ActiveXObject("Scripting.FileSystemObject");

// Configure source and destination folders; use \\ not \ for new folders
var lyr_source_folder = "c:\\lyrics\\";
var lyr_destination_folder = "c:\\copy\\lyrics\\";
//

var curr_txt;
var curr_lrc;

function on_playback_new_track(metadb) {
// Configure source filenames (also if any part of the file path changes on playing a new track it will need to go here instead of above)
curr_txt = lyr_source_folder + fb.TitleFormat("%artist% - %title%.txt").Eval();
curr_lrc = lyr_source_folder + fb.TitleFormat("%artist% - %title%.lrc").Eval();
//

if (fso.FileExists(curr_txt)) fso.CopyFile(curr_txt, lyr_destination_folder + "current_lyric.txt");
if (fso.FileExists(curr_lrc)) fso.CopyFile(curr_lrc, lyr_destination_folder + "current_lyric.lrc");

//fb.trace(curr_lrc,fso.FileExists(curr_lrc))
}


This post has been edited by WilB: Mar 15 2012, 19:41
Go to the top of the page
+Quote Post
syrupbuccaneer
post Mar 18 2012, 23:43
Post #629





Group: Members
Posts: 11
Joined: 23-December 11
Member No.: 95980



I like the plugin but is there any way to queue lyric searches for an entire playlist rather than do it song-by-song?

And I don't know if this was mentioned before but enabling the custom directory for saved lyrics does not copy that same directory to 'local file search' properties in lyric searching config.
Go to the top of the page
+Quote Post
BrutuZ
post Mar 19 2012, 00:09
Post #630





Group: Members
Posts: 85
Joined: 12-March 10
Member No.: 78963



QUOTE (syrupbuccaneer @ Mar 18 2012, 19:43) *
And I don't know if this was mentioned before but enabling the custom directory for saved lyrics does not copy that same directory to 'local file search' properties in lyric searching config.

I'm sorry, but why would you have these two fields set differently in the first place? blink.gif


--------------------
http://www.last.fm/user/BrutuZ
Go to the top of the page
+Quote Post
The vern
post Mar 19 2012, 19:21
Post #631





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



@syrupbuccaneer:
You can't batch download lyrics in the current version, but I may consider it in the future (depending on how complex it would end up being). Also see #523 for a work around using a WSH panel.
I know that the local file search custom directory and save-to locations do not work very well together, plans have already been made to correct this.

@BrutuZ:
The file search location accepts multiple values, whereas the save location doesn't. So for example if your lyrics are scattered in several different places, then it can still work properly.

This post has been edited by The vern: Mar 19 2012, 19:37
Go to the top of the page
+Quote Post
frank86
post Mar 21 2012, 14:24
Post #632





Group: Members
Posts: 2
Joined: 21-March 12
Member No.: 97958



Hey

I like this PLugin much, finally there`s a working lyrics plugin wink.gif

But one thing I miss, is the possibility to deactivate the AUTOMATIC lyric search and to start search manually.

Everytime I listen to a song, wether the lyrics panal is active or not, it searches for lyrics automatically and sends to all the servers of the lyric search engines the information when I listen to which music (I think its very likely that these servers earn their money by creating listening-profiles of users and selling them).
I wish al little more self-determination about my personal information.

It can't be that much work, to add an "deactivate atomatic search"-option and a context menu entry like "start search" or "search online" when you right klick on the lyrics panel.


What do you think?



(sorry for my bad english)
Go to the top of the page
+Quote Post
BrutuZ
post Mar 27 2012, 02:59
Post #633





Group: Members
Posts: 85
Joined: 12-March 10
Member No.: 78963



Just reporting that lyrics.wikia.com is returning truncated lyrics. Example:
QUOTE
Artist : Michael Jackson
Title : Heal the world

Think about the generations and say we wanna make it a better place
For our children and our children's children
So that they know what's a better world for them
And think they can make it a better place

There's a place in your heart and I know that it is love
And this place could be much brighter than tomorrow
And if you really try, you'll find there's no need to cry
In this place you'll feel there's no hurt[...]
It includes and actually ends on that [...]


--------------------
http://www.last.fm/user/BrutuZ
Go to the top of the page
+Quote Post
The vern
post Mar 27 2012, 08:36
Post #634





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



@frank86:
The next version will only do an automatic search if a panel is active.

@BrutuZ:
That's just how they appear on wiki lyrics. http://lyrics.wikia.com/Michael_Jackson:Heal_The_World
Go to the top of the page
+Quote Post
q-stankovic
post Mar 27 2012, 16:47
Post #635





Group: Members
Posts: 1718
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



In regard to his argumentation frank86 must be German. That's so typical here!


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
BrutuZ
post Mar 27 2012, 18:01
Post #636





Group: Members
Posts: 85
Joined: 12-March 10
Member No.: 78963



QUOTE (The vern @ Mar 27 2012, 04:36) *
@BrutuZ:
That's just how they appear on wiki lyrics. http://lyrics.wikia.com/Michael_Jackson:Heal_The_World

Not a plugin fault, lyrics.wikia's fault indeed. I posted because it was the second lyric to appear truncated that way so figured it could be a Plugin problem. But after checking the link it's just another case of goddamn licensing crying.gif
QUOTE
Unfortunately, we are not licensed to display the full lyrics for this song at the moment. Hopefully we will be able to in the future.


Sorry about the fuzz unsure.gif


--------------------
http://www.last.fm/user/BrutuZ
Go to the top of the page
+Quote Post
Hypernova
post Mar 28 2012, 06:01
Post #637





Group: Members
Posts: 1
Joined: 28-March 12
Member No.: 98126



First thanks vern for your work!

QUOTE (arst @ Mar 6 2012, 00:33) *
Nice component, I have used this great plunging since lyric show panel 1, thanks for the effort.

I got a problem, I want to save lyric as "01 - my first song.lrc" , so I changed the save parameter as : "$if(%tracknumber%,%tracknumber% - )$if2(%title%,%_filename%)", it works fine,
but how it could search the lyric from "Local File Search"?

I tried to change the search parameters artist as "$if(%tracknumber%,%tracknumber%)", it solve my problem, but once I want to search lyrics from online DB it will become useless.

how should I do? thanks.



QUOTE (WilB @ Mar 6 2012, 03:34) *
This issue has been dealt with by a number of posts in this thread. Please see, e.g., posts 522, 523, 546, 590, 591, 594, 595, 601 and 602.

The bottom line is that currently the saved lyric name must contain the artist and title to be found (although it is planned to change this behaviour). As a workaround in your case you can put a space as the artist name; this should find your local file but will break internet searching - see above posts for more info.


@arst, I have the exact same setup with you about the lrc file. I'd like to request vern to add an option to separate the local search option also. But for now, my workaround is use
CODE
$if(%ispaused%,%artist%, )
in Artist search parameter. This way, when you want to do online search, just paused the song and do a manual search. It's not perfect, but for me I rarely get a hit anyway. Most of my collections are anime songs, I do wonder why lyrics2 seem to get much more results. Probably something to do with database I guess.
Go to the top of the page
+Quote Post
neothe0ne
post Mar 31 2012, 03:47
Post #638





Group: Members
Posts: 294
Joined: 25-September 05
Member No.: 24684



Is it possible to display in the panel whether it is still searching for lyrics? E.g., I want to add a line "Searching..." if it's still looking, and then maybe "Done" when it's done. (possible via a %tag%?)
Go to the top of the page
+Quote Post
The vern
post Mar 31 2012, 19:13
Post #639





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



@Hypernova:
As I have said previously the next version will not require the artist name if the lyric is saved in the same folder as the track.

@neothe0ne:
I have plans to create a titleformatting variable in the fallback text which contains the search progress (as a percent), then that variable can be used however the user wishes.

Hope that helps.


Go to the top of the page
+Quote Post
SUPERCOOLMAN
post Mar 31 2012, 19:24
Post #640





Group: Members
Posts: 57
Joined: 11-April 06
Member No.: 29380



QUOTE (The vern @ Mar 31 2012, 12:13) *
@Hypernova:
As I have said previously the next version will not require the artist name if the lyric is saved in the same folder as the track.

@neothe0ne:
I have plans to create a titleformatting variable in the fallback text which contains the search progress (as a percent), then that variable can be used however the user wishes.

Hope that helps.



maybe adding a debug option to enable print to fb2k console (available from view -> console) for each searched string on an repository (online database, local file search directories...) ex. searched pattern/string "abc.lrc" at local file search -> g:\abc album\lyrics
this would allow us to debug the search string pattern on our own.
Go to the top of the page
+Quote Post
The vern
post Mar 31 2012, 19:41
Post #641





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



Just to be clear, it doesn't have any particular search pattern, it just searches for the artist and title names within the filename. I'll see about adding debug info (although I can't see it being particularly useful).
Go to the top of the page
+Quote Post
McBag
post Apr 1 2012, 17:40
Post #642





Group: Members
Posts: 16
Joined: 4-September 10
Member No.: 83614



Hi,
first of all thx for your great work.
I have a question how can I avoid that the minilyrics window pops up?
I want it to completely run in the background.
I just want to see my foobar window and not the minilyrics window.
Here's a video that shows what I mean: http://youtu.be/h3H4njDOePc
Thx!
Go to the top of the page
+Quote Post
The vern
post Apr 1 2012, 18:00
Post #643





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



see #403-407.

Hope that helps.
Go to the top of the page
+Quote Post
McBag
post Apr 1 2012, 19:47
Post #644





Group: Members
Posts: 16
Joined: 4-September 10
Member No.: 83614



Thx for the reply.
I already figured this out.
The thing is I wouldn't want to minimize minilyrics everytime I start foobar.
Is this possible to achieve?
Go to the top of the page
+Quote Post
The vern
post Apr 1 2012, 20:36
Post #645





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



Not as far as I'm aware. You can make the window smaller so that it's less annoying but beyond that I cant help, sorry!
Go to the top of the page
+Quote Post
McBag
post Apr 2 2012, 14:15
Post #646





Group: Members
Posts: 16
Joined: 4-September 10
Member No.: 83614



I didn't change anything but now the program works as I imagined it.
Amazing!
€: Got the solution.
Push ctrl+alt+m once and be happy for ever!

This post has been edited by McBag: Apr 2 2012, 14:53
Go to the top of the page
+Quote Post
quisvir
post Apr 3 2012, 14:41
Post #647





Group: Members
Posts: 3
Joined: 14-April 11
Member No.: 89809



@The Vern:
Thanks for the offer of allowing multiple save locations. But my case is rather tricky (as WilB rightly pointed out), in that it would require the second copy to have a static filename, and it would have to be saved at the start of the song. But if such a thing is possible at all, I would very much welcome it smile.gif

@WilB:
Thanks so much for providing that script! I hadn't considered using a script to copy pre-existing lyrics files, as opposed to getting the loaded lyrics from the plugin itself. It still leaves the songs without saved lyrics of course, but it does take care of all regularly played songs.

I've changed the script to suit my particular case, so I've added it below in case anyone is interested. A few notes:
- It copies .txt lyrics if present, otherwise .lrc is converted. Conversion is very 'dirty', so it won't work on files that contain errors. For instance, timestamps are recognized with a few simple charAt tests instead of a proper regexp (for performance reasons).
- File operations are optimised for using a local source, and network destination. Hence, reading .lrc files is done line by line, but writing is done in one go.
- Suggestions for improvements are always welcome smile.gif

CODE
//
// Script to copy current song lyrics to a static location.
//
// Copies .txt if present, otherwise .lrc is converted (quick 'n dirty).
// File operations optimised for using a local source, and network destination.

var fso = new ActiveXObject("Scripting.FileSystemObject");

var source = fb.FoobarPath + "lyrics\\";
var dest = "m:\\current_lyric.txt";

function on_playback_new_track(metadb) {
var curr, f, line, lyric, end, text, i, c;
var lines = [];

curr = source + fb.TitleFormat("%artist% - %title%").Eval();

try {
if (fso.FileExists(curr + ".txt")) {
fso.CopyFile(curr + ".txt", dest);
} else if (fso.FileExists(curr + ".lrc")) {
f = fso.OpenTextFile(curr + ".lrc", 1);
while (!f.AtEndOfStream) {
line = f.ReadLine();
lyric = line.slice(line.lastIndexOf("]") + 1);
while (line.charAt(0) === "[" && !isNaN(line.charAt(1))) {
end = line.indexOf("]", 8);
lines.push([lyric, line.slice(1, end - 1)]);
line = line.slice(end + 1);
}
}
f.Close();

lines.sort(function (a, b) {
if (a[1] < b[1]) return -1;
if (a[1] > b[1]) return 1;
return 0;
});

text = "";
for (i = 0, c = lines.length; i < c; i++) {
text += lines[i][0] + "\r\n";
}
f = fso.OpenTextFile(dest, 2, true);
f.Write(text);
f.Close();
}
} catch (e) {
if (f) f.Close();
}
}

PS: My apologies for replying so late, real life got the better of me for a while wink.gif
Go to the top of the page
+Quote Post
xbrtll
post Apr 3 2012, 18:53
Post #648





Group: Members
Posts: 20
Joined: 3-April 12
Member No.: 98351



Hi,

great plugin, I'm just missing one little thing:

Normally I want the lyrics to be saved in configuration folder, but I'm looking for an easy way to save lyrics to file-tags after I checked/corrected them. Of course, changing the save method in preferences (and changing it back afterwards) is possible, but not very convenient. My idea would be a simple "save to tag"-entry in context menu.

Is there a way to get this? Or another - maybe even easier - way I overlooked?

One more thing: Is it possible to use the seekbar while editing lyrics?
Go to the top of the page
+Quote Post
McBag
post Apr 3 2012, 20:53
Post #649





Group: Members
Posts: 16
Joined: 4-September 10
Member No.: 83614



It seems as Minilyrics fetching doesn't always works.
Sometimes it just snatches from other sources though the tool is configured to fetch the songtext from minilyrics first.
Is this a known bug?
Go to the top of the page
+Quote Post
The vern
post Apr 3 2012, 23:13
Post #650





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



@xbrtll:
There is currently no independent save to tag option, but one way round it would be as follows: As lyrics are saved at the end of the song, you can do your editing while the song is playing and have the automatic save always saving to tag. This of course assumes that you want to go round checking/correcting the lyrics all throughout playback, which you may not want to do. It should also be noted that editing a pre-existing lyric (either in the tag or file) using the built in editor triggers a re-save at the end of the song (or apply/OK if the checkbox is ticked). Put simply, you could save them to the tag automatically and edit them later.
You can't use the fb2k seekbar whilst the editor is open, but that is why I provided the fast-forward and rewind buttons (which skips by 5s).

@McBag:
The Minilyrics program restricts access to it's servers - if you query too frequently. Does the actual minilyrics app display lyrics for the songs in question?

Hope this helps

This post has been edited by The vern: Apr 3 2012, 23:15
Go to the top of the page
+Quote Post

56 Pages V  « < 24 25 26 27 28 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th April 2014 - 00:53