Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_utils (Read 180073 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_utils

Reply #125
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

foo_utils

Reply #126
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.


foo_utils

Reply #128
howdy, Is it possible to get the functionality that I asked about in this thread:
http://www.hydrogenaudio.org/forums/index....&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

foo_utils

Reply #129
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?

foo_utils

Reply #130
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.

foo_utils

Reply #131
Okay, thanks. Will have to look for another solution then.

foo_utils

Reply #132
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!

foo_utils

Reply #133
you set it on a per-playlist basis from the main Edit menu.


foo_utils

Reply #135
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.



foo_utils

Reply #136
You can use the copy command to set the clipboard content to the selected tracks. There is no separate command to clear the clipboard.

foo_utils

Reply #137
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)



foo_utils

Reply #138
I just use "add to Playlist XY"
is it possible to see this direct in the context menu without the "legacy commands (unsorted)" "folder"

foo_utils

Reply #139
no.

foo_utils

Reply #140
Do it is possible to add a base64 function to convert cover art into img tag?


foo_utils

Reply #142
f.e.:
<td>$if2(%title%,%filename%)</td>
<td><img src="data:image/png;base64, $base64(%cover%)"></img></td>

foo_utils

Reply #143
Are you sure that titleformatting variable %cover% exists?

foo_utils

Reply #144
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.

foo_utils

Reply #145
not, fb2k could add

foo_utils

Reply #146
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

foo_utils

Reply #147
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.

 

foo_utils

Reply #148
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

Re: foo_utils

Reply #149
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