HydrogenAudio

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: rexy on 2004-09-01 23:58:37

Title: Personalized foo_uie_dbexplorer.dll
Post by: rexy on 2004-09-01 23:58:37
Changes include (I might be forgetting something, though):Note that I made this version with myself in mind so I might have hard coded something without noticing or created a bug that did not distupt my own usage so it past unnoticed. If anyone wants the source (hardly any changes, actually so having bugs specific to this version is doubtable) I'll post it too.

Oh, and big thanks to musicmusic for implementing this great extension feature in his amazing ui component.

Also, I compiled this in VS .NET 2003 so I think that, unfortunately, you might need msvcr71.dll.
Title: Personalized foo_uie_dbexplorer.dll
Post by: A_Man_Eating_Duck on 2004-09-02 03:47:17
msvcr71.dll (http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71)

[span style='font-size:14pt;line-height:100%']Warning
backup you config before using[/span]

Have you changed anything regarding sorting?
the sorting in your version goes all weird

Album list config
Code: [Select]
$if($stricmp($directory(%_path%,2),%artist%),$directory(%_path%,2),$if($stricmp($directory(%_path%,2),'Various Artists'),$directory(%_path%,2),$directory(%_path%,1)))|$if($stricmp($directory(%_path%,1),%album%),$directory(%_path%,1),)|$if(%tracknumber%,%Tracknumber% - ,%Artist% - )%title%


using this in the proper album list shows this
Code: [Select]
+0-9
+12 Stones
+3 Doors Down
+A
+A New Found Glory
+A Perfect Circle
+Acdc
+Alien Ant Farm
.....
.....
.....


Using your moded version
Code: [Select]
+12 Stones
+3 Doors Down
+0-9
+A New Found Glory
+A Perfect Circle
+Acdc
+A
+Alien Ant Farm
.....
.....
.....


Any ideas ?
Title: Personalized foo_uie_dbexplorer.dll
Post by: Saint on 2004-09-02 10:12:57
Yeh i seem to get that using UpNorths sort string from the ui_columns thread.

the --Various Artists--- has moved from the top to down between Brahms and the Byrds.

Very strange.

Also would i be possible to set "Adds items to playlist instead of replacing playlist with items." as an option, So you can choose if you want that to happen or not.

I actually quite liked that happening

Thx.
Title: Personalized foo_uie_dbexplorer.dll
Post by: rexy on 2004-09-02 13:05:43
That sorting problem sounds really weird...
Are you sure you have copied the hierchy string to the sorting string? Or maybe you have a different, but valid, sorting string (like I do to be able, among other things, to ignore 'the' at beginnings when sorting but still show it)? What I fear is that maybe you left that blank hoping it would notice it's empty and use the hierchy string by default, which I think is not what it does because of the way I hard coded some small thing there, but that's very fixable if that's the case.
As for having a options for when to add songs and how to add songs, that's very doable and I'll try to get that done for you.
I plan to continue work on this as musicmusic said he won't, but I'm not sure how much time I will have to spend on this... I won't have time to do that little option thingy even untill like labor day or later, even if it's just a bit of editing of the preference window.
Title: Personalized foo_uie_dbexplorer.dll
Post by: Insolent on 2004-09-02 13:10:16
Um, my playlist doesn't even update when I select an item.
Title: Personalized foo_uie_dbexplorer.dll
Post by: A_Man_Eating_Duck on 2004-09-02 13:40:51
Quote
That sorting problem sounds really weird...
Are you sure you have copied the hierchy string to the sorting string? Or maybe you have a different, but valid, sorting string (like I do to be able, among other things, to ignore 'the' at beginnings when sorting but still show it)? What I fear is that maybe you left that blank hoping it would notice it's empty and use the hierchy string by default, which I think is not what it does because of the way I hard coded some small thing there, but that's very fixable if that's the case.
As for having a options for when to add songs and how to add songs, that's very doable and I'll try to get that done for you.
I plan to continue work on this as musicmusic said he won't, but I'm not sure how much time I will have to spend on this... I won't have time to do that little option thingy even untill like labor day or later, even if it's just a bit of editing of the preference window.
[a href="index.php?act=findpost&pid=238923"][{POST_SNAPBACK}][/a]


Thanks that works

So you did do something with the sorting, naughty naughy 

keep up the great work

Quote
Um, my playlist doesn't even update when I select an item.


Jump into the preferences and enable double click sends to playlist on the database explorer tab.
Title: Personalized foo_uie_dbexplorer.dll
Post by: Saint on 2004-09-02 15:09:21
Yep copying over the string to the sort box worked. Cheers.
Title: Personalized foo_uie_dbexplorer.dll
Post by: Klato on 2004-09-08 05:55:39
This is exactly what I wanted: an album list attached to the player, that also does not update the playlist (as with the normal DB Explorer) where I can simply double click on a track and have it sent to an empty, ongoing playlist.
Title: Personalized foo_uie_dbexplorer.dll
Post by: jkwarras on 2004-09-12 16:11:27
First: Thanks for this!

This is making my 'foobar-life' easier 

I have a little request: Could it be possible to have your mod dll have an option to show the album tracks on the DBExplorer panel (and not on the playlist), like in the Album list panel?

Why? What I like about your version is that playlist isn't replaced with album tracks when you focused on it, but instead, when you double-click on it, the album tracks are added to the playlist. Well, if I can actually see the tracks on the panel, I can double-click on the tracks I want to add to the playlist and add them to the playlist. Now I have to double-click the entire album and then remove the tracks I don't want to play.

Maybe this should be added to the albumlist panel....I'll request it also to musicmusic.

Good work. Really appreciated.
Title: Personalized foo_uie_dbexplorer.dll
Post by: Mr_Rabid_Teddybear on 2004-09-12 17:02:03
Ehhr, I might be bind, but where are this component supposed to show up?

Title: Personalized foo_uie_dbexplorer.dll
Post by: jkwarras on 2004-09-12 18:13:58
Quote
Ehhr, I might be bind, but where are this component supposed to show up?


[a href="index.php?act=findpost&pid=241216"][{POST_SNAPBACK}][/a]


You have to install the latest alpha Colums UI which is based on panels. Then install this dll, right click on the side bar (or anyohter place you can place a panel), and click on General>Database Explorer 
Title: Personalized foo_uie_dbexplorer.dll
Post by: SoulEata on 2004-09-24 02:50:41
hey rexy you wouldnt know how to make this on A TAB would ya?
Title: Personalized foo_uie_dbexplorer.dll
Post by: david_dl on 2005-12-20 21:46:54
This plugin doesn't work on my set up, it appears in preferences but not in the Panels menu. The original foo_uie_dbexplorer.dll works, but ignores my custom sort script, which works in the album list. This is to ignore "The" so that "The Clash" comes before "Damageplan" and it can probably done with a lot less code 

Code: [Select]
$if($stricmp($left($put(temp,$if2(%album artist%,%artist%)),4),The ),$right($get(temp),$sub($len($get(temp)),4)),$get(temp)) - %album%|$num(%disc%,9)|$num(%tracknumber%,9)|$if2(%title%,%_filename_ext%)
Title: Personalized foo_uie_dbexplorer.dll
Post by: humanoidboogie on 2006-01-05 07:00:28
Quote
This plugin doesn't work on my set up, it appears in preferences but not in the Panels menu.


I can't get it to work either, and I have the same problem. Argh! I might as well go back to good old Winamp... (Help!)