Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [crashware] foo_uie_lyrics2 (Read 484571 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[crashware] foo_uie_lyrics2

Reply #150
It seems that lyric does not change when song in the same cue sheet changes...
It doesn't search for new song lyrics until you tell it to reload. AFAIR previous versions didn't have that problem.

There are problem with foo_uie_lyrics2 0.4.5 and foobar 1.0: didn`t changes lyrics if playing ape\flac+cue file on next song, only with "Reload lyrics"

I'm having the same issue with v0.4.5 and foobar2000 v1.0

[crashware] foo_uie_lyrics2

Reply #151
Thanks for the feedback guys!

I'm now back from holidays &  will take a look at your replies and release an update soon.

[crashware] foo_uie_lyrics2

Reply #152
I like the original foo_uie_lyrics much more. I don't know what the author intends to do with the plugin, but I don't like what had already been done. "highline" doesn't work, saving lyrics file doesn't work, in addition to that when you manually search it downloads all the results even before you ask it (traffic) and keeps it somewhere (where?), most of the results are the same, what does L. M Y B. means??? sometimes the lyrics stops scrolling... I dont like, I want everything back, just more stable!

Suggestions:

1) Rollback all the changes and make the plugin F2000 1.0 compatible


You have to note that I have redesigned & rewritten about 50% of the code already (putting more then 1 week of  effort into it) - this will go up to about 80% as planned currently.

Also,

- it does not download all the lyrics before you ask it to (next lyric), it does  only download all of them on a manual search, because currently only 1 out of 10 online lyrics databases supply all the information that gets displayed before you actually download the lyrics, I cannot change is (I would have to hack them.....)
- saving lyrics does work.
- scrolling / displaying issues arise from the fact that I'm still using the original rendere & am pushing it beyond its limits currently, I am already working on a flicker-free opengl renderer... but hey, I'm not even get paid for this.. so....

before complaining about my work, please compare my source code with the latest source code of the old plugin..... you will notice that in the old version everything was in a single file, a complete mess..... should we really revert to that?

[crashware] foo_uie_lyrics2

Reply #153
Great to see you're back. Please fix the crashes first though . I'm really enjoying this component, it just crashes a lot .

[crashware] foo_uie_lyrics2

Reply #154
for me you're doing a good work
we got some erros on new plugin yet, but you can fix it in a future
the important is that you did it, you're the one who got the plugin and made a update and foobar2000 will win with you doing this

great initiative and stay going by your way

[crashware] foo_uie_lyrics2

Reply #155
welcome back, hope you enjoyed your holidays.  take the criticism with a grain of salt; it always amazes me on this forum how many people are quick to complain about the free dev work that's being done on foobar and the 3rd party plug-ins.  i would hope that it doesn't discourage your efforts.

i'm sure there are plenty of others like myself, who are fine to sit back and wait for the further development.  we will all enjoy the fruits of your labor.  you're doing great so far.  thanks in advance for your continued efforts.

[crashware] foo_uie_lyrics2

Reply #156
I'd like to add my support too.  The plugin is just about perfect for me even now.  It has only crashed once (and that was when my kids happened to have been in charge... so who knows what they did!).

Once the instability issues are addressed, the features I'd like to see are:

1) option to disable popups saying that write access has been denied when writing lyric to file (i.e. fail silently)
2) support for Default User Interface
3) simple editor (to edit the lyric, whether it's in the file's ID3 tag, or a separate lyric file)

By the way, is it possible to select a bunch of tracks and request this component to download lyrics for them as a batch, rather than wait until first playback?

Thanks,

Mike

[Edit: clarification]


[crashware] foo_uie_lyrics2

Reply #158

Hope you had good hols, would love to see this plug-in loose it's crashware status mainly for piece of mind , have only had a coup[le of crashes so  keep up the good work it is very much appreciated.

[crashware] foo_uie_lyrics2

Reply #159
thanks guys!

foo_uie_lyrics2_0.4.5.2

0.4.5.2
- support for DUI
- fixed c++ runtime errors
- updated to 1.0 SDK - foobar 1.0 is now required

->>> there are still many things i am currently working on, so don't get mad at me if you encounter probs

->> if someone could send me  a .cue music file, that would be great

btw,  the DUI interface update comes with some first internal changes to allow multiple instances of the lyrics panel.
currently you can create multiple instances only with DUI & they will all be in sync (you cannot display different lyrics)

 

[crashware] foo_uie_lyrics2

Reply #160
->> if someone could send me  a .cue music file, that would be great
Select any album you have, convert to WAV with "Generate multi-track files", you end up with .wav & .cue.
Full-quoting makes you scroll past the same junk over and over.


[crashware] foo_uie_lyrics2

Reply #162
Please check for callback->is_edit_mode_enabled() in your WM_CONTEXTMENU handler, the LEM context menu is currently unavailable.
Also I hope the configuration (the part related to presentation) will be handled per-instance instead of the global configuration in Preferences, allowing it to be serialized into the monolith theme file for distribution, and that the defaults will be based on the current global color scheme (maybe access them using some new custom formatting function like $color(text)?).
Full-quoting makes you scroll past the same junk over and over.

[crashware] foo_uie_lyrics2

Reply #163
Please check for callback->is_edit_mode_enabled() in your WM_CONTEXTMENU handler, the LEM context menu is currently unavailable.
Also I hope the configuration (the part related to presentation) will be handled per-instance instead of the global configuration in Preferences, allowing it to be serialized into the monolith theme file for distribution, and that the defaults will be based on the current global color scheme (maybe access them using some new custom formatting function like $color(text)?).


these are some pretty good ideas  thanks for the input. once i have finished rewriting the online database handling I will redo window handling / text rendering / configuration and these changes will be included. the only variable here is time

[crashware] foo_uie_lyrics2

Reply #164
- possible fix for cue files (can someone please verify this?)

I'm still having the same issue with embeded cue sheets: The lyrics don't change when the song changes, unless I click on "Reload lyric".


[crashware] foo_uie_lyrics2

Reply #165
- possible fix for cue files (can someone please verify this?)

I'm still having the same issue with embeded cue sheets: The lyrics don't change when the song changes, unless I click on "Reload lyric".




yeah, it still does not work, i will look at it tommorrow (going to sleep now  )


[crashware] foo_uie_lyrics2

Reply #167
awesome, DUI support....finally goodbye Dockable Panels!

you are seriously awesome!
thank you again and again.

[crashware] foo_uie_lyrics2

Reply #168
Hi Michael, It's good to have You back.
I was working a little in the component and I'll like to show You my advances:
- Looking at the code from original component, It's a real mess. I think It needs to be fully rewritten.
- Regarding to DUI support, I Implement It by declaring public the member "StaticWnd" of "uie_lyrics" class.
.......- Edit mode enable/disable is implemented and Right click works
.......- When the component isn't visible, It disables redraw for minimize CPU utilization
.......- The implementation is Single instance
- I really don't see the point of allowing a multi instance element.
- The current version (0.4.5.2) has a High CPU usage, even when foobar window is minimized.

- I've rewritten the function "ReadLyricFromTag" and now It can found tags in UPnP files as requested by user gebla.
Code: [Select]
bool ReadLyricFromTag(const metadb_handle_ptr & track, tstring & out)
{
//if (strnicmp("file://", path, _countof("file://") - 1)) /* Removed: Permits Query Tags From UPnP Component (http) */
// return false;

if (wildcard_helper::test_path( track->get_path(), t2u(cfg_skipbyfiletype.get_value()),true) )
return false;

pfc::string8 tag_list = pfc::stringcvt::string_utf8_from_wide( cfg_lyric_tag.get_string_ref().c_str() ); /* Suggestion: Change Config Variables To cfg_string */
tag_list.replace_char( ';', '\0' );

track->metadb_lock();

service_ptr_t<titleformat_object> script_tag;
pfc::string8 tag, raw_tag, out_tmp;
for( unsigned int length = 0; length < tag_list.get_length(); length += raw_tag.get_length()+1 )
{
raw_tag.set_string( tag_list.get_ptr()+length );
if( !raw_tag.get_length() ) /* Empty Tag */
continue;

tag.set_string( "[%" );
tag.add_string( raw_tag );
tag.add_string( "%]" );

static_api_ptr_t<titleformat_compiler>()->compile_safe( script_tag, tag );
track->format_title( NULL, out_tmp, script_tag, NULL ); /* Query For Tag Content */

if( out_tmp.get_length() > 0 ) /* Tag Content Found */
{
out = u2t( out_tmp.get_ptr()  );
track->metadb_unlock();
return true;
}
}

track->metadb_unlock();
return false;
}

- I would like to help You developing the component, but the source published is too old.

I'll hope my code can help You.

DUI Implementation Code

[crashware] foo_uie_lyrics2

Reply #169
- I really don't see the point of allowing a multi instance element.
For example someone might want to see lyrics both on their "playing" and "managing" layouts, switchable by tabs. Or just prepare a new theme in Scratchbox, that would be another instance too. Not speaking about having a proper paste/replace functionality, where both the element being replaced and the new replacing one coexist momentarily, IIRC, which might be a little tricky.
Full-quoting makes you scroll past the same junk over and over.

[crashware] foo_uie_lyrics2

Reply #170
Hello jano,

thanks a lot for your code!

I will add your edit-mode for DUI & UPNP code asap
Ultimately I want it to support multi-instances, making it possible to display different lyrics at once (from different sources, etc).

You want to help me? Nice  - I will set up a SVN server tomorrow and pm you the login details, that should help us a bit.

Basically I have split up this project into two sources:

- the one currently published, which will get the listed database upgrades as in my first post and after that only stability patches

- a new source base, which I have completely redesigned and is going to replace the old version

you can help me with both, or any you like (the new one will be ready in about ~2weeks),
well I'll send you a pm once i have set up everything

greetings,
michael

[crashware] foo_uie_lyrics2

Reply #171
.cue files are fixed, Michael. Not sure about previous crashes however.

[crashware] foo_uie_lyrics2

Reply #172
foo_uie_lyrics2_0.4.5.3

0.4.5.3
- final cue fix
- added jano's DUI mode fixes (edit mode, visibility)

[crashware] foo_uie_lyrics2

Reply #173
For example someone might want to see lyrics both on their "playing" and "managing" layouts, switchable by tabs. Or just prepare a new theme in Scratchbox, that would be another instance too. Not speaking about having a proper paste/replace functionality, where both the element being replaced and the new replacing one coexist momentarily, IIRC, which might be a little tricky.

Yeah, but for management you can't have synced lyrics because the song isn't playing, and for that purpose you can use text display component. I think this component is ment for the now playing section of foobar
also, my DUI implementation generates dummy instances when you have one already ( similar to UPnP component )
Maybe the solution is create another component for lyrycs edition.

@Michael87:
thanks, I never worked with a SVN server. I'll read about It. also, I'm recently learning about WINAPI, and I don't know nothing about thread programming, but I'll be happy to help You in what I can.



PS: sorry my english.

[crashware] foo_uie_lyrics2

Reply #174
Thanks for your work so far Michael87, i look forward to seeing this component developing further.
However, i have a minor issue to report. after installing todays updates (occured with both 0.4.5.2 & 0.4.5.3) i have a problem whenever i close foobar, the crash dialog now appears everytime i close the programme, whether there is a track currently playing or not. i removed the component & the issue stopped. running foobar2000 v1.0 on Vista Ultimate x86 sp2, can send crash reports and/or dumps if you require.

On the plus side, the runtime error seems fixed so thanks for that, & thanks again for your time