Help - Search - Members - Calendar
Full Version: foo_navigator
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2
yanni
Since foobar2000 0.9 has been lacking a functional history component, I decided to take a try and make my own. By now it just provides commands to go back and forward and show the recently played tracks.
(Maybe I'll get to create a custom panel, but this would certainly take some time and for the time being I will only do some small bugfixes and additions)

For more information and downloads go to my page.
roentgen
nice idea smile.gif
but...
QUOTE
Error!
Could not connect to remote server

I've tried for the last 5 minutes sad.gif
ARiel G.
Some improvments:

1) Beside the option "Seconds to wait", amore flexable option would be "Precenge (%) to wait".

2) An option to an automatic creation of History playlist without to press "View history" in a submenu.

3) Maybe an option to mark in the DB the track history to interact with foo_autoplaylist.

Thanks, I will reguard for feutre releases.
yanni
QUOTE(roentgen @ Jun 12 2006, 14:58) *
QUOTE
Error!
Could not connect to remote server
I've tried for the last 5 minutes sad.gif

No problems over here. Does anybody else get this error?


QUOTE(ARiel G. @ Jun 12 2006, 15:17) *

1) Beside the option "Seconds to wait", amore flexable option would be "Precenge (%) to wait".
2) An option to an automatic creation of History playlist without to press "View history" in a submenu.

Done
Not quite sure about number 3, what exactly do you mean? I think most of such things can be done with Playback Statistics.
roentgen
still cannot connect sad.gif
please could use the Uploads subforum and post there?
This is badly needed tongue.gif
kockroach
Strange, I can get there no problem. Browser problem instead?
roentgen
QUOTE(kockroach @ Jun 13 2006, 00:43) *

Strange, I can get there no problem. Browser problem instead?

tried Opera, Firefox, IE (tongue.gif)
ping says 'Request timed out.'
must be some damn ISP problem
ladiko
QUOTE(roentgen @ Jun 12 2006, 23:49) *

ping says 'Request timed out.'
must be some damn ISP problem
same here with lycos dsl (telekom backbone). i think röntgen is also a german. try this --> http://anonymouse.org/cgi-bin/anon-www_de....o_navigator.htm this works for me.
yanni
QUOTE(roentgen @ Jun 12 2006, 22:37) *
still cannot connect :(
please could use the Uploads subforum and post there?

OK, here it is.

QUOTE
same here with lycos dsl (telekom backbone). i think röntgen is also a german.

Well, I'm german, too. However, using T-Online.
ARiel G.
Another improvments:
1) May you add an option to choise the adding order of the tracks to the playlist, last to newest or newest to last.

2) when I close (or remove in fb2k terminology) the history playlist - all past history dissapear. more over i can change the order or delete items from the playlist, can it possibole to make it untouchable by choise?

3) adding a new button/feature: Clear history.

4) What is the function of "History size:"? is it the size of the history you can get via the buttons press? it have no effect on the History playlist. so if i don't use the buttons i can reduce it to zero?

Thanx a lot, the other feature work very well, it just what whe need :-)
ww2
Great plugin, working perfectly so far (much better than foo_history, also - the option to control waiting time is great). I hope you continue to develop it. Kudos.
q-stankovic
Nice plugin!

The only improvement i would love to see is a reversed playlist where the newest tracks are on the top.

A bigger request i must admit: Introducing a database-only tag (saved in cfg.file f.e.) %_play_stamp%. So you would even have a column for displaying the date & time when a song was played. That tag would have to be a multiple oneand could be used for other purposes too!

Thanks for the plugin!

EDIT: It would be logical to make the navigator playlist a locked one like the foo_history is!
Piet
QUOTE(q-stankovic @ Jun 21 2006, 21:32) *

Nice plugin!

I agree.
QUOTE

The only improvement i would love to see is a reversed playlist where the newest tracks are on the top.

I agree.
QUOTE

EDIT: It would be logical to make the navigator playlist a locked one like the foo_history is!

I agree.

Thank you very much for the plugin. biggrin.gif
milanorex
very cool plugin, thanks!

the only feature I would request would be for the 'foward' option to also act like the 'next' button when you reach the end of the history list. I like going back a few songs, then skipping ahead to random songs with a global shortcut key. Thanks!
yanni
Hi,

I finally developed a new version, including a panel and custom dropdown buttons. I also made some of the improvements you suggested. Information and download of the component can be found on the same page as the first version.

Bye,
yanni

PS: I also posted an update to the uploads forum for the ones unable to download from the page above.
sitemap
Coooooool, thanks for the panel version.

One tiny, little thing: the edge style option is missing
roentgen
Nice one. Thanks.

I see something about a toolbar in configuration but I can't seem to be able to activate it (the panel works as expected though), am I doing something wrong?
yanni
QUOTE(sitemap @ Nov 3 2006, 15:35) *

One tiny, little thing: the edge style option is missing

Done.

QUOTE(roentgen @ Nov 3 2006, 16:37) *

I see something about a toolbar in configuration but I can't seem to be able to activate it (the panel works as expected though), am I doing something wrong?

You need to open the Customise button dialog (for any button toolbar you'd like), add a new button, click Change and select the Buttons Command group.
Coppertop
Thanks for this plugin!
nightfishing
QUOTE(yanni @ Nov 3 2006, 08:07) *

Hi,

I finally developed a new version, including a panel and custom dropdown buttons. I also made some of the improvements you suggested. Information and download of the component can be found on the same page as the first version.

Bye,
yanni



Nice work! I would like the history not to be reset whenever I close foobar, though. The playlist remains, so it is functional, for me, but the panel would be nice if it held the info.
Coppertop
I just noticed this as well just now. I would also like to request this feature. Thanks!

QUOTE(nightfishing @ Nov 4 2006, 01:52) *

QUOTE(yanni @ Nov 3 2006, 08:07) *

Hi,

I finally developed a new version, including a panel and custom dropdown buttons. I also made some of the improvements you suggested. Information and download of the component can be found on the same page as the first version.

Bye,
yanni



Nice work! I would like the history not to be reset whenever I close foobar, though. The playlist remains, so it is functional, for me, but the panel would be nice if it held the info.

Andreasvb
Don't know if it only me but the back dropdown button just adds the same songs on the same row, like this:
QUOTE
5. artist - title
5. artist - title4. artist - title
5. artist - title4. artist - title3. artist - title
5. artist - title4. artist - title3. artist - title2. artist - title
5. artist - title4. artist - title3. artist - title2. artist - title1. artist - title


foo_navigator.dll v0.5 [03 November 2006] - Navigator

My formatting is:
CODE
$num(%_history_number%,$len(%_history_number%)). %artist% - %title%
q-stankovic
I had a quick look and what confused me was whenever i started playback from the panel foo switched to the origin playlist. Navigator seems to remember the source playlist. The problem is: If a track inside the navigator panel doesn't belong to an playlist anymore no playback is possible anymore even if the track belongs to the history plugin. My suggestion: Let a doubleclick apply the "play" command from foo_utils.

Also one bug: Sometimes a playing track isn't send to the history panel/playlist. I will see if i can reproduce that.

And sure! The History should be kept! wink.gif
q-stankovic
I wrote:

The problem is: If a track inside the navigator panel doesn't belong to an playlist anymore no playback is possible anymore even if the track belongs to the history plugin. My suggestion: Let a doubleclick apply the "play" command from foo_utils.



On the other side some people like the behavior that the source of the tracks is remembered. So why not an option like "Play history item in its playlist": If it is not checked a doubleclick always applies the "play" command and if it is checked the "play" command is is only then applied then the track doesn't belong to a playlist anymore.

Another feature request: Now in the panel version it would be useful to have a variable %_history_timestamp% (yyyy.mm.dd hh:mm:ss) which displays when the track was played.

Thanks for your work so far! smile.gif
yanni
There's now an option to remember the history across sessions.

@Andreasvb: That's very strange. I can't imagine what may be causing this behaviour. Are the forward button and the panel working fine? Are you using the latest versions of foobar2k and ColumnsUI.
Does anybody else experience this bug?

@q-stankovic: Unfortunately I don't know how foo_utils works; as far as I can see, there's no function in the SDK to play a track that's not inside a playlist. If anyone knows better, I may have a try.
Regarding the timestamp: Maybe this will be implemented in a future release, for the time being you may use foo_playcount as a replacement.
nightfishing
QUOTE(yanni @ Nov 4 2006, 14:19) *

There's now an option to remember the history across sessions.




Thank you!
Andreasvb
QUOTE(yanni @ Nov 4 2006, 22:19) *

@Andreasvb: That's very strange. I can't imagine what may be causing this behaviour. Are the forward button and the panel working fine? Are you using the latest versions of foobar2k and ColumnsUI.
Does anybody else experience this bug?


Everything should be the newest, if you need every component just tell me, here's the ones you req:
QUOTE

Core.dll v0.9.4.1 - foobar2000 core
foo_navigator.dll v0.6 [04 November 2006] - Navigator
foo_ui_columns.dll v0.1.3 beta 1v6 TEST [08 September 2006] - Columns UI


The forward looks just like back.
Panel looks good. Maybe use that code for buttons too.

One more thing, the playlist(panel works) adds beyond the limit, I've set it at 100. The playlist is right now at 180 entries.

Thanks for a great component.
yanni
I've uploaded a test version here. If it still doesn't work, would you please post your console output after pressing the back dropdown.

QUOTE(Andreasvb @ Nov 5 2006, 12:53) *

One more thing, the playlist(panel works) adds beyond the limit, I've set it at 100. The playlist is right now at 180 entries.

This is intended, the limit only applies to the internal history and the panel, while the playlist rather acts as a log, where items are just added as they are played.
q-stankovic
QUOTE(yanni @ Nov 4 2006, 21:19) *


@q-stankovic: Unfortunately I don't know how foo_utils works; as far as I can see, there's no function in the SDK to play a track that's not inside a playlist. If anyone knows better, I may have a try.



If foosions plugin foo_utils is installed there is a play command that is accessable by context menu -> Play: This command plays a track that is not inside a playlist. I think to associate this command with a doubleclick in the panel or a simple click in the drop down button could be the most simple solution
Andreasvb
QUOTE(yanni @ Nov 5 2006, 15:06) *
If it still doesn't work, would you please post your console output after pressing the back dropdown.

Here's my log after pressing back dropdown:
CODE
4. Sy & Unknown feat. Lou Lou - Dancing In The Shadows (1)
4. Sy & Unknown feat. Lou Lou - Dancing In The Shadows (2)
3. Insight feat. Amie Jayne - We Feel So High (Sy & Unknown Remix) (1)
3. Insight feat. Amie Jayne - We Feel So High (Sy & Unknown Remix) (2)
2. Nysse & Hinton feat. Pascale - Silver Water (Sy & Unknown Remix) (1)
2. Nysse & Hinton feat. Pascale - Silver Water (Sy & Unknown Remix) (2)
1. Cube Hard - Music Of The Primes (Gammer Edit) (1)
1. Cube Hard - Music Of The Primes (Gammer Edit) (2)


QUOTE(yanni @ Nov 5 2006, 15:06) *
This is intended, the limit only applies to the internal history and the panel, while the playlist rather acts as a log, where items are just added as they are played.
Ok, got it. Thanks.

yanni
It seems like everything is working correctly, since the component is passing the right strings to ColumnsUI. I can't imagine what could go wrong after that, since it's doing fine on other machines.
All that I can advise now is to try with a clean install of fb2k.
Andreasvb
Tried with only these files, same thing

CODE
foo_input_std.dll
foo_navigator.dll
foo_ui_columns.dll
foobar2000.exe
libpng13.dll
shared.dll
zlib1.dll


QUOTE
CPU: AMD Athlon™ 64 Processor 3400+ [x86 Family 15 Model 4 Stepping 10] [DEP enabled]
Operating System: Windows Vista ™ Ultimate [version: 6.0.5840 ]
Installed RAM: 1022 MBytes
Free disk space on foobar2000 partition: 20518 MBytes
foobar2000 path: D:\Program Files\foobar2000\
Core version: foobar2000 v0.9.4.1
Andreasvb
I think I found the problem. If a track has "&" and/not "( )" or if a track after has "( )", then it adds like that.

IPB Image
yanni
@Andreasvb: OK, now I can reproduce this behaviour; it seems to be a bug in ColumnsUI, I already posted a report. As a workaround you could replace all & with something else by using the Title formatting setting.

@q-stankovic: I don't know how contextmenu items can be called from other components. If anybody else is aware of a way, please let me know.
Andreasvb
Thanks, working great now =)

Here's my format, if someone wants.
CODE
$num(%_history_number%,$len(%_history_number%)). $replace(%artist% - %title%,&,and))
2Pacalypse
i read in a foo_hopper thread that this is like jump to file in winamp, just scanned the thread couldnt see anything?

is it just a history?
fabiospark
Can we have a %_history_datetime% associated to the logged items?

We mostly listen to randomized playlists and the jukebox runs from dawn to late night.
Some times, in the evening, the wife asks me to see what was that cute little song she heard last night at 1.30 while ironing.
In such a long time, I could have more than on instance of the same item but they both will have the same last played value.

Thanks.
q-stankovic
QUOTE(yanni @ Nov 4 2006, 21:19) *

Unfortunately I don't know how foo_utils works; as far as I can see, there's no function in the SDK to play a track that's not inside a playlist. If anyone knows better, I may have a try.
Regarding the timestamp: Maybe this will be implemented in a future release, for the time being you may use foo_playcount as a replacement.


A simpler idea: Tracks without a playlist can be added to a specified playlist (f.e. Default) and then be played.

A small issue: $tab() is not working if you try to create more than 2 pseudo columns
The Judge
I would like to be able to middle-click a song in the History panel and have it added to the playback queue. I can do this in a normal playlist. Does anyone know a way this is possible? If not I will make do with right-clicking smile.gif
yanni
Hi,
I finally created a new version, adding several date/time related variables. Multiple columns using $tab() should also be possible.

Info & Download
q-stankovic
Thanks!!! smile.gif

I am going to test that. Did you solved the problem that playlistless tracks are not going to be played? My suggestion a few posts ago was just to add these tracks to a defined playlist (f.e. Default)
q-stankovic
I have experienced a bad bug: parts of history are deleted sometimes when an entry in the panel is started - but still not can reproduce that. Will try to reproduce that!
thuan
Yeah, I experienced that too, but was busy so I can't submit the bug now I forget how to reproduce. When I can reproduce I'll report the exact steps needed.
q-stankovic
You can reproduce the bug that way: Doubleclick an item inside the history panel and then doubleclick during playback of that song an track inside a playlist - parts of history are eaten!
TheTravis
This may sound stupid but i think it might be good that you couldn't play files from the panel or History playlist. It could be an option to toggle on/off.
kanak
QUOTE(TheTravis @ Jul 27 2007, 14:47) *

This may sound stupid but i think it might be good that you couldn't play files from the panel or History playlist. It could be an option to toggle on/off.


why?
TheTravis
QUOTE(kanak @ Jul 27 2007, 22:09) *

QUOTE(TheTravis @ Jul 27 2007, 14:47) *

This may sound stupid but i think it might be good that you couldn't play files from the panel or History playlist. It could be an option to toggle on/off.


why?


I often mess up with playlist and end up playing songs from History. After playing the file it's added to Hisotory playlist again and the whole thing gets quite messy. This option could also prevent user to delete parts of history as q-stankovic explained.
q-stankovic
QUOTE(TheTravis @ Jul 27 2007, 20:20) *

This option could also prevent user to delete parts of history as q-stankovic explained.


That is a very bad bug that makes this wonderful plugin totally unuseful - a new option is not a solution. Hopefully yanni will soon make a new version
yanni
Just as in most history implementations (like e.g. in browsers), whenever an item in the middle of the history is being played (displayed) and a new item is added, all newer items are first removed. (This was also the default behaviour of the old history plugin for v0.8.3). Therefore it's not a bug but a feature.
For the ones who dislike this behaviour, I have added an option ("Always append new tracks") to disable it.

Unfortunately I currently don't have the time to implement any other suggestions.
q-stankovic
Yanni, many thanks for that option!! smile.gif

(Hopefully someday you will find time to let play playlistless tracks wink.gif )
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.