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.
Recent Posts
21
General - (fb2k) / Re: Add a "Copy files and generate playlist" feature
Last post by regor -
I don't know if this is true for others, but the way my playlists come into existence basically involves me playing a lot of different music from a whole bunch of places and if I think one random thing sounds good with another thing I have them play next to each other, and this process repeats slowly over time until the playlist gets pretty long (50+ items avg) and everything is in the order that I like it. Very often stuff is saved off YT or SoundCloud and put in various folders likely to never be sorted.

It's fine when everything is accessed from one PC but eventually there comes a time when I want to share my playlists or play them on an entirely different PC. Ideally I would just copy the files and m3u to a flash drive and when the m3u is accessed on the flash drive everything just plays in the expected order. Even if foobar can treat absolute paths as relative if the actual files are indeed in the same directory as the m3u there's no guarantee other programs will do the same, which could be a problem down the line.

Perhaps a simpler thing I could also do is just modify the m3u playlist directly to replace the absolute paths with relative paths, but that would still involve a separate text editor and likely a bit of regex, so it's debatable if this would be faster than just sticking with M3U-Copy. Or would your approach be faster at making my playlists portable?
I don't understand your comment... the steps I described do exactly what you want at first post, with the original order you set on playlist (?). Obviously you have to enable EXTM3U as noted.
The Playlist Manager too, along many more features and utilities which may come handy for syncing playlists between different PCs, a shared music network server, etc.

If any of those solutions are good enough for you, that's something you will have to try by yourself.
22
FLAC / Re: New FLAC compression improvement
Last post by bennetng -
* Order of the apodization functions matters! -A partial_tukey(2);tukey(0,5);punchout_tukey(3) is not the same as -A tukey(0,5);partial_tukey(2);punchout_tukey(3) .  Having observed that, I vaguely remember someone saying there is no reason they should be equal, so maybe this is well-known? Also from the observation that the -8 order scores better than permuting.
Some observations by trial and error:

The order of windows work best from widest to narrowest in terms of time domain. For example, windows that don't take arguments, from widest to narrowest are Rectangular, Welch, Triangular/Hann, Blackman, then Flat top.
https://en.wikipedia.org/wiki/Window_function#A_list_of_window_functions
The left (blue) plots are time domain, and right (orange) ones are frequency domain, windows occupy more blue regions are wider.

Windows taking arguments like Tukey, when used repeatly, also work best from widest to narrowest, I believe Tukey(0) is same as Rectangular and Tukey(1) is same as Hann, according to this:
https://www.mathworks.com/help/signal/ref/tukeywin.html

I don't understand partial Tukey and punchout Tukey, look like these are combinations of several Tukey windows by looking at the source codes.

-e may adversely affect compression ratio with the above ordering (plus it is super slow anyway).

-6 to -8 already specified one or more windows, so don't use them if you are planning to use custom windows ordering.
27
3rd Party Plugins - (fb2k) / Re: foo_uie_sql_tree
Last post by Sue Dunham -
I'm just getting to trying your suggestion now, and I'm still having crashes. I've added MetaDb_Handle to the sql file (and removed the GROUP BY, since that was giving me trouble. I guess I still don't get when I want that and when I don't, but never mind that for now). It now looks like this:
Code: [Select]
DROP VIEW IF EXISTS tree_albumartist;
CREATE VIEW         tree_albumartist AS
SELECT   coalesce(
                  [album artist]
                , artist
                , '{no artist}'
                  )
      AS coalartist
       , album
       , MetaDb_Handle
    FROM MediaLibrary
ORDER BY coalartist
       , album
       , discnumber
       , tracknumber

The batch tab is unchanged:
Code: [Select]
SELECT eval(readfile('sql/tree_albumartist.sql'))

The query tab now looks like this:
Code: [Select]
SELECT coalartist, album FROM tree_albumartist

I can execute the batch as is in a separate tree node, remove it from the node with the query, and refresh the query just fine. It is just when that query and batch are in the same node that there is a crash on the refresh. In that case, I can click on the node and send every track to a playlist or to the SQL console, but a refresh crashes with either action selected.
28
General - (fb2k) / Re: Add a "Copy files and generate playlist" feature
Last post by DeceptivDifficil -
I don't know if this is true for others, but the way my playlists come into existence basically involves me playing a lot of different music from a whole bunch of places and if I think one random thing sounds good with another thing I have them play next to each other, and this process repeats slowly over time until the playlist gets pretty long (50+ items avg) and everything is in the order that I like it. Very often stuff is saved off YT or SoundCloud and put in various folders likely to never be sorted.

It's fine when everything is accessed from one PC but eventually there comes a time when I want to share my playlists or play them on an entirely different PC. Ideally I would just copy the files and m3u to a flash drive and when the m3u is accessed on the flash drive everything just plays in the expected order. Even if foobar can treat absolute paths as relative if the actual files are indeed in the same directory as the m3u there's no guarantee other programs will do the same, which could be a problem down the line.

Perhaps a simpler thing I could also do is just modify the m3u playlist directly to replace the absolute paths with relative paths, but that would still involve a separate text editor and likely a bit of regex, so it's debatable if this would be faster than just sticking with M3U-Copy. Or would your approach be faster at making my playlists portable?
29
General - (fb2k) / Re: Title Formatting: How to automaticly identify different strings and remove them?
Last post by WilB -
1. You can try something like that below (if I have understood you correctly). It should deal with various formats for trailing year with radio streams.
Code: [Select]
$if($strstr(%path%,'://'),$cut(%title%,$sub($if3($strstr(%title%, - 19),$strstr(%title%, - 20),$strstr(%title%, -19),$strstr(%title%, -20),$strstr(%title%,  19),$strstr(%title%,  20),$strstr(%title%, 19),$strstr(%title%, 20),$strstr(%title%, '('19),$strstr(%title%, '('20),$strstr(%title%, '['19),$strstr(%title%, '['20)),1)),%title%)
Hopefully it should be specific enough as is else you'll need extra checks to test if the match is at the end of the string. .

2. I may not have fully understood. But if | (pipe) is always present in the problematical radio streams you can get index position of | & return all to right (then $trim if needed), e.g. try:
Code: [Select]
$if($strstr(%path%,'://'),$puts(pipe,$strstr(%album artist%,|))$if($get(pipe),$trim($right(%album artist%,$sub($len(%album artist%),$get(pipe))))),%album artist%)

If pipe isn't always present then may be you can get the original radio name somehow and replace that.

$strstr(%path%,'://') is used to help identify radio streams & make the snippets more efficient: this may be adequate else you'll need to use a different more specific identifier.
SimplePortal 1.0.0 RC1 © 2008-2021