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
1
3rd Party Plugins - (fb2k) / Re: World-Map-SMP
Last post by Sergey77 -
 :)
Thanks regor and snotlicker!
The new version of the script looks great!
See picture MC_WorldMap1.jpg

A few points that would be great to consider for the next releases:
1. The country is marked on the map only if English is selected in the Bio. Is it possible for other languages?
2. I think the marker should be smaller. It is better if the type and color of the marker could be changed (for example, the option as in the picture map1.png)
3. Add the ability to display the name of the country (as an option in the picture).
4. Is the country marker not displayed for internet radio tracks?

Other than that, what does this message in the console mean?
World Map - Portable installation: replacing path 'wm_09.JSON filename (for tags)' with '.\profile\js_data\worldMap.json'
4
Support - (fb2k) / Re: 1.6.7 beta3 new exclusive output mode problem
Last post by Gravity Stupor -
Beta 7, WASAPI Exclusive, Realtek HD, ALC 662, 6.0.1.8036 (2.81). Plays fine without fading, but with fading enabled huge stuttering occurs after switching from track with 44,1 sample rate to track with 48 khz. And vice versa. Also stuttering occurs, when tracks have different channels count (e.g. when playing mono file after playing stereo files)
7
General - (fb2k) / Re: How to hide skipped tracks from a dynamic playlist?
Last post by regor -
Code: [Select]
("$strstr(%_path%,'A:\YOUR PATHA\')" GREATER 0 OR "$strstr(%_path%,'B:\YOUR PATHB\')" GREATER 0) AND (NOT %last_played% PRESENT OR NOT %skip_count% PRESENT)

Although, on a second thought. What that does is tracking skipping done via component (according to some query), not the user skipping tracks on demand (?).  So we are at the same point for those.

You could, however, replace the playback toolbar with a custom one and... link next track button to an action which increases the skipping count too.
8
General Audio / Re: Split file with PCM float samples by cuesheet
Last post by 9p -
Deflacue
Just tried it but it changed sample format to 24-bit integer probably because it outputs to FLAC

Original:
Code: [Select]
Input #0, wav, from 'N_SLICHENKO_M.wav':
  Duration: 00:39:07.14, bitrate: 3072 kb/s
    Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 96000 Hz, 1 channels, flt, 3072 kb/s
After splitting:
Code: [Select]
Input #0, wav, from '01 - Малярка.wav':
  Duration: 00:01:28.20, bitrate: 2304 kb/s
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 96000 Hz, mono, s32 (24 bit), 2304 kb/s
9
3rd Party Plugins - (fb2k) / Re: foo_sqlite
Last post by Sue Dunham -
Simplified. Heh. Oh dear.  :)

Since this is a going into what will be a multivalue tag, the way I finally got these things working in general was to do my manipulations inside each regexp_replace call by wrapping the text of a subquery around the replace parameter. This takes place in a preliminary view, and then the UPDATE query (I'm using just a SELECT below) runs eval(SELECT … on the whole field of semicolon-separated subqueries (the semicolons being foobar2000 multivalue delimiters, not SQL statement terminators) and strips the final semicolon and space from the end.

And trying to put a simple example together, I seem to have gotten that mess working, or at least not failing in this way. So I guess I'll look for my problem elsewhere.  :)

But to finish the thought, here's what I'm doing. The lookup table is used to standardize the output from the variously-written title tags, and I wanted to make the lookup field lowercase for easier comparisons.
Code: [Select]
DROP TABLE IF EXISTS works;
CREATE TABLE         works (
                  id INTEGER PRIMARY KEY
            , lookup TEXT UNIQUE
            ,   work TEXT
            ,   sort TEXT
                     );

CREATE UNIQUE INDEX idx_workslookup
                 ON works(lookup);

INSERT INTO works(lookup, work, sort)
     VALUES ('op'   , 'Op.'   , 'OPUS')
          , ('no'   , 'No.'   , NULL  )
          , ('n°'   , 'No.'   , NULL  )
          , ('nº'   , 'No.'   , NULL  )
          , ('post' , 'posth.', NULL  )
          , ('posth', 'posth.', NULL  )
          , ('woo'  , 'WoO'   , 'WOOP')
          , ('bb'   , 'BB'    , 'BBAR')
          , ('sz'   , 'Sz.'   , 'SZOL')
          , ('bwv'  , 'BWV'   , 'BAWV')
          , ('buxwv', 'BuxWV' , 'BUWV')
          , ('k'    , 'KV'    , 'KOCH')
          , ('kv'   , 'KV'    , 'KOCH')
          , ('rv'   , 'RV'    , 'RYOM')
          , ('f'    , 'F.'    , 'FANN')
          ;

DROP VIEW IF EXISTS view_workfromtitle;
CREATE VIEW         view_workfromtitle AS
SELECT regexp_replace('(N(?:o|º))'
                    , '\(SELECT work FROM works WHERE lookup = lower\(''\1''\)\); '
                    , title
                    , 1
                      )
    AS simple
  FROM Playlist_Updatable
 WHERE playlist_index = active_playlist()
   AND item_is_selected;

SELECT eval('SELECT '||substr(simple, 1, length(simple) - 2))
    AS simple
  FROM view_workfromtitle
SimplePortal 1.0.0 RC1 © 2008-2021