HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: foosion on 2004-02-03 12:53:10

Title: foo_utils
Post by: foosion on 2004-02-03 12:53:10
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 2004-06-14 13:57:07
foo_utils 0.3.5foo_utils 0.3.4foo_utils 0.3.3
Title: foo_utils
Post by: foosion on 2004-06-14 17:04:38
foo_utils 0.3.6
Title: foo_utils
Post by: foosion on 2004-06-15 11:06:29
foo_utils 0.3.7
Title: foo_utils
Post by: bluenet on 2004-06-21 03:32:28
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 2004-06-21 15:08:08
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 2004-10-28 01:49:11
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 2004-11-08 06:32:49
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 2004-11-08 09:35:41
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 2004-11-10 18:53:36
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 2004-11-10 19:45:08
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 2005-11-06 07:32:24
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 2005-11-21 14:27:26
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 2005-11-22 02:13:38
Big thanks for the read-only option.  That'll come in very handy.
Title: foo_utils
Post by: kjoonlee on 2005-11-22 09:36:47
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 2005-12-26 02:08:59
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 2006-01-03 17:31:06
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 2006-01-03 17:52:36
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 2006-02-03 06:23:50
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 2006-02-03 09:09:54
I neither made a chinese version nor did I add these functions in the official version.
Title: foo_utils
Post by: Rapido on 2006-02-11 18:51:00
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 2006-05-09 04:13:23
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 2006-05-11 19:06:02
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 2006-05-25 15:43:08
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 2006-05-25 16:00:38
personally, I go to EDIT-> Read only but from the usual menu (File, Edit etc...)
Title: foo_utils
Post by: DoXer on 2006-05-25 16:07:47
Thx, found and works....
Title: foo_utils
Post by: esa372 on 2006-05-25 16:07:48
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):
(http://66.49.140.133/assets/ha/SearchTypo.png)
Title: foo_utils
Post by: foosion on 2006-05-25 16:42:45
That is on purpose, it hints at what this search mode does.
Title: foo_utils
Post by: esa372 on 2006-05-25 17:40:19
That is on purpose, it hints at what this search mode does.
 
Too cool!

Thanks, foosion.
Title: foo_utils
Post by: q-stankovic on 2006-05-28 14:22:19
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 2006-05-28 18:12:20
q-stankovic: I'll consider it.
Title: foo_utils
Post by: ladiko on 2006-06-03 12:20:36
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 2006-06-03 12:25:07
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 2006-06-03 14:03:59
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 2006-06-08 10:18:31
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 2006-06-08 13:06:59
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 2006-06-08 13:21:53
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 2006-06-08 13:28:58
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 2006-06-08 13:50:03
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 2006-06-13 19:15:50
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 2006-06-15 10:13:41
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 2006-06-26 00:50:44
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 2006-07-11 08:44:23
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 2006-08-13 00:08:03
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 2006-09-03 10:20:39
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 2006-11-05 19:34:48
  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 2006-11-05 19:54:12
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 2006-11-06 03:10:27
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 2006-11-06 15:19:46
Could you provide an option of not filtering duplicates when sending files between playlists? Thanks.
Title: foo_utils
Post by: foosion on 2006-11-07 22:49:58
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 2006-11-10 16:15:32
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 2006-11-12 20:53:18
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 2006-11-12 21:33:06
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 2006-11-29 18:36:32
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 2007-01-19 12:50:40
are there a function like %playlist_total_time% and %playlist_total_filesize% in text tools now?
Title: foo_utils
Post by: foosion on 2007-01-19 14:00:48
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 2007-01-19 14:15:29
and the development is stopped?

"mature" means you think it has all functions it should have?
Title: foo_utils
Post by: foosion on 2007-01-19 14:49:22
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 2007-01-19 19:09:33
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 2007-03-04 14:22:13
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 2007-07-19 20:30:52
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 2007-07-19 20:59:40
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 2007-07-21 07:47:15
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 2007-09-19 13:17:02
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 2007-10-20 17:53:50
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 2007-10-23 19:45:37
cool, hope to see some stuff like read-only incorporated into foobar.
Title: foo_utils
Post by: Borisz on 2007-10-30 22:13:03
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 2007-10-30 22:31:50
That is perfectly normal, see my last post before yours.
Title: foo_utils
Post by: tberman333 on 2007-11-13 15:55:13
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 2007-11-13 17:10:11
"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 2007-11-14 13:50:45
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 2007-12-20 16:09:31
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 2007-12-20 16:34:32
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 2007-12-20 20:42:52
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 2008-01-27 14:03:26
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 2008-02-23 16:54:34
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 2008-03-10 20:40:11
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 2008-03-10 22:07:04
The link for this is broken.
Title: foo_utils
Post by: foosion on 2008-03-10 22:32:49
The link for this is broken.

Fixed. Thanks for pointing it out.
Title: foo_utils
Post by: q-stankovic on 2008-04-04 14:37:41
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 2008-04-04 16:21:44
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 2008-04-04 16:44:08
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 2008-04-04 16:54:53
  • 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 2008-04-04 17:10:57
No problem. It's nice to know I could help.
Title: foo_utils
Post by: Lucky Luciano on 2008-04-04 21:11:45
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 2008-04-04 21:52:40
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 2008-04-19 16:05:10
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 2009-01-05 15:06:12
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 2009-03-24 00:47:30
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 2009-04-14 15:53:37
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 2009-04-30 14:13:10
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 2009-06-30 11:13:12
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 2009-10-13 16:22:23
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 2009-10-13 16:38:34
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 2009-10-13 19:23:57
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 2009-10-15 04:59:34
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 2009-10-15 09:30:43
Blame ELPlaylist. It won't let you use dynamically created context menu items.
Title: foo_utils
Post by: Johnnz on 2009-10-17 21:52:40
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 2009-10-17 22:02:25
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 2009-10-17 22:12:02
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 2009-10-17 22:43:21
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 2009-10-17 23:13:44
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 2009-10-18 11:47:01
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 2009-10-31 07:31:03
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 2009-10-31 22:18:09
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 2009-11-08 08:57:36
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 2009-11-16 03:30:11
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 2009-11-16 21:47:10
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 2009-12-05 23:18:51
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 2009-12-06 17:20:55
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 2009-12-27 04:55:46
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 2009-12-27 11:55:21
That is not possible.
Title: foo_utils
Post by: Hitchhiker427 on 2010-02-06 19:30:10
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 2010-02-06 23:40:41
It's on my list.
Title: foo_utils
Post by: Hitchhiker427 on 2010-02-07 00:03:21
Awesome, thanks.
Title: foo_utils
Post by: Falstaff on 2010-04-24 13:17:35
It's on my list.


just a reminder, thanx by advance, we are waiting for it
Title: foo_utils
Post by: DoXer on 2010-11-26 21:41:52
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 2010-12-09 13:08:59
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 2010-12-10 14:54:04
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 2010-12-10 16:51:58
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 2010-12-20 20:02:56
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 2010-12-20 20:11:46
Your constructive point is?
Title: foo_utils
Post by: foosion on 2010-12-21 14:51:21
Why do you think that this is due to a limitation of the foobar2000 SDK?
Title: foo_utils
Post by: bfly on 2011-03-08 11:40:37
is there an alternative for the 'add to playlist'-functionality of this plugin?
Title: foo_utils
Post by: foosion on 2011-03-08 20:16:33
What kind of alternative are you looking for?
Title: foo_utils
Post by: BelleAndZEK on 2011-03-30 03:11:55
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 2011-03-30 07:55:44
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 2011-03-30 09:02:32
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 2011-07-30 07:32:02
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 2011-12-22 19:05:59
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 2011-12-22 19:47:48
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 2011-12-22 20:06:37
Okay, thanks. Will have to look for another solution then.
Title: foo_utils
Post by: trinkner on 2012-12-17 23:33:21
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 2012-12-18 10:20:47
you set it on a per-playlist basis from the main Edit menu.
Title: foo_utils
Post by: trinkner on 2012-12-18 18:45:57
you set it on a per-playlist basis from the main Edit menu.


Thanks!
Title: foo_utils
Post by: LL25255252 on 2013-06-12 19:40:23
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 2013-06-15 11:21:46
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 2013-07-13 05:01:36
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 2014-03-16 19:23:15
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 2014-03-16 19:26:10
no.
Title: foo_utils
Post by: Forfit on 2014-11-16 12:23:15
Do it is possible to add a base64 function to convert cover art into img tag?
Title: foo_utils
Post by: foosion on 2014-11-16 17:40:56
Sorry, I don't understand what the use case is.
Title: foo_utils
Post by: Forfit on 2014-11-16 17:48:27
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 2014-11-16 20:52:34
Are you sure that titleformatting variable %cover% exists?
Title: foo_utils
Post by: fbuser on 2014-11-16 21:14:31
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 2014-11-16 21:14:46
not, fb2k could add
Title: foo_utils
Post by: thiers.prive on 2015-01-20 06:29:41
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 2015-01-21 19:53:56
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 2015-02-26 13:47:00
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 2016-09-15 08:19:33
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 2016-09-16 07:08:25
Not at the moment
Title: Re: foo_utils
Post by: MojoBass on 2016-09-19 04:34:57
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 2016-09-19 06:24:32
(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 2017-01-07 18:00:53
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 2017-01-07 18:11:02
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 2017-01-07 19:29:33
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 2017-01-08 02:21:09
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 2017-01-15 13:58:27
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 2017-01-15 20:39:04
@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 2017-08-16 07:33:22
(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
Title: Re: foo_utils
Post by: Kraeved on 2021-03-18 12:39:30
Comrades, could you be so kind to share the latest foo_utils (since its home (http://foosion.foobar2000.org/) does not exist anymore)?
I just want an obvious option to lock a playlist without extra bells and whistles.
Title: Re: foo_utils
Post by: Kraeved on 2021-03-18 15:07:50
Alright, foo_utils 0.6.2 beta 6 is found.
Now you can download it either here or there https://l.idrix.fr/oYiFM
-------------------------------------------------------------------------
XXH128 = 838183baa99cb40f0c7ef1b73d308bdb
SHA256 = 67508d5bf7b215b781a7c81bd195fc6c2e259de50dcfdf3baa6264f9235f707d
Blake3 = 50842a2018b87959b389ba4c52779fb11f6530b5ebf408ae2470adc8efe95466
Title: Re: foo_utils
Post by: Peter on 2021-03-19 21:05:43
https://foosion.foobar2000.org/ is back online.
Title: Re: foo_utils
Post by: Thundik81 on 2021-03-19 23:07:46
https://foosion.foobar2000.org/ is back online.

Thanks  ;)
Title: Re: foo_utils
Post by: Kraeved on 2021-03-22 11:45:37
Comrades, could you be so kind to share the latest foo_utils (since its home (http://foosion.foobar2000.org/) does not exist anymore)?
I just want an obvious option to lock a playlist without extra bells and whistles.
https://foosion.foobar2000.org/ is back online.
Thank you.
There is a plugin called foo_locktest (Playlist Lock Test) that can help to protect playlists from changes.
However, unlike foo_utils, it seems to affect only one chosen playlist, the rest of them remain unprotected. :(

(https://i4.imageban.ru/out/2021/03/21/b086ea3bf65678d0b7192f3436f97df1.png)
Title: Re: foo_utils
Post by: dodolapruprune on 2023-09-21 23:27:35
Hello here!

Could it possible to provide foo_utils.dll in 64 bits?

I don't know who to contact, not sure if the author is going to receive a notification.
Title: Re: foo_utils
Post by: Air KEN on 2023-09-22 00:15:53
What features do you need?
Playlist Tools (foo_utils) 0.6.2 beta 6
https://foosion.foobar2000.org/components/?id=utils&version=0.6.2+beta+6
-------
> Format text from track information and copy to clipboard or save to file
Text Tools (foo_texttools)
https://www.foobar2000.org/components/view/foo_texttools
Add context menu > Utilities > Text Tools
(https://i.imgur.com/pz3PZbG.png)

> Protect playlists against editing
Playlist Attributes (foo_playlist_attributes)
https://www.foobar2000.org/components/view/foo_playlist_attributes
Menu > Edit > Playlist attributes > Playlist restrictions...
Title: Re: foo_utils
Post by: dodolapruprune on 2023-10-08 08:52:36
What features do you need?

I just need the "send to playlist" feature for the currently selected song.

Title: Re: foo_utils
Post by: Air KEN on 2023-10-08 10:16:41
This is a standard feature.
Look at the image above.

Playlist View context menu > Utilities > Send to playlist...

Utilities > Send to playlist...
If "Send to playlist..." is not displayed, please check "Preferences > Display > Context Menu > Utilities".

Register this to "Keyboard Shortcus" (Preferences > Keyboard Shortcus)

Title: Re: foo_utils
Post by: dodolapruprune on 2023-10-08 10:39:59
Utilities > Send to playlist...
If "Send to playlist..." is not displayed, please check "Preferences > Display > Context Menu > Utilities".

Sorry, I mean to send a song to a specific playlist, without using a menu to choose that playlist. That feature exists in foo_utils.
Title: Re: foo_utils
Post by: Air KEN on 2023-10-08 11:32:31
Context menu > Legacy Commands (unsorted) > Send to Playlist or Add to Playlist > Playlist name

It's the item above, right?
This was convenient
Unfortunately, it's not 64 bit.
Title: Re: foo_utils
Post by: dodolapruprune on 2023-10-08 11:52:06
yes

no 64 bit? you don't have the source anymore?
Title: Re: foo_utils
Post by: Air KEN on 2023-10-08 12:08:20
Now that foo_utils is part of the standard, we have to ask Peter. Or someone else.

Topic: [Suggestions / Wishlists] for future updates
https://hydrogenaud.io/index.php/topic,116509.0.html
Title: Re: foo_utils
Post by: dodolapruprune on 2023-10-17 09:58:44
Now that foo_utils is part of the standard, we have to ask Peter. Or someone else.

Topic: [Suggestions / Wishlists] for future updates
https://hydrogenaud.io/index.php/topic,116509.0.html

Who is peter? The main foobar dev?
Title: Re: foo_utils
Post by: Air KEN on 2023-10-17 10:14:14
Isn't that a stupid question after taking so long to reply?
Title: Re: foo_utils
Post by: dodolapruprune on 2023-10-19 12:55:39
you hurt my feelings