Hydrogenaudio Forums

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: foosion on 03 February, 2004, 07:53:10 AM

Title: foo_utils
Post by: foosion on 03 February, 2004, 07:53:10 AM
Utilities (foo_utils)
Provides various general commands.
The latest version for foobar2000 0.9x is available from my components page (http://foosion.foobar2000.org/0.9/). Versions for foobar2000 0.8.3 and older are no longer available.
Title: foo_utils
Post by: foosion on 14 June, 2004, 08:57:07 AM
foo_utils 0.3.5foo_utils 0.3.4foo_utils 0.3.3
Title: foo_utils
Post by: foosion on 14 June, 2004, 12:04:38 PM
foo_utils 0.3.6
Title: foo_utils
Post by: foosion on 15 June, 2004, 06:06:29 AM
foo_utils 0.3.7
Title: foo_utils
Post by: bluenet on 20 June, 2004, 10:32:28 PM
Thanks foosion make this good plugins,this is usefull is music manager.
I try to recomplie it but got a lots of errors.

--------------------Configuration: foo_utils - Win32 Release--------------------
Linking...
searchcmd.obj : error LNK2001: unresolved external symbol "private: static class service_factory_base * service_factory_base::list" (?list@service_factory_base@@0PAV1@A)
commands.obj : error LNK2001: unresolved external symbol "private: static class service_factory_base * service_factory_base::list" (?list@service_factory_base@@0PAV1@A)
../Release/foo_utils.dll : fatal error LNK1120: 46 unresolved externals
Error executing link.exe.

foo_utils.dll - 81 error(s), 0 warning(s)
What's wrong? @_@
Title: foo_utils
Post by: foosion on 21 June, 2004, 10:08:08 AM
Quote
Thanks foosion make this good plugins,this is usefull is music manager.
I try to recomplie it but got a lots of errors.

--------------------Configuration: foo_utils - Win32 Release--------------------
Linking...
searchcmd.obj : error LNK2001: unresolved external symbol "private: static class service_factory_base * service_factory_base::list" (?list@service_factory_base@@0PAV1@A)
...
../Release/foo_utils.dll : fatal error LNK1120: 46 unresolved externals
Error executing link.exe.

foo_utils.dll - 81 error(s), 0 warning(s)
What's wrong? @_@

You have to set up dependencies: In Visual Studio 6, go to 'Project/Dependencies', select foo_utils from the dropdown box  and check foobar2000_component_client, foobar2000_sdk, foobar2000_sdk_helpers and foosion_helpers. I hope the version of the foosion_helpers library on my web page will suffice; if not, I will update it when I find the time.

And please remove the huge error log from your post; it is a bit annoying to have to skip over all that.
Title: foo_utils
Post by: foosion on 27 October, 2004, 08:49:11 PM
foo_utils 0.4.0Please note that you have to enable those commands first in the preferences ("Components/Playlist tools"). The difference between "enabled (show new)" and "enable (hide new)" is that with the former entries for new playlists will automatically be added to the context menu. The generated command names are rather inconvenient, but that's about the best thing that can be done with the current version of foobar2000. At least the commands will be properly sorted when displayed (unless you rearrange them manually). Note that you can pick one of several formats used to display those commands when viewed in the actual context menu.

Link:
foo_utils-0.4.0.zip (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_utils/foo_utils-0.4.0.zip)
Title: foo_utils
Post by: spase on 08 November, 2004, 01:32:49 AM
it seems like if you move the context menu items around for the adding and sending to playlists, they disappear completely.  is there a way to get them back without removing the plugin restaring foobar, closing foobar, reinstalling plugin, and starting foobar one more time?
Title: foo_utils
Post by: foosion on 08 November, 2004, 04:35:41 AM
Quote
it seems like if you move the context menu items around for the adding and sending to playlists, they disappear completely.  is there a way to get them back without removing the plugin restaring foobar, closing foobar, reinstalling plugin, and starting foobar one more time?[a href="index.php?act=findpost&pid=252567"][{POST_SNAPBACK}][/a]
Could you please tell me, what exactly causes these entries to vanish, as I have not been able to reproduce it so far. Anyway, moving these commands might not be a good idea, unless the number of playlists stays the same. The current foobar2000 API does not allow to insert a dynamically generated submenu in an elegant way.
Title: foo_utils
Post by: spase on 10 November, 2004, 01:53:36 PM
Quote
Quote
it seems like if you move the context menu items around for the adding and sending to playlists, they disappear completely.  is there a way to get them back without removing the plugin restaring foobar, closing foobar, reinstalling plugin, and starting foobar one more time?[a href="index.php?act=findpost&pid=252567"][{POST_SNAPBACK}][/a]
Could you please tell me, what exactly causes these entries to vanish, as I have not been able to reproduce it so far. Anyway, moving these commands might not be a good idea, unless the number of playlists stays the same. The current foobar2000 API does not allow to insert a dynamically generated submenu in an elegant way.
[a href="index.php?act=findpost&pid=252578"][{POST_SNAPBACK}][/a]

i am not 100% sure, but now i dont get the commands at all, unless i manually add them to the context menu, which is kinda useless to go through all that trouble each time a new playlist is added
Title: foo_utils
Post by: foosion on 10 November, 2004, 02:45:08 PM
Quote
i am not 100% sure, but now i dont get the commands at all, unless i manually add them to the context menu, which is kinda useless to go through all that trouble each time a new playlist is added[a href="index.php?act=findpost&pid=253034"][{POST_SNAPBACK}][/a]

Do you use "enabled (hide new)" or "enabled (show new)"?
Title: foo_utils
Post by: kjoonlee on 06 November, 2005, 02:32:24 AM
In foo_utils for foobar2000 0.9, could you add a keyboard shortcut for selecting all text in the the focused input pane, please?

Ctrl-A would be nice.

Thank you very much.

PS. I tested with foo_utils 0.5 beta 4.
Title: foo_utils
Post by: foosion on 21 November, 2005, 09:27:26 AM
foo_utils 0.5
foo_utils 0.5.2

Some cosmetic fixes to "Edit/Add to playlist" and its friends "Edit/Send to playlist" and "Edit/Insert into playlist". Like "Edit/Highligh in playlist", they no longer show on the active playlist.

Additionally, you can now make playlists read-only ("Playlist/Read-only" in the main menu). This only works for playlists that are not already used by another "playlist lock". The currently existing playlist locks are autoplaylist (from foo_autoplaylist) and the playback queue viewer (from foo_pqview), and now the read-only lock (from foo_utils).

The preferences page has been split into "Playlist tools" and "Text tools". The plan is to eventually move the text tools into a separate component that supports multiple presets.

foo_utils 0.5x is available as part my components package for 0.9 and can be downloaded from my beta components page (http://foosion.foobar2000.org/beta/).
Title: foo_utils
Post by: gfngfgf on 21 November, 2005, 09:13:38 PM
Big thanks for the read-only option.  That'll come in very handy.
Title: foo_utils
Post by: kjoonlee on 22 November, 2005, 04:36:47 AM
Quote
In foo_utils for foobar2000 0.9, could you add a keyboard shortcut for selecting all text in the the focused input pane, please?

Ctrl-A would be nice.

Thank you very much.

PS. I tested with foo_utils 0.5 beta 4.
[a href="index.php?act=findpost&pid=339960"][{POST_SNAPBACK}][/a]

I'm not sure since when, but I've noticed cycling through the panes with Tab or Shift-Tab does what I need, more or less.
Title: foo_utils
Post by: jaka on 25 December, 2005, 09:08:59 PM
Another shortcuts are nice for the playlist such Ctrl+C, Ctrl+X, Ctrl+V. I find it difficult to move the mouse to the submenu everytime I want to copy and paste when we can define shortcuts for them.
Title: foo_utils
Post by: nirly on 03 January, 2006, 12:31:06 PM
how exactly do i get use the multiple level undo?

i have the option selected in the preferences but pressing control-z still has the same effect.
Title: foo_utils
Post by: foosion on 03 January, 2006, 12:52:36 PM
Components cannot replace or modify existing menu commands, they can only add new ones. You have to change your menu and keyboard shortcut configuration to take advantage of the undo and redo commands provided by foo_utils.
Title: foo_utils
Post by: lupin on 03 February, 2006, 01:23:50 AM
There is a chinese version of foo_utils which contains some new disk-functions listed below: delete, recycle (just like foo_massdelete) and send to ....(not playlist but somewhere in the disk).
Is this version ever released or someone else adds these functions by himself?

Sorry for my poor English.
Title: foo_utils
Post by: foosion on 03 February, 2006, 04:09:54 AM
I neither made a chinese version nor did I add these functions in the official version.
Title: foo_utils
Post by: Rapido on 11 February, 2006, 01:51:00 PM
Firstly, many thanks for your plug-ins whitch are very useful for my everyday use of foobar.
I think I found a bug while using foo_utils and various other add-ons (such as database search or Album list): if while listening to a track, I do a search on any criteria, trying to play the new found track by right-clicking on it, then selecting play doesn't play the selected track but start over the one currently playing. This error did not seem to exist with the previous version (0.5.2)
Hope that will help
Thanks again. 

specs: foobar 0.9 Beta 13 with foo_utils 0.5.3
Title: foo_utils
Post by: evo3 on 08 May, 2006, 11:13:23 PM
thanks for keeping up on these plugins, they have helped me along the way. 

One thing i would like to request for the pqview.dll is if you can implement an easier way to remove the songs from the enqueued playlist. 

Thanks
Title: foo_utils
Post by: Bachi-Bouzouk on 11 May, 2006, 02:06:02 PM
I would love to see presets for the text tools part.

As I currently use this plugin for two different purposes: And if I need it in the mode not already entered, I must past a code stored elsewhere which is not very useful.

Not very annoying as I do not use it intensively but it would be nice. (and I saw that you intended to do something like that)

by the way the first post is not updated 
Title: foo_utils
Post by: DoXer on 25 May, 2006, 10:43:08 AM
I want to use the lock-feature of foo_utils, but I didn't found it. I'm using foo_utils 0.5.8 with foobar2000 0.9.1.

Any hints?

Screenshot:
http://img208.imageshack.us/my.php?image=foobarutils2vo.jpg (http://img208.imageshack.us/my.php?image=foobarutils2vo.jpg)
Title: foo_utils
Post by: Bachi-Bouzouk on 25 May, 2006, 11:00:38 AM
personally, I go to EDIT-> Read only but from the usual menu (File, Edit etc...)
Title: foo_utils
Post by: DoXer on 25 May, 2006, 11:07:47 AM
Thx, found and works....
Title: foo_utils
Post by: esa372 on 25 May, 2006, 11:07:48 AM
Thank you for the utils package, foosion...  I use them all the time.
 


Anyway, I think I found a typo in the foo_dbsearch component (v1.3.1-b11):
(https://hydrogenaud.io/imgcache.php?id=a251eab414c4b75a421bc84ae60c3956" rel="cached" data-warn="External image, click to view at original size" data-url="http://66.49.140.133/assets/ha/SearchTypo.png)
Title: foo_utils
Post by: foosion on 25 May, 2006, 11:42:45 AM
That is on purpose, it hints at what this search mode does.
Title: foo_utils
Post by: esa372 on 25 May, 2006, 12:40:19 PM
That is on purpose, it hints at what this search mode does.
 
Too cool!

Thanks, foosion.
Title: foo_utils
Post by: q-stankovic on 28 May, 2006, 09:22:19 AM
As a new member on this forum let me first thank you for all your great plugins!

I would like to make a suggestion for foo_utils: You can add/send/.... tracks to active playlist or to specified playlist. But I miss the opportunity to manipulate the playing playlist. What do you think?
Title: foo_utils
Post by: foosion on 28 May, 2006, 01:12:20 PM
q-stankovic: I'll consider it.
Title: foo_utils
Post by: ladiko on 03 June, 2006, 07:20:36 AM
hello! i have a question to the "text tools":

header:
Code: [Select]
<html>$crlf()
<head>$crlf()
<title>foobar2000 Extended PlayList</title>$crlf()
<style type="text/css">$crlf()
    body { background: #4F687D; font-family : Verdana, Arial, Helvetica; color: #FFFFFF }$crlf()
    a { color: #99FFFF; TEXT-DECORATION: none }$crlf()
    a:hover { color: #99FFFF; TEXT-DECORATION: underline }$crlf()
    td { font-size: xx-small; height: 12 }$crlf()
    hr { color: black }$crlf()
    .theader { background : #6699FF }$crlf()
    .tmaintable { background : #4F687D }$crlf()
    .teven { background : #4F687D; color : white }$crlf()
    .tnoteven { background : #56748B; color : white }$crlf()
    .digits { color: aqua }$crlf()
    .al { COLOR: white }$crlf()
    .al:hover { COLOR: white;TEXT-DECORATION: underline  }$crlf()
</style>$crlf()
</head>$crlf()
<body topmargin=0 leftmargin=0>$crlf()
<hr noshade size="1">$crlf()
<table border="0" cellspacing="0" cellpadding="2" align="center">$crlf()
<tr><td><font size=2>$crlf()
<h2>foobar2000 Extended PlayList</h2>
Total tracks number: <b class=digits>%list_total%</b><br>$crlf()
Total tracks length: <b class=digits>???</b><br>$crlf()
Total tracks size: <b class=digits>???</b>$crlf()
</font></td></tr></table>$crlf()
<hr noshade size="1">$crlf()
<table class=tmaintable border="0" cellpadding="3" align="center" cellspacing="1">$crlf()
<tr class=theader>$crlf()
<td><b>#</b></td>$crlf()
<td><b>Artist </b></td>$crlf()
<td><b>Title </b></td>$crlf()
<td><b>Album </b></td>$crlf()
<td><b>Track </b></td>$crlf()
<td><b>Year </b></td>$crlf()
<td><b>Genre </b></td>$crlf()
<td><b>Time </b></td>$crlf()
<td><b>Size </b></td>$crlf()
<td><b>Bitrate </b></td>$crlf()
<td><b>Mode </b></td>$crlf()
<td><b>Sample </b></td>$crlf()
</tr>$crlf()


body:
Code: [Select]
<tr class=$if($strcmp($mod(%list_index%,2),0),teven,tnoteven)>$crlf()
<td>$num(%list_index%,$len(%list_total%))</td>$crlf()
<td>%artist%</td>$crlf()
<td>%title%</td>$crlf()
<td>%album%</td>$crlf()
<td>%tracknumber%</td>$crlf()
<td>%date%</td>$crlf()
<td>%genre%</td>$crlf()
<td>%length%</td>$crlf()
<td>$div(%filesize%,1048576).$left($num($muldiv($mod(%filesize%,1048576),100,1048576),2),2)'MB'</td>$crlf()
<td>%bitrate%</td>$crlf()
<td>%channels%</td>$crlf()
<td>%samplerate%</td>$crlf()
</tr>$crlf()


footer:
Code: [Select]
</tr>$crlf()
</table><hr noshade size="1"><font size="1"> List generated with <a href="http://foobar2000.org">foobar2000 v0.9</a></font>$crlf()
<br><br></body></html>$crlf()


i havendt found all variables. is there also somthing like %file_size%, &total_file_size%, %total_length% ?
Title: foo_utils
Post by: Bachi-Bouzouk on 03 June, 2006, 07:25:07 AM
http://wiki.hydrogenaudio.org/index.php?ti...#.25filesize.25 (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference#.25filesize.25)

But look at the beginning of the page for a list of all functions
Title: foo_utils
Post by: ladiko on 03 June, 2006, 09:03:59 AM
and total lenght / size ? how do autoplaylist and other do this?

@foosion:
if u like it u can add it as output schema or another second preset :-)
Title: foo_utils
Post by: SoulMan on 08 June, 2006, 05:18:31 AM
Hello,

This foobar new version is verry verry nice and usefull.

I was thinking it will be interresting to add to the "text tools" :
- accessing easily to multiple configurations (saving them to files or with some selector)
- the ability to do POST method on web sites (as it we can easily maintain our own website music database, with personal discography and/or statistics).

And that POST idea lead me to the idea to do the oposite, i.e. to have some plugin using GET method from a website, that can give the ability to get informations directly into tags from web sites. I use this functionality with my Films-DB (Ant Movie Catalog - http://www.antp.be/software/moviecatalog (http://www.antp.be/software/moviecatalog) ) This software includes the ability to create scripts to get information from websites. These scripts permits to look for tags into webpage and to extract information between the given tags.

Do you think that is an interresting evolution?
Title: foo_utils
Post by: foosion on 08 June, 2006, 08:06:59 AM
I was thinking it will be interresting to add to the "text tools" :
- accessing easily to multiple configurations (saving them to files or with some selector)
- the ability to do POST method on web sites (as it we can easily maintain our own website music database, with personal discography and/or statistics).
Adding multiple presets is planned for the future, along with moving this functionality to its own components (probably foo_text_tools).

And that POST idea lead me to the idea to do the oposite, i.e. to have some plugin using GET method from a website, that can give the ability to get informations directly into tags from web sites. I use this functionality with my Films-DB (Ant Movie Catalog - http://www.antp.be/software/moviecatalog (http://www.antp.be/software/moviecatalog) ) This software includes the ability to create scripts to get information from websites. These scripts permits to look for tags into webpage and to extract information between the given tags.
I think this is outside the scope of this component.
Title: foo_utils
Post by: SoulMan on 08 June, 2006, 08:21:53 AM
Yes, I think you are right, the get function is out of the scop of this component.

But, I think the POST method is in the scope and can be an interresting thing.
Can be interresting for foosic too, this can be a most standard way to upload data to foosic site, and using a most standard way, much players can easily interact with it.
Title: foo_utils
Post by: foosion on 08 June, 2006, 08:28:58 AM
foosic does not use HTTP POST. The submission protocol uses UPD packets, and the fingerprint lookup uses a custom protocol over TCP.
Title: foo_utils
Post by: SoulMan on 08 June, 2006, 08:50:03 AM
Yes, I know that, but, what I was trying to explain is if foosic was using HTTP POST (that is a most standard than proprietary TCP and UDP protocols), that can facilitate others players to interact with foosic.

But, the my main idea was not to change foosic submission protocol, it was just to add to "text utils" the ability to upload informations to personal web sites.
Title: foo_utils
Post by: Bachi-Bouzouk on 13 June, 2006, 02:15:50 PM
Another request about text tools: add something by default like that:
$replace(%album%,é,&eacute;,è,&egrave;,ï,&iuml;,î,&icirc;,ç,&ccedil;) with all characters like that to get proper names. (for the moment we get something like $@$ or similar things for those characters)
Title: foo_utils
Post by: SoulMan on 15 June, 2006, 05:13:41 AM
Hmmm, yon can do this script yourself, and propose it to the community, no?

There is a place where we can share masstagger scripts? I think that can be interresting...
Title: foo_utils
Post by: ephemeros on 25 June, 2006, 07:50:44 PM
Great component, foosion. Thx 

I was able to assign a keyboard shortcut to Edit Other - Add to Playlist : PLAY. This particular playlist functions as an editable playback queue. The shortcut works perfectly as long as the playlist PLAY exists, doesn't if not.
Request: auto create non-existing playlists if necessary. Would preserve similar shortcuts from becoming obsolete, i.e. for less permanent playlists like 'Copy to Pod', 'Music for my Cat', ... 
Title: foo_utils
Post by: ladiko on 11 July, 2006, 03:44:23 AM
Hmmm, yon can do this script yourself, and propose it to the community, no?

There is a place where we can share masstagger scripts? I think that can be interresting...


i think he means that é should be &eacute in html-files but not in the file tags cause tags arent html ;-)

@SoulMan:
put this line in the <head> </head> part of the html-source -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >

than most browsers accept special characters like é without conversation to &eacute
Title: foo_utils
Post by: Hakubo on 12 August, 2006, 07:08:03 PM
First of all, thanks for this component, foosion. It's very nice.

I have but one request concerning text tools: could you make the variables' values persist between 'Body' cycles? As far as I understand, this is the only way to output Artist's name only once for his whole discography.
If you do, then it'll be possible to output playlist info in the way similar to this (http://www.nub4life.net/uploads/tag/export/special_albumlist_js_ex.html) mp3tag's export. Or even port its configuration.
Title: foo_utils
Post by: Hakubo on 03 September, 2006, 05:20:39 AM
It seems I don't really need persisting values - or any variables at all (see here (http://www.hydrogenaudio.org/forums/index.php?showtopic=47934)). But a $for would help.
Title: foo_utils
Post by: Rambaldi on 05 November, 2006, 02:34:48 PM
  link ist down.
Can someone give a working link?

Or is there a better plugin to export playlists into Excel Sheets?
Title: foo_utils
Post by: foosion on 05 November, 2006, 02:54:12 PM
I corrected the link in the first post. The version for 0.8.3 is no longer available.
Title: foo_utils
Post by: hal9001 on 05 November, 2006, 10:10:27 PM
I corrected the link in the first post. The version for 0.8.3 is no longer available.


Quick request- could you add version date to your components on your page? That'd be great.

great work, btw. Even though I'm still aching about This issue (foo_run) (http://www.hydrogenaudio.org/forums/index.php?showtopic=45223&st=125&p=443927&#).
Title: foo_utils
Post by: Supernaut on 06 November, 2006, 10:19:46 AM
Could you provide an option of not filtering duplicates when sending files between playlists? Thanks.
Title: foo_utils
Post by: foosion on 07 November, 2006, 05:49:58 PM
Could you provide an option of not filtering duplicates when sending files between playlists? Thanks.
I actually consider that as a bug, thanks for pointing it out. An updated version is available from my components page as separate download.


hal9001: foo_run is Florian's component, not mine. I'm afraid I can't fix that for you.
Title: foo_utils
Post by: q-stankovic on 10 November, 2006, 11:15:32 AM
Using foo_utils very often in different scenarios i remarked that there are two features i miss:

1. edit->crop in playlist,edit other->crop in specified playlist (and play).

2. an option to set  if using one of all that edit and edit other commands which start playback (f.e. add to specified playlist and play -> ... or whatever else) that the playback begins after the currently playing track finishes
Title: foo_utils
Post by: q-stankovic on 12 November, 2006, 03:53:18 PM
I thought that it was a bug in ColumnsUi and so i bothered musicmusic.  I used for a long time the option "Activate target playlist" checked. But since foo 0.94 i decided to uncheck the option and the result is that if i use f.e. add to playlist and play -> (playlistname) the selected is sended to specified playlist but played in active playlist.  As i can remember in earlier versions of foobar the selected track was played in specified playlist. Or am I wrong?
Title: foo_utils
Post by: foosion on 12 November, 2006, 04:33:06 PM
When using that command, foo_utils starts playback of the first transferred track in th target playlist by simulating a doubleclick on it through the proper API. Apparently there is a bug in foobar2000 itself, that is triggered when this is performed on a playlist that is not the active one. I'll point Peter to it.
Title: foo_utils
Post by: q-stankovic on 29 November, 2006, 01:36:32 PM
When using that command, foo_utils starts playback of the first transferred track in th target playlist by simulating a doubleclick on it through the proper API. Apparently there is a bug in foobar2000 itself, that is triggered when this is performed on a playlist that is not the active one. I'll point Peter to it.


I hoped so much that this "bug" would dissappear in the new release so that i could realize my desired configuration but... 
Title: foo_utils
Post by: ladiko on 19 January, 2007, 07:50:40 AM
are there a function like %playlist_total_time% and %playlist_total_filesize% in text tools now?
Title: foo_utils
Post by: foosion on 19 January, 2007, 09:00:48 AM
are there a function like %playlist_total_time% and %playlist_total_filesize% in text tools now?
No, there aren't. In case it isn't obvious, foo_utils hasn't been changed in quite some time now.
Title: foo_utils
Post by: ladiko on 19 January, 2007, 09:15:29 AM
and the development is stopped?

"mature" means you think it has all functions it should have?
Title: foo_utils
Post by: foosion on 19 January, 2007, 09:49:22 AM
I give a component the label "mature" if I think it has enough functionality to be useful in the context I made it for and if it has a certain degree of stability, which means it has had enough testing to find and remove most bugs and that there will likely be no incompatible changes (menu commands, configuration format, etc.), at least not without a clear upgrade path. A beta version of a mature version may suffer from reduced stability.

Development of foo_utils is on hold until I find a convincing reason to work on it.
Title: foo_utils
Post by: ladiko on 19 January, 2007, 02:09:33 PM
i would like to have %total_playlist_time% and %total_playlist_size% - isn't it a convincing reason to work on it 

ok i have to live without - you can not have all for free =)
Title: foo_utils
Post by: norz on 04 March, 2007, 09:22:13 AM
are there a function like %playlist_total_time% and %playlist_total_filesize% in text tools now?

Have you tried using %cwb_playinglist_duration% or %cwb_selection_duration% from foo_cwb_hooks (http://wiki.bowron.us/index.php/Foobar2000:Hooks#Variables)?
Title: foo_utils
Post by: Problemkerze on 19 July, 2007, 03:30:52 PM
This will sound strange but setting a keyboard shortcut as a global hotkey wont work with foo_utils-commands

and much more strange: While running foobar with foo_utils-plugin the network-connection will slow down heavily. After closing foobar and/or uninstalling foo_utils the network speed returns to its old level.
This problem is repeatable on my system.

I'm using
-foobar 0.9.4.2 (later 0.9.4.3 with the same problems)
-Windows XP Home (all updates installed)
-Intel Centrino: Pentium M 1,6 GHz, Intel PRO/Wireless 2200BG Network Controller)

Any idea?
Title: foo_utils
Post by: foosion on 19 July, 2007, 03:59:40 PM
This will sound strange but setting a keyboard shortcut as a global hotkey wont work with foo_utils-commands

What variation of the context menu command do you use for that hotkey: [context], [context / now playing] or [context / playlist]? Global hotkeys have no default context, so you cannot use the first one.

and much more strange: While running foobar with foo_utils-plugin the network-connection will slow down heavily. After closing foobar and/or uninstalling foo_utils the network speed returns to its old level.
This problem is repeatable on my system.

Strange indeed, as foo_utils does not contain network related functionality. Moreover, it is inactive until you invoke one of its menu commands. So no, I have no idea on that one.
Title: foo_utils
Post by: Problemkerze on 21 July, 2007, 02:47:15 AM
thanks foosion - works now with context / now playing

After installing new drivers for my network card the connection problem is also gone.
All I have to say now is:
Great great great plugin!
Title: foo_utils
Post by: q-stankovic on 19 September, 2007, 08:17:02 AM
Not a feature request but more a suggestion for next version:

Instead of "Edit" and "Edit other" as main menus i think it would be easier for new users to have following three menus: "Active Playlist", "Specified Playlist", "Clipboard".
Title: foo_utils
Post by: foosion on 20 October, 2007, 12:53:50 PM
foo_utils 0.6.2 beta 1
Requires foobar2000 0.9.5 and Windows XP.

Changes:Download (http://foosion.foobar2000.org/0.9.5/)

Note: 0.6.0 and 0.6.1 were only released to participants of the closed foobar2000 0.9.5 alpha test.
Title: foo_utils
Post by: radio_cascara on 23 October, 2007, 02:45:37 PM
cool, hope to see some stuff like read-only incorporated into foobar.
Title: foo_utils
Post by: Borisz on 30 October, 2007, 06:13:03 PM
Is it normal that, using the latest beta (0.6.2 b3) in the latest foobar version (9.5 beta 2), there are no cut/copy/paste commands assignable as keyboard shortcuts?

I can only find copy command, but not cut nor paste. Cut/Copy/Paste is integrated into the Default User Interface in 9.5 b2, which I imagine may have been a reason behind removing the command, but because of this I cannot use them under Columns UI. I was forced to revert to the older foo_utils version.

(see also http://www.hydrogenaudio.org/forums/index....p;#entry526657) (http://www.hydrogenaudio.org/forums/index.php?showtopic=58315&st=200&gopid=526657&#entry526657))
Title: foo_utils
Post by: foosion on 30 October, 2007, 06:31:50 PM
That is perfectly normal, see my last post before yours.
Title: foo_utils
Post by: tberman333 on 13 November, 2007, 10:55:13 AM
It seems that the "Highlight in Playlist" function is not part for foo_utils in the latest version.  Is there a reason for this?  Is there another way to do the same thing in the new Foobar beta that I am missing?

Forget it... I found it.  Sorry for the inaccurate post.

Thanks!
Title: foo_utils
Post by: foosion on 13 November, 2007, 12:10:11 PM
"Edit/Highlight in Playlist" is definitely part of foo_utils 0.6.2 beta 3. However it is not available for the playlist context menu. If it is not visible in the context menu at all you may need to add it in the context menu editor.
Title: foo_utils
Post by: q-stankovic on 14 November, 2007, 08:50:45 AM
However it is not available for the playlist context menu.


Just out of curiosity: Does it make sense to have "Remove from playlist" available in playlist context menu although foobar core already offers "remove"?
Title: foo_utils
Post by: Vomitus on 20 December, 2007, 11:09:31 AM
So, we have a "readonly playlist" feature - this is good!
But is there any variable that represents current playlist state? (e.g. %is_locked%).
I actually haven't found such or similar. Please, show me the name of this variable or add it to next version if it doesn't exist.

I am gonna use this variable in ColumnUI's playlist switcher and may be in PanelsUI in future(if I handle to manage that last one:))

And... thanks for good plugin!
Title: foo_utils
Post by: foosion on 20 December, 2007, 11:34:32 AM
It is technically not possible to add such a title formatting field in foo_utils. However, the Columns UI playlist switcher already has such functionality built in. Please see its documentation.
Title: foo_utils
Post by: Kiteroa on 20 December, 2007, 03:42:52 PM
Thanks for the update with the sorting functionality.

Just a thought: it would be useful if the sort window remembered the selected fields and options between invocations!
Title: foo_utils
Post by: tb2496 on 27 January, 2008, 09:03:26 AM
hi, looks like when using "edit\insert into current playlist" with latest 0.6.2 beta 3 the tracks are not sorted properly.  I tried changing "sort incoming files by" under general which didnt do anything when using "edit\insert into current playlist"
Title: foo_utils
Post by: loft on 23 February, 2008, 11:54:34 AM
foosion, could I ask for a new feature? I'm using the "Copy text" command quite often. And I'm changing it's settings almost as often (commenting and uncommenting lines).
Is there an implementation of profiles possible? So there could be saved different settings for the "Copy text" command.
Thank you!
Title: foo_utils
Post by: foosion on 10 March, 2008, 04:40:11 PM
Missing updates and information on changes below.

foo_utils 0.6.2 beta 6
FIX: "Sort by fields" used wrong sort criteria when "Close this window after sorting" is checked.

foo_utils 0.6.2 beta 5
FIX: Race condition on multi-core machines in "Sort by fields..."

foo_utils 0.6.2 beta 4
CHG: Used "folder" instead of "directory" in menu command names.

foo_utils 0.6.2 beta 3
FIX: %list_total% and %list_index% did not work correctly in Text tools.


Just a thought: it would be useful if the sort window remembered the selected fields and options between invocations!

That is definitely planned.

hi, looks like when using "edit\insert into current playlist" with latest 0.6.2 beta 3 the tracks are not sorted properly.  I tried changing "sort incoming files by" under general which didnt do anything when using "edit\insert into current playlist"

That command does not sort the tracks on purpose. Where do you use it?

Is there an implementation of profiles possible? So there could be saved different settings for the "Copy text" command.

Possibly some time in the future.
Title: foo_utils
Post by: wolfsong on 10 March, 2008, 06:07:04 PM
The link for this is broken.
Title: foo_utils
Post by: foosion on 10 March, 2008, 06:32:49 PM
The link for this is broken.

Fixed. Thanks for pointing it out.
Title: foo_utils
Post by: q-stankovic on 04 April, 2008, 09:37:41 AM
The "Highlight in Playlist" (applied on album list node) command doesn't work anymore for me: nothing happens.
Title: foo_utils
Post by: Lucky Luciano on 04 April, 2008, 11:21:44 AM
What about a "delete parent folder" option? Foobar's default delete function won't remove folders if I have stuff like jpeg or text files in them.
Title: foo_utils
Post by: foosion on 04 April, 2008, 11:44:08 AM
The "Highlight in Playlist" (applied on album list node) command doesn't work anymore for me: nothing happens.

Can't reproduce. The code for this command has not changed for quite some time now, so there is no reason why it should stop working. Can you try the following things in order? If one works, you don't need to try the rest.

What a "delete parent folder" option? Foobar's default delete function won't remove folders if I have stuff like jpeg or text files in them.

I'm not sure what you are referring to or why you posted it here. There is no command to delete files in foo_utils.
Title: foo_utils
Post by: q-stankovic on 04 April, 2008, 11:54:53 AM
  • Add some tracks from the album list to the playlist (for example via drag&drop) and then use the "Highlight in Playlist" command. This is to make sure you have the same tracks in the playlist and the album list, and not just tracks with the same metadata.


Sorry! 
Exactly that was the reason: i was working with two playlists and one of them contained copied files from the other one and i was too tired and ...
Title: foo_utils
Post by: foosion on 04 April, 2008, 12:10:57 PM
No problem. It's nice to know I could help.
Title: foo_utils
Post by: Lucky Luciano on 04 April, 2008, 04:11:45 PM
My bad, what I meant was What ABOUT a "delete parent folder" option? It would be very useful if you added one.
Title: foo_utils
Post by: foosion on 04 April, 2008, 04:52:40 PM
No, that would not fit into foo_utils. A better place for such a command would be the official foo_fileops plugin.
Title: foo_utils
Post by: jbk_atl on 19 April, 2008, 11:05:10 AM
Great plugin.

Could a request be made for a "MOVE" to playlist.  where it would remove from one and be place into another as opposed to having to go back and manually delete the tracks
Title: foo_utils
Post by: fireslug on 05 January, 2009, 10:06:12 AM
Possible bug report:

Selecting "Insert into playlist" from the playlist context menu preserves song order and duplicates, but "Add to playlist" does not. The latter behavior may not be a bug, but if not, I would like an option to make "add to ..." to work as "insert into ..." does.

I browsed this thread and found a few related posts, but frankly I'm still not sure if this is intended behavior:

http://www.hydrogenaudio.org/forums/index....st&p=447738 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=18276&view=findpost&p=447738)
http://www.hydrogenaudio.org/forums/index....st&p=544030 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=18276&view=findpost&p=544030)
Title: foo_utils
Post by: rubber soul on 23 March, 2009, 08:47:30 PM
when i try to create a keyboard shortcut: Add to playlist-> "now playing", it does not work.  when i press the hotkey nothing happens.  if i go back to the hotkey preferences i see the following error:

Action not found (2894FE.....)

EDIT:  specifically, the hotkey works when i've got the tracks highlighted in a playlist field.  it will not work with i've got an entire artist or album highlighted in facets and press that same hotkey.
Title: foo_utils
Post by: foo_peter on 14 April, 2009, 10:53:37 AM
Hello Foosion,
a very careful inquiry
I would like to create several parts of the text it would be nice to save and upload these individually.
Is there a chance ?
Title: foo_utils
Post by: Forfit on 30 April, 2009, 09:13:10 AM
I listen smoothjazz.com.
It shows the titles of the songs.
But I was not able to copy them to clipboard.
Title: foo_utils
Post by: marc2003 on 30 June, 2009, 06:13:12 AM
thanks for this great plugin. i can now create .m3u playlists in a format that my mp3 player recognises. 

Title: foo_utils
Post by: Sapta on 13 October, 2009, 11:22:23 AM
The first post of this thread says the plug-in allows per-playlist redo and undo. What does that mean exactly? I was hoping it can bring back the previous list of files in a playlist through undo. Would make things so much easier because in foobar a whole list of files can get replaced by something else in a single click. 
Title: foo_utils
Post by: tpijag on 13 October, 2009, 11:38:34 AM
For me, it does just what you want.  What behavior are you seeing?

By the way, there is no reason for Foobar to replace your playlists with something else in a single click.
Preferences switches are available to control how foobar handles this.
You may want to start specific topic regarding this. Include what user interface you are using and how you load files into foobar [via explore or which media library you use]
Or check how you have your media library set up to work in preferences.

terry
Title: foo_utils
Post by: foosion on 13 October, 2009, 02:23:57 PM
Please note that the first post refers to an earlier version of foo_utils. Newer versions of foobar2000 provide multi-level undo and redo for individual playlists natively, so the function has been removed from the plugin.
Title: foo_utils
Post by: twe4k on 14 October, 2009, 11:59:34 PM
Hey there ! Thanks a lot foosion for your awesome plugin, it really is one of the most useful I have found

I'm having a small problem with another plugin and I didn't get any help there so I'm asking here because it's related to your plugin and I thought maybe I could get some help here...
I'm trying to set the double click behavior in ELPlaylist to add the selected song to a default playlist. Using foo_utils I now have a context menu item that is "add to Playlist:" where I can select any playlist I want and I can also bind a keyboard shortcut with a specified playlist.

The problem is in the ELPlaylist settings under behavior I only have "Edit Other/Add to Specified Playlist" which seems to do nothing and I can't specify what playlist I want...

Do you think there would be a way to add a single command, not inside a sub menu, that adds the selected song to a specified playlist ? I haven't done this before but would it be complicated to create my own plugin or edit yours to do this ?

Thanks a lot for your help
Title: foo_utils
Post by: Yirkha on 15 October, 2009, 04:30:43 AM
Blame ELPlaylist. It won't let you use dynamically created context menu items.
Title: foo_utils
Post by: Johnnz on 17 October, 2009, 04:52:40 PM
Just wondering if the feature that makes a playlist tab locked (so you can't remove it - I think I read "read only" somewhere), will still allow me to rip new music to the folder that that playlist is monitoring?

Normally, I keep all my music in a single playlist, but I would like, at times, to be able to put in an audio CD and play it (which opens up a new tab). Then when I am finished listening, I can press a hotkey to remove the CD playlist to get back to my music collection on the hard drive. However, I would like to be able to lock that tab (which is an autoplaylist, with forced-sorting) so I am unable to accidentally delete/remove it too.

Title: foo_utils
Post by: tpijag on 17 October, 2009, 05:02:25 PM
Pretty particular use case to wait on someone else for a definitive answer.
Might be quicker just to try.

By the way, autoplaylist can not be made read-only as that would defeat their purpose.

terry
Title: foo_utils
Post by: Johnnz on 17 October, 2009, 05:12:02 PM
Pretty particular use case to wait on someone else for a definitive answer.
Might be quicker just to try.

By the way, autoplaylist can not be made read-only as that would defeat their purpose.

terry


Yeah, I dont want it to be read only, just want to lock the tab on main window.
Title: foo_utils
Post by: Yirkha on 17 October, 2009, 05:43:21 PM
If you accidentally the whole playlist, just revive it from the Recycler.
(Click with the right mouse button on the playlist tabs or in Playlist Manager, choose Restore > Playlistname).
Title: foo_utils
Post by: Johnnz on 17 October, 2009, 06:13:44 PM
If you accidentally the whole playlist, just revive it from the Recycler.
(Click with the right mouse button on the playlist tabs or in Playlist Manager, choose Restore > Playlistname).


Thing is, that I am trying to customize foobar for a stand alone audio player for my hifi system, with only the most necessary controls to be buttons on the front face activating hotkeys  (i.e. one here for Remove playlist) as well as a few Autohotkey scripts for more complex operations. I want to avoid having to need mouse input (though I will have scroll control to scroll titles under the pointer and select title to play).
Title: foo_utils
Post by: foosion on 18 October, 2009, 06:47:01 AM
Internally, the read-only function from foo_utils and autoplaylists are implemented using the same mechanism (so-called playlist locks). As a consequence, it is technically not possible to use the read-only function on an autoplaylist.
Title: foo_utils
Post by: Sapta on 31 October, 2009, 03:31:03 AM
I have set a keyboard shortcut to "Send to <specified> playlist and play" but the problem is it only works for album list (or is it album list panel? :s) but not for column UI filters. Yet the context menu option is there to send and add selection to specified playlist  (although the send option doesn't start playback). How can I set it so that it will send selections to a specified playlist on a keyboard shortcut? Actually I don't know why it's not working the way it is currently, as it should be :/ Also, can I set Mouse double-click as the action for adding to specified playlist?
Title: foo_utils
Post by: foosion on 31 October, 2009, 06:18:09 PM
Sorry, I don't know what the Columns UI filter component does that would break keyboard shortcuts.

Also, can I set Mouse double-click as the action for adding to specified playlist?
Generally, no. Some components might allow you to set the default action for double-clicking to arbitrary context menu commands, but it's not the default.
Title: foo_utils
Post by: Robertina on 08 November, 2009, 03:57:36 AM
Internally, the read-only function from foo_utils and autoplaylists are implemented using the same mechanism (so-called playlist locks).

I am using foo_utils to protect some of my playlists against accidental edits by making them read-only.

If tracks are included in both unprotected and read-only playlists, they are deleted in the latter if I renamed them in the former with foobar's file operations function. My Autoplaylist however shows them with their updated names.

Can other members confirm this behavior? I expected such renamed files to be kept in the read-only playlist either with their old or with their new names or am I doing something wrong?

foobar2000 v0.9.6.9, CUI 0.3.8.0, Playlist Tools v0.6.2 beta 6, 65 playlists, five of them set to read-only, plus one Autoplaylist.
Title: foo_utils
Post by: 2E7AH on 15 November, 2009, 10:30:11 PM
As foo_utils doesn't remember last position for it dialogs, can the position be changed a little lower - below the menu (toolbar)?
for some release in the future of course
Title: foo_utils
Post by: foosion on 16 November, 2009, 04:47:10 PM
The window is positioned in relation to the main window. This is done automatically by Windows. There is also no reliable way (meaning support in the foobar2000 SDK) to determine the position of the menu or toolbar area.
Title: foo_utils
Post by: Hayden54 on 05 December, 2009, 06:18:51 PM
I used to have some of the functions of foo_utils (add to playlist, send to playlist etc.) as some of the main context menu items and most frequently used. Now they appear under legacy items with the new foobar betas. I was wondering if that will be changed in future updates, as I find that these the most useful parts of foo_utils.
Title: foo_utils
Post by: foosion on 06 December, 2009, 12:20:55 PM
It's already on my to-do list, but I have no idea if I'll manage to do it before next year.
Title: foo_utils
Post by: eric1123 on 26 December, 2009, 11:55:46 PM
I dont think this specific problem has come up yet, but i could be wrong :S but i am having trouble getting a song to play automatically after getting redirected from a read-only playlist. Am I missing something or is this not possible? any help would be greatly appreciated  I am using version 9.6.5 beta 1. I have no problem getting the song to redirect to its own playlist, but i just want foobar to switch to that playlist and begin playback
Title: foo_utils
Post by: foosion on 27 December, 2009, 06:55:21 AM
That is not possible.
Title: foo_utils
Post by: Hitchhiker427 on 06 February, 2010, 02:30:10 PM
Hey, is there any chance that we can get this updated to use the new 1.0 SDK?  It'd be nice to not have all of the context menu commands crammed into the unsorted "legacy commands" submenu.  Thanks.
Title: foo_utils
Post by: foosion on 06 February, 2010, 06:40:41 PM
It's on my list.
Title: foo_utils
Post by: Hitchhiker427 on 06 February, 2010, 07:03:21 PM
Awesome, thanks.
Title: foo_utils
Post by: Falstaff on 24 April, 2010, 08:17:35 AM
It's on my list.


just a reminder, thanx by advance, we are waiting for it
Title: foo_utils
Post by: DoXer on 26 November, 2010, 04:41:52 PM
It's on my list.


just a reminder, thanx by advance, we are waiting for it

Please update it.
Title: foo_utils
Post by: Mercenary09 on 09 December, 2010, 08:08:59 AM
I just have to ask, and I'll prob. get yelled at possibly, but I wanted to be able to send to a playlist without being asked where to send it to (I wanted a 1-click tool; made a button..), but the context menus don't have the option:
http://www.anony.ws/i/justt.png (http://www.anony.ws/i/justt.png)

yet they list every playlist for viewer. Either way, thanks for any reply. I don't know if/how I could add a context menu myself, so blah.
Title: foo_utils
Post by: foosion on 10 December, 2010, 09:54:04 AM
The individual commands show for me in the keyboard shortcut preferences page. Do you have them available there? I don't know which component is shown on your screenshot. Maybe it does not work with the legacy context menu commands from foo_utils.
Title: foo_utils
Post by: Mercenary09 on 10 December, 2010, 11:51:58 AM
Hm, yeah. Maybe it doesn't. The command that I was hoping would be, if it were to exist, isn't shown under Keyboard shortcuts. The screen was from the tab stacker component.

Yeah, er, I thought I had possibly asked if this plugin could do it, but I guess I didn't at all, heh. I didn't actually use it before, but now that I installed the component, those options are available. Silly me. No component troubleshooter problems from using it, either. Has like a billion options with anything playlist related. Nice.
Title: foo_utils
Post by: Udun on 20 December, 2010, 03:02:56 PM
I dont think this specific problem has come up yet, but i could be wrong :S but i am having trouble getting a song to play automatically after getting redirected from a read-only playlist. Am I missing something or is this not possible? any help would be greatly appreciated  I am using version 9.6.5 beta 1. I have no problem getting the song to redirect to its own playlist, but i just want foobar to switch to that playlist and begin playback



That is not possible.


Still not possible ?
That is an oversight in the SDK then
Title: foo_utils
Post by: tpijag on 20 December, 2010, 03:11:46 PM
Your constructive point is?
Title: foo_utils
Post by: foosion on 21 December, 2010, 09:51:21 AM
Why do you think that this is due to a limitation of the foobar2000 SDK?
Title: foo_utils
Post by: bfly on 08 March, 2011, 06:40:37 AM
is there an alternative for the 'add to playlist'-functionality of this plugin?
Title: foo_utils
Post by: foosion on 08 March, 2011, 03:16:33 PM
What kind of alternative are you looking for?
Title: foo_utils
Post by: BelleAndZEK on 29 March, 2011, 10:11:55 PM
With Text Tools, is there any way to find a specific string in a ripping log in the same foilder as my mp3s and return true or false if the string exists?
Also, is there a way to get the Width and Height in pixels from my Folder.jpg files?

If not, is it possible otherwise with Foobar2000?

Thanks
Title: foo_utils
Post by: foosion on 30 March, 2011, 02:55:44 AM
There are no functions that read data from text files or images in foo_utils. I do not know, if some other plugin can do this.
Title: foo_utils
Post by: marc2003 on 30 March, 2011, 04:02:32 AM
WSH panel mod can do both those things.

http://www.hydrogenaudio.org/forums/index....showtopic=70363 (http://www.hydrogenaudio.org/forums/index.php?showtopic=70363)

if you get stuck, try asking in this thread for help

http://www.hydrogenaudio.org/forums/index....showtopic=77883 (http://www.hydrogenaudio.org/forums/index.php?showtopic=77883)
Title: foo_utils
Post by: juglesh on 30 July, 2011, 02:32:02 AM
howdy, Is it possible to get the functionality that I asked about in this thread:
http://www.hydrogenaudio.org/forums/index....&pid=668992 (http://www.hydrogenaudio.org/forums/index.php?showtopic=76366&pid=668992)

But I am now using foobar 1.0.3 or so.

Hi, in 8.3 i have a keyboard shurtcut to "send to playlist/temporary entry"  This sends the song to the previous (left tab) playlist, and focuses the playlist. 

is there something like this in 9.6.9?  the thing i see is "send to playlist..." which asks you every time which  playlist you want it sent to.

what i do in 8.3 is open a blank pl in a tab, then my 'all' playlist.  i can easy make cd's or pl's by hitting S (to send it to the blank pl) and then W (focus back to the 'all' pl, via Previous Playlist)

thanks


Tanx,
J
Title: foo_utils
Post by: Emerelle on 22 December, 2011, 02:05:59 PM
I have a problem with the text tool and the encoding....I need to export the %lyrics% tag contents to text files in ansi, so I was using this TF:

Header:
$ansi(%artist% - %album% '('%date%')'$crlf()$crlf())

Body:
$ansi(%tracknumber% %title%$crlf()$crlf()
%lyrics%$crlf()$crlf())

I also tried to wrap the ansi function directly around the lyrics tag, saved text file is always UTF-8 w/o BOM
Could some kind soul point me into the right direction?
Title: foo_utils
Post by: foosion on 22 December, 2011, 02:47:48 PM
Short answer: There is no option to make foo_utils use another encoding for the text files.

Long answer: The $ansi() function does not change the encoding of its argument. It replaces characters that have no ANSI representation with with an ANSI character, but the characters will still be encoded in UTF-8.
Title: foo_utils
Post by: Emerelle on 22 December, 2011, 03:06:37 PM
Okay, thanks. Will have to look for another solution then.
Title: foo_utils
Post by: trinkner on 17 December, 2012, 06:33:21 PM
Is foo_utils compatible with Foobar2000 1.1.16? I've installed 0.6.2 Beta 6.  I'd like to set playlists to read-only, but I can't see how to do it.  There is no "Playlists" option on my Foobar menu bar, nor is there any such option in the right-click context menu. I've tried using both Playlist Manager and Playlist Organizer, but I can't figure out how to access the Playlist Tools functionality.

Is there a newer version I should be using?

Thanks very much!
Title: foo_utils
Post by: marc2003 on 18 December, 2012, 05:20:47 AM
you set it on a per-playlist basis from the main Edit menu.
Title: foo_utils
Post by: trinkner on 18 December, 2012, 01:45:57 PM
you set it on a per-playlist basis from the main Edit menu.


Thanks!
Title: foo_utils
Post by: LL25255252 on 12 June, 2013, 02:40:23 PM
foo_utils has a Collect to clipboard feature but Is there a simple way to clear this clipboard ?

The command's description as shown in the statusbar:
Quote
Adds selected tracks to the system clipboard.

This command is part of the clipboard functionality in foo_utils. It works like "Copy Tracks" except that it appends tracks to the clipboard instead of replacing the clipboard contents when possible. So by using it several times in a row, you can collect tracks to be pasted elsewhere.


I have the latest foo_utils - 0.6.2 beta 6.


Title: foo_utils
Post by: foosion on 15 June, 2013, 06:21:46 AM
You can use the copy command to set the clipboard content to the selected tracks. There is no separate command to clear the clipboard.
Title: foo_utils
Post by: LL25255252 on 13 July, 2013, 12:01:36 AM
You can use the copy command to set the clipboard content to the selected tracks. There is no separate command to clear the clipboard.


Thanks foosion.
I have seen your reply only now... Although I've "tracked this topic" after I posted my question I haven't got a mail notification to your reply. I had also "Email Notification by default" in my hydrogenaudio account's email-settings and had also "Enable email notification of replies" box checked ("post options" - above the "add reply" button)


Title: foo_utils
Post by: Kai_cologne on 16 March, 2014, 03:23:15 PM
I just use "add to Playlist XY"
is it possible to see this direct in the context menu without the "legacy commands (unsorted)" "folder"
Title: foo_utils
Post by: marc2003 on 16 March, 2014, 03:26:10 PM
no.
Title: foo_utils
Post by: Forfit on 16 November, 2014, 07:23:15 AM
Do it is possible to add a base64 function to convert cover art into img tag?
Title: foo_utils
Post by: foosion on 16 November, 2014, 12:40:56 PM
Sorry, I don't understand what the use case is.
Title: foo_utils
Post by: Forfit on 16 November, 2014, 12:48:27 PM
f.e.:
<td>$if2(%title%,%filename%)</td>
<td><img src="data:image/png;base64, $base64(%cover%)"></img></td>
Title: foo_utils
Post by: lvqcl on 16 November, 2014, 03:52:34 PM
Are you sure that titleformatting variable %cover% exists?
Title: foo_utils
Post by: fbuser on 16 November, 2014, 04:14:31 PM
Are you sure that titleformatting variable %cover% exists?
Why not? If he adds a tag COVER to his files, the variable automatically exists, like for any other abritrary tag too.

@Forfit: BTW, you could write $if2(%title%,%filename%) also just as %title%. It's the same.
Title: foo_utils
Post by: Forfit on 16 November, 2014, 04:14:46 PM
not, fb2k could add
Title: foo_utils
Post by: thiers.prive on 20 January, 2015, 01:29:41 AM
Hi,
I realy apologize I read all the subject, but I don't understand how to export a CSV file. I have 2 100 records on foobar and i want to export a CSV file. All my file are in Wav and on a Qnap nas.
I have install the foo_utils components on the latest version of foobar.
Thanks for your Help
Title: foo_utils
Post by: foosion on 21 January, 2015, 02:53:56 PM
Firstly you have to configure a suitable template to produce CSV output. You can do this on the "Text tools" preferences page. You will find three text fields for title formatting scripts there called "Header", "Body" and "Footer". Clear the header and body fields. Enter the following into the body field:
Code: [Select]
"%album%"','"%title%"$crlf()

If your files do not have tags you may prefer to use the following instead:
Code: [Select]
"$directory(%path%)"','"%filename%"$crlf()

Of course you can tweak this to output whichever columns you want. If you prefer a header row in your CSV file you can do that via the header field,. e.g.
Code: [Select]
"Album"','"Title"$crlf()

Note: The double quotation marks have no meaning in title formatting. They merely produce double quotation marks in the CSV file, which is useful if the values contain commas. The single quotation marks make sure the title formatting interpreter output the commas as literal text and does not interpret them as special characters. The $crlf() function produces a line ending. Otherwise all the output text would be contained in a single line.

Secondly you have to use the "Save text..." command from the context menu. In current versions of foobar2000 it is displayed in the "Legacy commands (unsorted)" submenu. This will open a dialog where you can select the file name and directory of the CSV file.
Title: foo_utils
Post by: azertyxtra on 26 February, 2015, 08:47:00 AM
Secondly you have to use the "Save text..." command from the context menu. In current versions of foobar2000 it is displayed in the "Legacy commands (unsorted)" submenu. This will open a dialog where you can select the file name and directory of the CSV file.

About that quote, would it be possible to bypass the dialog box by having a predefined path and file name stored somewhere?
I'm trying to save a custom playlist by pressing 1 button
Title: Re: foo_utils
Post by: MojoBass on 15 September, 2016, 03:19:33 AM
Hello,
I am using foo_utils to lock some of my playlists. To list the playlists I use the Playlist Organizer (foo_plorg).
I am wondering if there is a variable like %playlist_read_only% etc which I could use in the Playlist Organizer to show that the playlist is locked (by e.g. $if(%playlist_read_only%, Locked,))?
Best regards,
MojoBass
Title: Re: foo_utils
Post by: NEMO7538 on 16 September, 2016, 02:08:25 AM
Not at the moment
Title: Re: foo_utils
Post by: MojoBass on 18 September, 2016, 11:34:57 PM
Hello  NEMO7538,
thanks for the answer! Any plans to include that feature (I guess in foo_utils)?
Title: Re: foo_utils
Post by: marc2003 on 19 September, 2016, 01:24:32 AM
(I guess in foo_utils)?

Nope.  NEMO7538 develops foo_plorg and it would have to be added there.
Title: Re: foo_utils
Post by: Fridge on 07 January, 2017, 01:00:53 PM
I was having an issue where my playlist (DUI) wouldn't center when jumping to a track, it would either highlight the track at the top or bottom of the screen depending on which way it had to jump to get there. Removing foo_utils fixed it for me. Don't know if it's easily reproducible, a quirk of my system, or a weird interaction with another component, but thought I'd put it out there in case anyone else runs into it. People in this thread (https://hydrogenaud.io/index.php/topic,111667.0.html) were having similar issues with other plugins...
Title: Re: foo_utils
Post by: foosion on 07 January, 2017, 01:11:02 PM
That is odd. The plugin does not even interact with the playlist view by any means that should cause such behaviour.
Title: Re: foo_utils
Post by: Jailhouse on 07 January, 2017, 02:29:33 PM
There was probably no cause and effect in play. As I mentioned in the other thread, it's likely a coincidence.
Title: Re: foo_utils
Post by: Fridge on 07 January, 2017, 09:21:09 PM
Yeah, sorry foosion, looks like Jailhouse is right... I've been having the issue for 2 weeks straight, took out utils and it worked perfectly fine for the first time. Worked again the next time I started foobar. And now it's back to not working with nothing changed. Not sure what about the act of removing utils made it want to work for a second, but I guess it wasn't actually related to your plugin. Very odd (and annoying) bug...
Title: Re: foo_utils
Post by: r530er on 15 January, 2017, 08:58:27 AM
Hey, I'm trying to output the current song and artist to a simple text file, but I can't find any documentation on how to use this component? How and what and huh?
Title: Re: foo_utils
Post by: Daeron on 15 January, 2017, 03:39:04 PM
@r530er:
If that's all you want, maybe try this instead:
http://skipyrich.com/wiki/Foobar2000:Now_Playing_Simple
Title: Re: foo_utils
Post by: MojoBass on 16 August, 2017, 02:33:22 AM
(I guess in foo_utils)?

Nope.  NEMO7538 develops foo_plorg and it would have to be added there.
Hello marc2003,
thanks for your hint! As NEMO7538 is not planning to enable a visual indication for read-only playlists in foo_plorg - do you have any alternative how to visualize locked playlists (outside/inside foo_plorg)?
Thanks, MojoBass