Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - karbock

Pages: 1 ... 11 12 1314 15 ... 23
181
MusicBee Wishlist / Re: Scrollbar for Excessive Highlighting Rules
« on: March 31, 2023, 04:29:54 PM »
+1

182
Questions / Re: Copy date from MB to another version of MB
« on: March 25, 2023, 05:06:59 PM »
Hello Flourgrader,

Your radio stations are stored in the main library file: MusicBeeLibrary.mbl (just checked in my version).
For its proper location (installed vs. portable), refer to this post, section B.1.

May I suggest that you change "date" for "station list" in the thread title, so that it reflects the accurate content for future readers?


183
Or is it perhaps something off with my system? It seems weird that nobody ever noticed or reported this?
I can reassure you: the fault is not on your system's side. The light grey is indeed rather hard to read with the light theme, but I've never bothered to add the topic to the wishlist.

184
Tips and Tricks / Re: BBCeditor (forum post edit tool)
« on: March 02, 2023, 11:41:13 AM »
Implementing forum-specific markers in BBCeditor

Some forum markers are not natively supported by BBCeditor (or their syntax differs),
but you can 'teach' BBCeditor to recognise them.

Steps:
  • Start BBCeditor
  • Menu Tools /Settings, tab Custom buttons
  • For each row of the table below that you wish to incorporate into BBCeditor:
    • Click on button +
    • Select Regular expression
    • For Expression and Replacement, copy/paste the matching cell contents
  • Validate with OK.
This was made possible thanks to hiccup's insight into the (undocumented) replacement feature of BBCeditor.

Forum_editor_marker_(NOT_in_BBCeditor)BBCeditor's_native_equivalentExpression:Replacement:
[br]N/A\[br]<br>
[pre]...[/pre]N/A\[pre](.*?)\[/pre]<pre>$1</pre>
[abbr="..."]...[/abbr]
[acronym="..."]...[/acronym]
N/A
N/A
\[(abbr|acronym)="(.*?)"](.*?)\[/\1]<$1 title="$2">$3</$1>
[o] or [O]N/A\[[oO]](.*?)<li type="circle">$1</li>
[x] or [+] or [#]N/A\[[x+#]](.*?)<li type="square">$1</li>
[list type=disc]
[list type=circle]
[list type=square]
[list type=decimal]
[list type=lower-alpha]
[list type=upper-alpha]
[list type=lower-roman]
[list type=upper-roman]
[list type=none]
N/A
N/A
N/A
[list type=1] or [list=1]
[list type=z] or [list=a]
[list type=A]
[list type=i]
[list type=I]
N/A
\[list type=(disc|circle|square|none|decimal|lower-alpha|upper-alpha|lower-roman|upper-roman)\]<ul style="list-style-type:$1;">
[img width=...] or
[img height=...]
[img=...x]
[img=x...]
\[img (width|height)=([0-9]*)](.*?)\[/img]<img class="image" src="$3" $1="$2">
[img width=... height=...][img=...x...]\[img (width|height)=([0-9]*) (width|height)=([0-9]*)](.*?)\[/img]<img class="image" src="$5" $1="$2" $3="$4">
[font=...][/font]N/A\[font=(.*?)](.*?)\[/font]<font face="$1">$2</font>

185
Added:
  • v.Composer.Short:
    The first word of the surname (DA, DE, VAN, VON) is omitted when customary:
    • DA PALESTRINA, DE LASSUS, VAN BEETHOVEN, VON WEBER
  • List of symbols + alternative version

186
Tips and Tricks / Re: BBCeditor (forum post edit tool)
« on: February 26, 2023, 05:10:25 PM »
The .css styles were updated.
Also I have found a solution for the discrepancy between BBCeditor's and the forum's font size handling.
See post #2
Hat tip!

187
Tips and Tricks / Re: BBCeditor (forum post edit tool)
« on: February 25, 2023, 10:58:34 AM »
BBcode for the Forum Post Editor

BBcode is the formatting language used by many forums on the internet, but it is not completely standardised.
This post presents the subset used by the MusicBee forum editor.

Table of contents
  • Character styles
  • Internet links
  • Paragraphs
  • Code
  • Quote
  • Tables
  • Lists
  • BBcode markers not supported by the forum editor
  • BBCeditor markers not supported by the forum editor

Character styles

FunctionMarkerExampleResult
Bold[b]...[/b]Regular / [b]Bold[/b]Regular / Bold
Italic[i]...[/i]Regular / [i]Italic[/i]Regular / Italic
Underline[u]...[/u]Regular / [u]Underline[/u]Regular / Underline
Monospace[tt]...[/tt]Regular / [tt]Monospace[/tt] Regular / Monospace
Strikethrough[s]...[/s]Regular / [s]Strikethrough[/s]Regular / Strikethrough
Superscript[sup]...[/sup]Regular / [sup]Superscript[/sup]Regular / Superscript
Subscript[sub]...[/sub]Regular / [sub]Subscript[/sub]Regular / Subscript
Size (with name)[size=...]...[/size]Regular / [size=xx-small]xx-small[/size]
Regular / [size=x-small]x-small[/size]
Regular / [size=small]small[/size]
Regular / [size=medium]medium[/size]
Regular / [size=large]large[/size]
Regular / [size=x-large]x-large[/size]
Regular / [size=xx-large]xx-large[/size]
Regular / xx-small
Regular / x-small
Regular / small
Regular / medium
Regular / large
Regular / x-large
Regular / xx-large
Size (with number)*[size=...]...[/size]Regular / [size=1]size=1[/size]
Regular / [size=2]size=2[/size]
Regular / [size=3]size=3[/size]
Regular / [size=4]size=4[/size]
Regular / [size=5]size=5[/size]
Regular / [size=6]size=6[/size]
Regular / [size=7]size=7[/size]
Regular / size=1
Regular / size=2
Regular / size=3
Regular / size=4
Regular / size=5
Regular / size=6
Regular / size=7
Colour (with hexa code)*[color=#hexa6]...[/color]Regular / [color=#FF8C00]Text in DarkOrange[/color]Regular / Text in DarkOrange
Colour (with name)*[color=ColourName]...[/color]Regular / [color=DarkOrange]Text in DarkOrange[/color]Regular / Text in DarkOrange

NOTES:
  • Sizes with numbers (1..7) are possible in BBCeditor with the patch (see 1st post of the thread).
  • Forum-friendly colour sets are proposed here.

Internet links

FunctionMarkerExampleResult
Weblink[url]...[/url][url]https://getmusicbee.com/forum/[/url]
https://getmusicbee.com/forum/
Weblink (named)[url=...]...[/url][url=https://getmusicbee.com/forum/]
MusicBee Forum
[/url]

MusicBee Forum

Image[img]...[/img][img]https://getmusicbee.com/img/musicbee.png[/img]
Image (clickable)[url=...]
[img]...[/img]
[/url]
[url=https://getmusicbee.com/img/musicbee.png]
[img]https://getmusicbee.com/img/musicbee.png[/img]
[/url]
Image (resized)*[img width=...]
...
[/img]
[img width=30]https://getmusicbee.com/img/musicbee.png[/img]
[img height=...]
...
[/img]
[img height=50]https://getmusicbee.com/img/musicbee.png[/img]
[img width=... height=...]
...
[/img]
[img width=30 height=50]https://getmusicbee.com/img/musicbee.png[/img]

NOTES:
  • The syntax for image resizing on the forum is not natively supported by BBCeditor, but you can encode it. See this post.

Paragraphs

FunctionMarkerExampleResult
Alignment[left]...[/left]
[center]...[/center]
[right]...[/right]
[left]Text[/left]
[center]Text[/center]
[right]Text[/right]
Text
Text
Text
Line break*[br]Line 1[br]Line 2Line 1
Line 2
Scrolling text[move]...[/move][move]Don't forget![/move]Don't forget!
Unparsed BBcode[nobbc]...[/nobbc]This post uses [nobbc]...[/nobbc] for each example.
Preformatted text*[pre]...[/pre][pre][color=DarkBlue]What's up, [b]Doc[/b]?[/color][/pre]
What's up, Doc?
Info bubbles*[abbr="..."]...[/abbr]file extension: [abbr="Free Lossless Audio Codec"].flac[/abbr]file extension: .flac
[acronym="..."]...[/acronym]file extension: [acronym="MPEG-4 audio file"].m4a[/acronym]file extension: .m4a

NOTES:
  • Marker nobbc is ignored by BBCeditor, thus simply displayed as it is. No solution found yet.
  • Markers br, pre, abbr and acronym are not natively supported by BBCeditor. abbr is available in the patch (see 1st post of the thread).
    To encode the others, see this post.
  • Preformatted text = monospace + stand-out background. When using it within a table, set a text colour such as DarkBlue, otherwise the text will be almost unreadable in the dark forum theme. That is not necessary outside a table: there, the display comes in two flavours according to the forum theme, both being easily readable.

Code

[code]
$title = "${movement_no}. ${movement_name}";
[/code]

will produce:

Code
$title = "${movement_no}. ${movement_name}";

Quote

Without custom title

[quote]
Inspiration does exist, but it must find you working. (Pablo Picasso)
[/quote]


will produce:
Quote
Inspiration does exist, but it must find you working. (Pablo Picasso)

With author's name

[quote=Eleanor Roosevelt]
When you give joy to other people, you get more joy in return. You should give a good thought to happiness that you can give out.
[/quote]


will produce:
Quote from: Eleanor Roosevelt
When you give joy to other people, you get more joy in return. You should give a good thought to happiness that you can give out.

With author's name, link and timestamp

[quote author=hiccup link=topic=38856.0 date=1676791981]
Another benefit of this tool is that it makes it easy to store any work-in-progress postings.
[/quote]


will produce:
Another benefit of this tool is that it makes it easy to store any work-in-progress postings.

Tables

Table, row and cell markers

Code
[table]...[/table] encloses the table definition
[tr]...[/tr]       encloses each table row
[td]...[/td]       encloses each cell of a table row

Example

Code
[table]
[tr]
[td][color=LightSeaGreen][b]H1[/b][/color][/td]
[td][color=LightSeaGreen][b]H2[/b][/color][/td]
[td][color=LightSeaGreen][b]H3[/b][/color][/td]
[td][color=LightSeaGreen][b]H4[/b][/color][/td]
[/tr]
[tr]
[td][color=CornFlowerBlue]A1[/color][/td]
[td]A2[/td]
[td]A3[/td]
[td]A4[/td]
[/tr]
[tr]
[td][color=CornFlowerBlue]B1[/color][/td][td]B2[/td][td]B3[/td][td]B4[/td]
[/tr]
[/table]
will produce:

H1H2H3H4
A1A2A3A4
B1B2B3B4

NOTES:
  • th (table header) is not supported by the forum editor.
  • code and quote inserts in table cells are not supported by the forum editor.
  • Nested tables (a table within a table cell) are parsed correctly by the forum editor, but misinterpreted by BBCeditor.

Lists

TIPS:
  • Markers *, o and x are easier to use.
    They do not require a closing marker, but they must start a line.
  • Use item markers li and /li if you want to include line breaks into your list items.
  • Except for a Default list, do not use the list button of BBCeditor, since the special list markers of that application are not recognised by the forum editor. Instead, create in BBCeditor your own snippets (or custom buttons) using the markers described below.

Lists with single item markers (* o x)

FunctionMarkerExampleResult
Bulleted list: disc*[list]
[*]
[/list]
List 1:[list]
[*] first item
[*] second item
[/list]
List 1:
  • first item
  • second item
Bulleted list: circle*[list]
[o] or [O]
[/list]
List 1:[list]
[o] first item
[o] second item
[/list]
List 1:
  • first item
  • second item
Bulleted list: square*[list]
[x] or [+] or [#]
[/list]
List 1:[list]
[x] first item
[x] second item
[/list]
List 1:
  • first item
  • second item
Nested lists*[list]
[*]
[list]
[o]
[list]
[x]
[/list]
[/list]
[/list]
Nested lists:
[list]
[*] 1
[*] 2
[*] 3
[list]
[o] 3.1
[o] 3.2
[/list]
[*] 4
[list]
[o] 4.1
[list]
[x] 4.1.1
[/list]
[/list]
[*] 5
[/list]
Nested lists:
  • 1
  • 2
  • 3
    • 3.1
    • 3.2
  • 4
    • 4.1
      • 4.1.1
  • 5

Lists with double item markers (li ... /li)

NOTE:
  • Each list definition specifying the type (list type=...) requires double item markers: li and /li. See the first table row for a model.

FunctionMarker
Bulleted list[list]
[li]item 1[/li]
[li]item 2[/li]
[/list]
Bulleted list: disc*[list type=disc]
Bulleted list: circle*[list type=circle]
Bulleted list: square*[list type=square]
Alphabetic list*[list type=lower-alpha]
[list type=upper-alpha]
Numbered list*[list type=decimal]
Roman numerals*[list type=lower-roman]
[list type=upper-roman]
Non-bulleted list*[list type=none]

NOTES:
  • Special bullet types (circle, square) and special list types (alphabetic, decimal, roman) are not natively supported BBCeditor, but are available with the patch (see 1st post of this thread).
  • Do not mix codes * and li.../li in the same list: they are treated as items of the same level by BBCeditor, whereas they will show as nested lists on the forum.
  • A list definition enclosed in color.../color markers is misinterpreted by the forum editor.
  • When defining nested lists, it is best to use different bullet markers (*, o, +) to differentiate them in your BBcode script.
  • The forum editor does not recognise nested lists using li.../li.

BBcode markers not supported by the forum editor

Non-exhaustive list. Only the most frequent ones in other BBcode variants:
  • th: table header
  • h1, h2, h3, ...: text header levels
  • hr: horizontal line
  • spoiler: button to reveal hidden text
  • shadow: character style
  • glow: character style
BBCeditor markers not supported by the forum editor

The following list features are defined by other markers in the forum editor. See also this post.
  • list=1: list, numbered
  • list=a: list, alphabetic, lowercase
  • list type=z: list, alphabetic, lowercase
  • list type=A: list, alphabetic, uppercase
  • list type=I: list, roman numbers, uppercase
  • list type=i: list, roman numbers, lowercase

188
New screenshots (clickable) comparing the display, with:
  • a light theme + 4 possible colours (one for each element type)
  • a dark theme + 2 colours, always the same (symbol vs. text)

189
Tips and Tricks / Re: Useful regex formulas
« on: February 20, 2023, 11:29:21 AM »
Special title formatting

A regex I use to format titles, especially for audio files with a CUE sheet, where it is not possible to specify <Movement#> and <MovementName> for each track.

Possible title content expected in input:

Title formatTitle contentResulting display
TextProtector of the Common FolkProtector of the Common Folk
#. Text
or #letter. Text
or P#letter. Text
1. Adagio
12c. Chinese dance
P3.12. Seid froh dieweil
1. Adagio
12c. Chinese dance
P3.12. Seid froh dieweil
(Text) Text(Encore) Wien, Wien, nur Du allein(Encore) Wien, Wien, nur Du allein
Number+letter. (Text) Text4b. (Choir) O Freunde, nicht diese Töne!
4b. (Choir) O Freunde, nicht diese Töne!


Code
{font: Ubuntu;Italic;12}{color: 0,105,155}$RxReplace(<Title>,"^(P?[0-9.]+[a-z]*[.] )?([(][^)]*[)])?(.*)","$1"){color: 20,125,20}$RxReplace(<Title>,"^(P?[0-9.]+[a-z]*[.] )?([(][^)]*[)])?(.*)","$2"){font: default}{color: default}$RxReplace(<Title>,"^(P?[0-9.]+[a-z]*[.] )?([(][^)]*[)])?(.*)","$3")

$RxReplace is called three times, because it is not possible to insert the formatting codes directly into the replacement string.

Adapt to your taste and MB skin:
- {font: Ubuntu;Italic;12} and {font: default}
- {color: r,g,b} and {color: default}

190
Tips and Tricks / Re: MusicBee File Paths: Installed vs Portable
« on: February 20, 2023, 09:10:46 AM »
Added:

* Adapting MusicBee3Settings.ini after switching to the portable version

* C.6 Soundtrack pictures

191
Tips and Tricks / Re: MusicBee functions for virtual tags cheatsheet
« on: February 19, 2023, 08:09:01 PM »
Thanks for the [anchor] codes!
Patient work at its best!

192
Tips and Tricks / Re: BBCeditor (forum post edit tool)
« on: February 19, 2023, 05:38:34 PM »
Forum-friendly colour sets

As mentioned above by hiccup, the forum post editor features a preselection of 9 colours. Two alternative sets are also shown here. The first one features colours having predefined names in BBcode. All the sets are suitable with both the light and the dark theme.

Forum's setAlternative set 1Alternative set 2
Colour typeHex. codeN/AColour typeHex. codeBBcode colour nameColour typeHex. codeN/A
██ bluecolor=#0093F8██ bluecolor=#6495EDcolor=CornFlowerBlue██ bluecolor=#208CF3
██ browncolor=#9E6F00██ browncolor=#D2691Ecolor=Chocolate██ browncolor=#8F7200
██ cyancolor=#40C2B9██ cyancolor=#20B2AAcolor=LightSeaGreen██ cyancolor=#40C2B9
██ graycolor=#8F8F8F██ graycolor=#778899color=LightSlateGray██ graycolor=#8A8A8A
██ greencolor=#00A300██ greencolor=#32CD32color=LimeGreen██ greencolor=#14A31B
██ khakicolor=#BFAD00██ khakicolor=#DAA520color=GoldenRod██ khakicolor=#BFAD00
██ orangecolor=#EE8200██ orangecolor=#FF8C00color=DarkOrange██ orangecolor=#DB720F
██ redcolor=#FC0003██ redcolor=#FF6347color=Tomato██ redcolor=#DE201D
██ violetcolor=#CD78D6██ violetcolor=#DA70D6color=Orchid██ violetcolor=#A852F2

Usage:
  • Alternative colour set 1:
    Colourise your text by specifying either the matching hexadecimal code or the BBcode colour name.
  • Forum's colour set and Alternative set 2:
    Colourise your text by specifying the hexadecimal code only.
A full list of the 141 predefined colours + transparent is available here  (with explanations).

193
Improved:
* No more condition on AlbumArtist
* $Count used to identify multiple-composer albums instead

Split up:
* the solution with 7 virtual tags (but easy to maintain)
* the solution with 3 virtual tags (but difficult to maintain), with aggregated formulas


Updated:
* list of composer names in v.Composer.Short

194
From my library:
Pau Casals / Enric Casals
Franz Schubert / Heinz  Schubert
Thanks for your contribution! I'll add them to the next update (coming soon...)

195
Improved:
  • Work name:
    The work is shown IF it is present AND the track count for the combination <Album>+<Work> differs from the track count for <Album>.
  • Composer name:
    The given names are generally removed. Exceptions:
    • Couperin, Marcello, Pachelbel, Scarlatti: given names kept
    • Bach: given names removed only for Johann Sebastian
    • Haydn: given name removed only for Joseph
    • Mendelssohn: given name removed only for Felix
    • Mozart: given names removed only for Wolfgang Amadeus

Pages: 1 ... 11 12 1314 15 ... 23