foo_navigator, Simple history plug-in |
![]() ![]() |
foo_navigator, Simple history plug-in |
Dec 30 2007, 00:30
Post
#51
|
|
|
Group: Members Posts: 585 Joined: 30-July 07 Member No.: 45750 |
Hi, this is a really useful plugin, but none of the titleformatting fields work for me, they all return question marks. I'm using version 0.63, Panels UI 14.9 and foobar 0.9.5. Apart from that it works fine.
Edit: nm, just found out they are only available in the panel, I thought they were global and could be used in a columns playlist, but obv. not! This post has been edited by TomBarlow: Jan 8 2008, 18:00 |
|
|
|
Mar 24 2008, 02:36
Post
#52
|
|
|
Group: Members Posts: 18 Joined: 20-September 07 Member No.: 47216 |
Hello, thanks for this great plugin.
Is there a way to move the played track to the top of the list, rather than keep adding it multiple times? eg. if I keep playing two tracks repeatedly, one after the other, I don't want it to keep adding both tracks over and over again. |
|
|
|
Oct 28 2009, 04:42
Post
#53
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
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? Is the panel for foo_navigator still supported in FB2K v0.9.6.9 with foo_ui_columns-0.3.7.3? I'm just starting to get a handle on setting up FB2K, and have managed to set up several panels. But while foo_navigator's 'View History', 'Back', 'Forward' items appear on the 'Playback' menu by default, and I got its buttons set up on the toolbar, I fail to see any options for creating a panel for it. Am I missing something right in from of me? Thx TS |
|
|
|
Oct 28 2009, 05:19
Post
#54
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
Panel name is "History". You can add it in CUI preferences > Layout
|
|
|
|
Oct 28 2009, 07:25
Post
#55
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
I’m not sure why ‘History’ didn’t originally appear on the 'Add panel > Panels' menu while trying to install the History panel before I posted this message. But whatever it was, it’s there now and I didn’t have to go the route you outlined 2E7AH.
Panel name is "History". You can add it in CUI preferences > Layout That method for creating panels is one I haven't figured out. I’ve managed to figure out 95% of the issues I was having configuring what I've wanted in FB2K. But understanding that process has eluded me. What the heck am I missing? EDIT: An oh... I see there's a 'Log Mode' for foo_navigator. I thought that may create an external text file with the play history. But at closer look I see it enables appending newly played tracks to the list. I'd like to have an external file created and appended on an ongoing basis. Is that possible with this or some other component? TS This post has been edited by TakuSkan: Oct 28 2009, 07:39 |
|
|
|
Oct 28 2009, 07:41
Post
#56
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
It's hard to understand your English but you should check on "Remember History".
"Log mode" is for playlist named "History". Than you can use Text Tools to output that playlist to text file As for CUI layout - nothing hard to comprehend: Use vertical/horizontal splitters to split the space and place panel(s) in it or in tabs [edit] QUOTE I'd like to have an external file created and appended on an ongoing basis. Is that possible with this or some other component? Yes it's possible with Now Playing Simple This post has been edited by 2E7AH: Oct 28 2009, 07:43 |
|
|
|
Oct 28 2009, 09:40
Post
#57
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
It's hard to understand your English And I'm a native English speaker! I may need to get a little rest... QUOTE Than you can use Text Tools to output that playlist to text file Okay.. great. QUOTE As for CUI layout - nothing hard to comprehend: Use vertical/horizontal splitters to split the space and place panel(s) in it or in tabs Ah! The context menu. Now I see it. Very useful. QUOTE Yes it's possible with Now Playing Simple Okay... That went in easy. By default it writes one long comma delimited line to the log file. I'm not that good at scripting. I managed to paste $crlf() to the end of its formatting string. That got each track to be written to individual lines. But I'm still struggling to figure out how to insert time and date values. EDIT: %datetime% ... that was simple enough! Thanks for your feedback 2E7AH TS This post has been edited by TakuSkan: Oct 28 2009, 10:05 |
|
|
|
Oct 28 2009, 10:04
Post
#58
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
I have your non-edited post in RSS reader, and while it's correct it is somehow hard for me to read it and i'm not native nor good English speaker
%datetime%? |
|
|
|
Oct 28 2009, 10:25
Post
#59
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
I have your non-edited post in RSS reader, and while it's correct it is somehow hard for me to read it and i'm not native nor good English speaker You're English seems great. When I go back and read what I 1st wrote, I can see I committed at least one major error. A run-on sentence. Back in school I could have been flunked for that alone. I always feel guilty for not getting a better grasp of another language. QUOTE %datetime%? Heh... I must have been composing my last post as you were posting yours. I pretty much just guess when scripting, and go the 'trial and error' method. The '%[insert_whatever]% components I can uaually deal with. It's the rest I'm struggling with. This post has been edited by TakuSkan: Oct 28 2009, 11:01 |
|
|
|
Oct 28 2009, 11:18
Post
#60
|
|
|
Group: Members Posts: 1051 Joined: 4-January 09 Member No.: 65169 |
It's the rest I'm struggling with. Simple date and time formatting only (results in: YYMMDD hh'h'mm'ss, e.g. 091027 23h20'35): CODE $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19) More complete syntax: CODE $if(%isplaying%,$if(%ispaused%, $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)' ' [%artist%' ']$if(%title%,['['$if2(%album%,<no album>)[ %date%]'] '][#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%) '[paused ]' '('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' [ %path%][ $meta(URL)] [ '[Last modified: '$replace($substr(%last_modified%,3,16),-,,:,h)']'] [ '[Added: '$replace($substr(%added%,3,16),-,,:,h)']'] [ '[Length: '%length%']'] $char(10), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)' ' [%artist%' ']$if(%title%,['['$if2(%album%,<no album>)[ %date%]'] '][#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%) '[>playing]' '('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' [ %path%][ $meta(URL)] [ '[Last modified: '$replace($substr(%last_modified%,3,16),-,,:,h)']'] [ '[Added: '$replace($substr(%added%,3,16),-,,:,h)']'] [ '[Length: '%length%']'] $char(10)), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)' ' stopped$char(10)$char(10)) Results in: CODE 091028 09h29'22 Jason Crane [The Jazz Session 2009] #100 The Jazz Session #100: Bernie Flanders, My Grandfather [>playing] (MP3 (lossy) 44100 Hz 128 kBit/s stereo) D:\music\The Jazz Session\tjs-2009-10-23.mp3 The Jazz Session #100- Bernie Flanders, My Grandfather.mp3 [Last modified: 091023 19h27] [Added: 091023 20h56] [Length: 42:10] 091028 09h54'50 Jason Crane [The Jazz Session 2009] #100 The Jazz Session #100: Bernie Flanders, My Grandfather [paused ] (MP3 (lossy) 44100 Hz 128 kBit/s stereo) D:\music\The Jazz Session\tjs-2009-10-23.mp3 The Jazz Session #100- Bernie Flanders, My Grandfather.mp3 [Last modified: 091023 19h27] [Added: 091023 20h56] [Length: 42:10] 091028 10h14'22 Jason Crane [The Jazz Session 2009] #100 The Jazz Session #100: Bernie Flanders, My Grandfather [>playing] (MP3 (lossy) 44100 Hz 128 kBit/s stereo) D:\music\The Jazz Session\tjs-2009-10-23.mp3 The Jazz Session #100- Bernie Flanders, My Grandfather.mp3 [Last modified: 091023 19h27] [Added: 091023 20h56] [Length: 42:10] 091028 10h33'53 stopped and can be imported in Excel (separator = three spaces). Moderation: replaced code with codebox to prevent wrecking the page layout This post has been edited by foosion: Nov 1 2009, 15:54 |
|
|
|
Oct 31 2009, 14:08
Post
#61
|
|
![]() Group: Members Posts: 319 Joined: 16-February 03 Member No.: 5017 |
and can be imported in Excel (separator = three spaces). Thanks for posting that Robertina. Could you tell me what programming language these codes are based on? Is it specific to FB2K? Or maybe based on some kind of pre-existing programming? Hunting the net, the only information I could come up with was the Foobar2000:Title Formatting Reference page. Is there anything more informative somewhere? Parts of the code you posted worked for me, and other parts didn't. The unicode line feed character $char(10) does nothing on my system running Windows 7. I was able to replace it with the $crlf() code I found in the FB2K formatting page above which worked for me. I also had problems importing the output into Excel. Those 3 spaces made things a bit of a pain to load into my 2003 version. I found I could replace the groups of 3 spaces in your code with the tab function $tab() specifified in the wiki page above. The output is in a tab delimited format that Excel then loads easily. By just replacing your $char(10) and 3 spaces with $crlf() and $tab(), the result was the following: CODE $if(%isplaying%,$if(%ispaused%, $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)''$tab() [%artist%]$tab()$if(%title%,['['$if2(%album%,<no album>)[ %date%]']']$tab()[#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%)$tab()'[paused ]' $tab()'('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' $tab()[%path%]$tab()[$meta(URL)] $tab()['[Last modified: '$replace($substr(%last_modified%,3,16),-,,:,h)']'] $tab()['[Added: '$replace($substr(%added%,3,16),-,,:,h)']'] $tab()['[Length: '%length%']'] $crlf(), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)''$tab() [%artist%]$tab()$if(%title%,['['$if2(%album%,<no album>)[ %date%]']']$tab()[#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%)$tab()'[>playing]' $tab()'('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' $tab()[%path%]$tab()[$meta(URL)] $tab()['[Last modified: '$replace($substr(%last_modified%,3,16),-,,:,h)']'] $tab()['[Added: '$replace($substr(%added%,3,16),-,,:,h)']'] $tab()['[Length: '%length%']'] $crlf()), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)''$tab() stopped$crlf()) And that gives me this tab delimited output that imports easily into Excel for me: CODE 091031 05h03'36' They Might Be Giants [Apollo 18 1992] #18 Fingertips (Part 1) [>playing] (MP3 (lossy) 44100 Hz 122 kBit/s joint stereo) G:\They Might Be Giants\18 - Fingertips (Part 1).mp3 [Last modified: 091030 18h58] [Length: 0:06] 091031 05h03'42' They Might Be Giants [Apollo 18 1992] #28 Fingertips (All Alone) [>playing] (MP3 (lossy) 44100 Hz 117 kBit/s joint stereo) G:\They Might Be Giants\28 - Fingertips (All Alone).mp3 [Last modified: 091030 18h58] [Length: 0:06] There are 2 'invisable' tabbed fields in that output. The tab characters are there, but I'm not getting any data output for them. The 1st is for the 'Added' field in your script that should indicate when the file was loaded into FB2K's library, right? The other is a result of your $meta(URL) that I don't entirely understand. It seems to be an alternate network path, and I could probably just eliminate the $tab() I placed before it. With your unaltered code, for some reason the output didn't reflect pausing or stopping the playback. The following is the output from your script on my system running 2 short MP3s, and pausing in the middle of both: CODE 091031 05h08'14 They Might Be Giants [Apollo 18 1992] #18 Fingertips (Part 1) [>playing] (MP3 (lossy) 44100 Hz 122 kBit/s joint stereo) G:\They Might Be Giants\18 - Fingertips (Part 1).mp3 [Last modified: 091030 18h58] [Length: 0:06] 091031 05h08'21 They Might Be Giants [Apollo 18 1992] #28 Fingertips (All Alone) [>playing] (MP3 (lossy) 44100 Hz 117 kBit/s joint stereo) G:\They Might Be Giants\28 - Fingertips (All Alone).mp3 [Last modified: 091030 18h58] [Length: 0:06] The only difference in between that output and the one my modified script created is the replacment of those 3 spaces with tabs. And I manually folded the 2nd line where your $char(10) code failed to create a carriage return. Notice the pauses aren't listed. There's are no timestamp for when playback stopped. And there's no output for the 'Added' field. Any idea why that may be? Thanks again for your feedback Robertina. TS |
|
|
|
Oct 31 2009, 14:13
Post
#62
|
|
![]() Group: Members Posts: 2296 Joined: 18-May 03 From: Denmark Member No.: 6695 |
I pretty much just guess when scripting, and go the 'trial and error' method. The '%[insert_whatever]% components I can uaually deal with. It's the rest I'm struggling with. Save this link -------------------- Can't wait for a HD-AAC encoder :P
|
|
|
|
Oct 31 2009, 22:57
Post
#63
|
|
|
Group: Members Posts: 1051 Joined: 4-January 09 Member No.: 65169 |
Could you tell me what programming language these codes are based on? Is it specific to FB2K? Or maybe based on some kind of pre-existing programming? It is foobar2000 specific, you already found the link to its online help, foobar's menu Help / Title Formatting Help provides a shortened offline version. Only the %datetime% syntax comes with Skipy Rich's Now Playing Simple component and it only works within this plugin.QUOTE The unicode line feed character $char(10) does nothing on my system running Windows 7. I was able to replace it with the $crlf() code I found in the FB2K formatting page above which worked for me. Well done. I am using Windows XP where both elements are working, I am glad you found the correct adjustment.QUOTE I also had problems importing the output into Excel. Those 3 spaces made things a bit of a pain to load into my 2003 version. I found I could replace the groups of 3 spaces in your code with the tab function $tab() specifified in the wiki page above. The output is in a tab delimited format that Excel then loads easily. Some of my podcasts I am listening to have unfortunately tabs in some of their relevant tagging fields. So I needed another unique separator and chose the three spaces arbitrarily.QUOTE The other is a result of your $meta(URL) that I don't entirely understand. It seems to be an alternate network path I am often listening to online streams and $meta(URL) reflects their played addresses.QUOTE And there's no output for the 'Added' field. Any idea why that may be? As you assumed %added% refers to foobar's Media Library Playback statistics, so this element is not available for files outside your monitored folders. There is no output data because square brackets put around a title formatting element suppress the question mark which would be shown otherwise.QUOTE Notice the pauses aren't listed. There's are no timestamp for when playback stopped. And there's no output for the 'Added' field. Any idea why that may be? Try this Formatting string, I have improved it for Excel's importing function so that all values now are in their correct column (at least on Windows XP, Excel 2002 SP3). All your suggestions and adjustments to your OS are all taken in (at least I hope so):$if(%isplaying%,$if(%ispaused%, $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)$tab() $if2(%album artist%,'Album artist: n/a') $tab()$if(%title%,['['$if2(%album%,<no album>)[ %date%]'] '][#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%)$tab()'[paused]' $tab()'('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' $tab()$if2(%path%,$meta(URL)) $tab()'[Last modified: '$if2($replace($substr(%last_modified%,3,16),-,,:,h),'n/a')']' $tab()'[Added: '$if2($replace($substr(%added%,3,16),-,,:,h),'n/a')']' $tab()'[Length: '$if2(%length%,'n/a')']' $crlf(), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)$tab() $if2(%album artist%,'Album artist: n/a') $tab()$if(%title%,['['$if2(%album%,<no album>)[ %date%]'] '][#[%disc%/]$num(%tracknumber%,2) ]%title%,%_filename%)$tab()'[>playing]' $tab()'('%codec% '('$info(encoding)')' %samplerate% Hz %bitrate% kBit/s $if2($info(mp3_stereo_mode),%channels%)')' $tab()$if2(%path%,$meta(URL)) $tab()'[Last modified: '$if2($replace($substr(%last_modified%,3,16),-,,:,h),'n/a')']' $tab()'[Added: '$if2($replace($substr(%added%,3,16),-,,:,h),'n/a')']' $tab()'[Length: '$if2(%length%,'n/a')']' $crlf()), $substr(%datetime%,23,24)$replace($substr(%datetime%,5,7),Jan,01,Feb,02,Mar,03,Apr,04,May,05,Jun,06,Jul,07,Aug,08,Sep,09,Oct,10,Nov,11,Dec,12)$substr(%datetime%,9,10) $substr(%datetime%,12,13)'h'$substr(%datetime%,15,16)''$substr(%datetime%,18,19)$tab() stopped$crlf()) Edit: removed Codebox (sorry for that), because pasting my code into it with Opera there are unwanted spaces in it and I did not find a way to remove them. This post has been edited by Robertina: Oct 31 2009, 23:29 |
|
|
|
Feb 9 2010, 06:46
Post
#64
|
|
|
Group: Members Posts: 115 Joined: 15-April 06 From: New Jersey Member No.: 29553 |
Can you update this plug-in for foobar 1.0 please? Thanks
|
|
|
|
Feb 15 2010, 18:18
Post
#65
|
|
![]() Group: Members Posts: 53 Joined: 8-April 02 Member No.: 1724 |
bump
foobar2000 troubleshooter tells me this component should be updated, i'm using the history panel as 2E7AH describes it |
|
|
|
Feb 15 2010, 18:29
Post
#66
|
|
|
Group: Validating Posts: 2424 Joined: 21-May 08 Member No.: 53675 |
author didn't updated his component for a long time, so probability to see such outdated component in troubleshooter are evident
you shouldn't worry about it, if it works for you, thou it won't work forever if it stays outdated |
|
|
|
Feb 23 2010, 09:24
Post
#67
|
|
![]() Group: Members Posts: 71 Joined: 3-June 06 Member No.: 31415 |
|
|
|
|
Feb 23 2010, 15:38
Post
#68
|
|
|
Group: Members Posts: 88 Joined: 30-October 05 From: Russia, Tomsk Member No.: 25459 |
Thank you for the update!
|
|
|
|
Feb 23 2010, 17:12
Post
#69
|
|
![]() Group: Members Posts: 53 Joined: 8-April 02 Member No.: 1724 |
i'm glad this component is still there
thanks |
|
|
|
Feb 23 2010, 21:11
Post
#70
|
|
![]() Group: Members Posts: 123 Joined: 10-April 04 Member No.: 13389 |
Thanks!
This post has been edited by linus: Feb 23 2010, 21:11 |
|
|
|
Feb 26 2010, 19:13
Post
#71
|
|
![]() Group: Members Posts: 123 Joined: 10-April 04 Member No.: 13389 |
after the uopdate, foobar still reports in component list:
version 0.64 Navigator for foobar2000 v0.9 by Yannick Schillinger Maybe need to update some string of text? bye, Linus |
|
|
|
Mar 2 2010, 09:51
Post
#72
|
|
![]() Group: Members Posts: 71 Joined: 3-June 06 Member No.: 31415 |
Oops, missed that.
Thank you, Linus |
|
|
|
Mar 7 2010, 14:28
Post
#73
|
|
![]() Group: Members Posts: 1686 Joined: 28-May 06 From: Düsseldorf Member No.: 31251 |
Hello yanni,
nice to see that development is not abandoned. I like this component for two reasons: the possibility to show real playback time instead of last_played and especially because it covers also tracks outside of library (wich i have a lot). To benefit from your component i would love to see two features:
Thanks! -------------------- german support forum: www.foobar-users.de / user: qwert73
|
|
|
|
Mar 7 2010, 18:25
Post
#74
|
|
|
Group: Members Posts: 82 Joined: 28-September 07 From: Petrozavodsk Member No.: 47418 |
Plugin doesn't show streamed history (i.e. last.fm radio) after restarting foobar, it says "unknown title". That's because he stores history in "path to file" format, I guess. Is there any way to workaround?
|
|
|
|
May 10 2010, 22:24
Post
#75
|
|
![]() Group: Members Posts: 154 Joined: 2-April 06 From: Germany Member No.: 29078 |
some improvement ideas:
This post has been edited by RogerG: May 10 2010, 22:34 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th June 2013 - 07:45 |