Skip to main content

Topic: foo_utils (Read 142005 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • BelleAndZEK
  • [*][*]
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

  • foosion
  • [*][*][*][*][*]
  • Moderator
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.
http://foosion.foobar2000.org/ - my components for foobar2000

  • marc2003
  • [*][*][*][*][*]
foo_utils
Reply #127
WSH panel mod can do both those things.

http://www.hydrogenaudio.org/forums/index....showtopic=70363

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

http://www.hydrogenaudio.org/forums/index....showtopic=77883

  • juglesh
  • [*][*][*]
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
juglesh        B>{)}
www.RadioKDUG.com

  • Emerelle
  • [*][*][*]
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?

  • foosion
  • [*][*][*][*][*]
  • Moderator
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.
http://foosion.foobar2000.org/ - my components for foobar2000

  • Emerelle
  • [*][*][*]
foo_utils
Reply #131
Okay, thanks. Will have to look for another solution then.

  • trinkner
  • [*]
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!

  • marc2003
  • [*][*][*][*][*]
foo_utils
Reply #133
you set it on a per-playlist basis from the main Edit menu.

  • trinkner
  • [*]
foo_utils
Reply #134
you set it on a per-playlist basis from the main Edit menu.


Thanks!

  • LL25255252
  • [*]
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.



  • foosion
  • [*][*][*][*][*]
  • Moderator
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.
http://foosion.foobar2000.org/ - my components for foobar2000

  • LL25255252
  • [*]
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)


  • Last Edit: 13 July, 2013, 12:05:16 AM by LL25255252

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"

  • marc2003
  • [*][*][*][*][*]
foo_utils
Reply #139
no.

  • Forfit
  • [*][*][*][*]
foo_utils
Reply #140
Do it is possible to add a base64 function to convert cover art into img tag?

  • foosion
  • [*][*][*][*][*]
  • Moderator
foo_utils
Reply #141
Sorry, I don't understand what the use case is.
http://foosion.foobar2000.org/ - my components for foobar2000

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

  • lvqcl
  • [*][*][*][*][*]
  • Developer
foo_utils
Reply #143
Are you sure that titleformatting variable %cover% exists?

  • fbuser
  • [*][*][*][*][*]
  • Developer
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.

  • Forfit
  • [*][*][*][*]
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

  • foosion
  • [*][*][*][*][*]
  • Moderator
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.
http://foosion.foobar2000.org/ - my components for foobar2000

  • azertyxtra
  • [*]
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