Skip to content

Commit

Permalink
v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wil-B committed Dec 13, 2023
1 parent 1d94644 commit 4ca106b
Show file tree
Hide file tree
Showing 23 changed files with 1,469 additions and 561 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# v1.4.2
### Fixed
- AllMusic (thx to @regorxxx)
- Various other issues

### Added
- scrollbar: new options (behaviour tab > scroll)
- windows dark mode scrollbar // has to be manually enabled as SMP isn't dark mode aware
- rounded thumb gripper
- support for bio variables in nowplaying display (textreader & lyrics already supported them)
- advanced radio parser is now also supported by textreader, lyrics* & nowplaying display provided bio var %BIO_ARTIST% & %BIO_TITLE% are used.
* lyrics may only be available if already exist
- Arrow Rock Radio is now one of the defaults in advanced radio stream parser (backup original if you've made changes then delete to update)

### Changed

- lyrics: improvements to fade effect and multiline handling (thx to TT)
- flags now have a tooltip

<br />

# v1.4.1
### Hotfix for v1.4.0
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
License

Copyright (c) 2021-2023 WilB
Copyright (c) 2021-2024 WilB

The above copyright notice shall be included in all
copies or substantial portions of the Software.
Expand All @@ -11,4 +11,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
29 changes: 15 additions & 14 deletions assets/html/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
<div class="info8"><b><i>Download integration</i></b></div>
<div class="info4">Biography doesn't download lyrics, but can synchronise with lyrics plug-ins as follows.</div>
<div class="info4"><ul><li>Check "synchronise..." above</li><li>Ensure a lyric show 3 or ESLyric panel is in the layout (can be hidden) & that lyric saving is enabled</li><li>Ensure save settings in the lyrics panel match load settings above</li></ul></div>
<div class="info4">If lyric show 3 is used, install veksha's <a href="https://www.reddit.com/r/foobar2000/comments/o7ua73/lyric_show_panel_3_lyrics_from_genius_musixmatch" target=\"_blank\">multi-source</a> for lyrics. Disable the default lyrics 3 sources as mostly they don't work anymore. Enable NEW DB: Minilyrics, NEW DB: QQ Music & NEW DB: Netease for synced lyrics or others as required. Although lyrics obtained by openlyrics can be displayed, that plug-in isn't suited to download integration.</div>
<div class="info4">Although lyrics obtained by openlyrics can be displayed, that plug-in isn't suited to download integration.</div>
<div class="info8"><b><i>Fade height</i></b></div>
<div class="info4">Increase if fade effect is too close to top / bottom, e.g. try 0.5.</div>
<div class="info8"><b><i>Lyrics in tags</i></b></div>
Expand Down Expand Up @@ -613,7 +613,7 @@
<div id="themeBlur"></div>
<div class="info2"><b>Image: Smooth transition level</b></div>
<div id="smoothTransLevel"></div>
<div class="info2"><b>Playlist interaction (follow selected item)</b></div>
<div class="info2"><b>Playlist interaction: selection change</b></div>
<div id="loadDelay"></div>
<div class="div_text7">Server name</div>
<div id="serverName"></div>
Expand All @@ -635,7 +635,7 @@
</div>
<div style="clear:both;"></div>
<div class="div_text11">Classical music extension</div>
<div class="info4">Extends auto-download of allmusic & wikipedia reviews to compositions. N/A for last.fm. Enable and set tag below. To display, per panel, use sources\text sub-menu.
<div class="info4">Extends auto-download of allmusic & wikipedia reviews to compositions. N/A for last.fm. Enable and set tag below. Then to display, per panel, use sources\text sub-menu.
If preferred, composer can be used by changing %BIO_ALBUMARTIST% above so $meta(composer,0) is the first item.</div>
<div id="classicalMode"></div>
<div id="classicalModeTitleformat"></div>
Expand Down Expand Up @@ -1158,9 +1158,9 @@
var sbarColLabels = ['Grey', 'Blend'];
var sbarIconLabels = ['Arrows', 'Triangles', 'Custom'];
var sbarShowLabels = ['Hide', 'Auto', 'Show'];
var sbarTypeLabels = ['Default', 'Styled', 'Windows'];
var sbarTypeLabels = ['Default', 'Styled', 'Windows Light Mode', 'Windows Dark Mode'];
var scrollbarLabels = ['Bar Width', 'Narrow bar width (0 = auto)', 'Arrow width', 'Arrow padding (+/-)', 'Grip min height', 'Custom icon*', 'Custom icon font name', 'Custom icon offset (%)', 'Prefer full height scrollbar'];
var scrollLabels = ['Use windows metrics', 'Smooth scroll', 'Touch control'];
var scrollLabels = ['Windows metrics', 'Rounded grip', 'Smooth scroll', 'Touch control'];
var seekerLabels = ['Counter', 'Seeker', 'Bar', 'Dots'];
var siteNameLabels = ['AllMusic', 'Last.fm', 'Wikipedia'];
var summaryLabels = ['Genres', 'Dates', 'Locale*', 'Popular now (last.fm)', 'Latest release (wikipedia)', 'Other'];
Expand Down Expand Up @@ -1239,7 +1239,7 @@
input.all.name = input.behaviour.name.concat(input.display.name, input.headings.name, input.image.name, input.textreader.name, input.custom.name, input.advanced.name, input.title_format.name, input.download.name, input.photo.name, input.cover.name, input.tagger.name, input.misc.name);
input.all.type = input.behaviour.type.concat(input.display.type, input.headings.type, input.image.type, input.textreader.type, input.custom.type, input.advanced.type, input.title_format.type, input.download.type, input.photo.type, input.cover.type, input.tagger.type, input.misc.type);
var box = {
behaviour: ['dblClickToggle', 'sameStyle', 'sbarWinMetrics', 'smooth', 'touchControl'],
behaviour: ['dblClickToggle', 'sameStyle', 'sbarWinMetrics', 'sbarGripRounded', 'smooth', 'touchControl'],
display: ['topAlign', 'expandLists', 'autoOptimiseText', 'covBlur', 'swapCol', 'highlightHdBtn', 'highlightHdText', 'highlightHdLine', 'highlightImgBor', 'highlightOvBor', 'highlightStars', 'highlightSubHd', 'highlightSummary', 'highlightText', 'colLineDark', 'amRating', 'lfmRating', 'summaryGenre', 'summaryDate', 'summaryLocale', 'summaryPopNow', 'summaryLatest', 'summaryOther'],
headings: ['hdShowTitle', 'hdBtnShow', 'fullWidthHeading', 'hdShowBtnBg', 'hdShowRedLfm', 'bioFlagShow', 'revFlagShow'],
image: ['autoEnlarge', 'imgSmoothTrans', 'imgFilterLfm', 'imgFilterMaxSzEnabled', 'imgFilterMinSzEnabled', 'imgFilterMinPxEnabled', 'autoFilm', 'imgCounter', 'imgSeeker', 'artReflDual', 'covReflDual', 'artReflImgOnly', 'covReflImgOnly', 'artBorderDual', 'covBorderDual', 'artBorderImgOnly', 'covBorderImgOnly', 'artShadowDual', 'covShadowDual', 'artShadowImgOnly', 'covShadowImgOnly'],
Expand Down Expand Up @@ -1491,8 +1491,8 @@
function setsbarType(n) {
window.sbarType_dropdown.innerHTML = sbarTypeLabels[n];
ppt['sbarType_internal'].value = n;
sbar_col_dropdown.style.display = n != 2 ? "inline-block" : "none";
sbar_icon_dropdown.style.display = n != 2 ? "inline-block" : "none";
sbar_col_dropdown.style.display = n < 2 ? "inline-block" : "none";
sbar_icon_dropdown.style.display = n < 2 ? "inline-block" : "none";
window.sbarType.style.display = 'none';
}

Expand Down Expand Up @@ -1525,14 +1525,14 @@
window.sbarShow_dropdown.innerHTML = sbarShowLabels[ppt['sbarShow_internal'].value];
for (i = 0; i < 3; i++) {window.sbarShow.insertAdjacentHTML('beforeend', '<a onclick="setSbarShow(' + i + ');">'+sbarShowLabels[i]+'</a>');}
window.sbarType_dropdown.innerHTML = sbarTypeLabels[ppt['sbarType_internal'].value];
for (i = 0; i < 3; i++) {window.sbarType.insertAdjacentHTML('beforeend', '<a onclick="setsbarType(' + i + ');">'+sbarTypeLabels[i]+'</a>');}
for (i = 0; i < 4; i++) {window.sbarType.insertAdjacentHTML('beforeend', '<a onclick="setsbarType(' + i + ');">'+sbarTypeLabels[i]+'</a>');}
window.sbarCol_dropdown.innerHTML = sbarColLabels[ppt['sbarCol_internal'].value];
for (i = 0; i < 2; i++) {window.sbarCol.insertAdjacentHTML('beforeend', '<a onclick="setSbarCol(' + i + ');">'+sbarColLabels[i]+'</a>');}
sbar_col_dropdown.style.display = ppt['sbarType_internal'].value != 2 ? "inline-block" : "none";
sbar_col_dropdown.style.display = ppt['sbarType_internal'].value < 2 ? "inline-block" : "none";
window.sbarIcon_dropdown.innerHTML = sbarIconLabels[ppt['sbarButType_internal'].value];
for (i = 0; i < 3; i++) {window.sbarIcon.insertAdjacentHTML('beforeend', '<a onclick="setSbarIcon(' + i + ');">'+sbarIconLabels[i]+'</a>');}
sbar_icon_dropdown.style.display = ppt['sbarType_internal'].value != 2 ? "inline-block" : "none";
for (i = 0; i < 3; i++) {window.scrolling.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="scroll_checkbox'+i+'" name="behaviour_checkbox" style="'+cbox+'" type="checkbox" /><label for="scroll_checkbox'+i+'" class="checkbox_label">'+scrollLabels[i]+'</label></div>');}
sbar_icon_dropdown.style.display = ppt['sbarType_internal'].value < 2 ? "inline-block" : "none";
for (i = 0; i < 4; i++) {window.scrolling.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="scroll_checkbox'+i+'" name="behaviour_checkbox" style="'+cbox+'" type="checkbox" /><label for="scroll_checkbox'+i+'" class="checkbox_label">'+scrollLabels[i]+'</label></div>');}
for (i = 0; i < 2; i++) {window.fall_back.insertAdjacentHTML('beforeend', '<div class="input_cnt5"><input id="fallback_container'+i+'" name="behaviour_input" class="input54" /><label for="fallback_container'+i+'" class="inp_label2">'+fallbackLabels[i]+'</label></div>');}

window.overlay_dropdown.innerHTML = overlayLabels[ppt['typeOverlay_internal'].value];
Expand Down Expand Up @@ -1672,8 +1672,8 @@
i = 8; window.rowStripes.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Row stripes</label></div>');
i = 9; window.lineDividers.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Lines</label></div>');
i = 10; window.fieldWidth.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="nameWidth_container'+i+'" name="textreader_input" class="input2" /><label for="nameWidth_container'+i+'" class="inp_label2">Name column: width % (0 = auto)</label></div>');
i = 11; window.npVCenter.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Vertical Center</label></div>');
i = 12; window.npHCenter.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Horizontal Center</label></div>');
i = 11; window.npVCenter.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Vertical center</label></div>');
i = 12; window.npHCenter.insertAdjacentHTML('beforeend', '<div class="input_cnt2"><input id="cusTxt_checkbox'+i+'" name="textreader_checkbox" style="'+cbox+'" type="checkbox" /><label for="cusTxt_checkbox'+i+'" class="checkbox_label">Horizontal center</label></div>');
}

function setCustom() {
Expand Down Expand Up @@ -1828,6 +1828,7 @@
window.imgSeekerDots2.parentNode.disabled = disabled2;
window.imgSeekerDots3.parentNode.disabled = disabled2;
window.seekerNA.innerHTML = ppt['imgSeekerDisabled_internal'].value ? (ppt['filmStripOverlay_internal'].value ? "<i>Grayed items items N/A with filmstrip overlay of image area</i>" : "<i>Seeker & counter N/A with current overlay metrics</i>") : "";
window.scroll_checkbox1.parentNode.disabled = ppt['sbarType_internal'].value == 2;
window.lyricsScrollTimeMax.style.display = ppt['lyricsScrollMaxMethod_internal'].value == 0 ? "none" : "block";
window.lyricsScrollTimeAvg.style.display = ppt['lyricsScrollMaxMethod_internal'].value == 1 ? "none" : "block";
document.getElementById('ratingTextName').style.display = ppt['star_internal'].value ? "block" : "none";
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if (typeof my_utils === 'undefined') include('utils.js');

let isRadioStreamParser = false;
const loadAsync = window.GetProperty('Load Biography Asynchronously', true);
const loadAsync = false; // window.GetProperty('Load Biography Asynchronously', true); // changed to false: issue on loading fth with many panels

async function readFiles(files) {
for (const file of files) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"id": "{BA9557CE-7B4B-4E0E-9373-99F511E81252}",
"name": "Biography",
"shouldGrabFocus": true,
"version": "1.4.1"
"version": "1.4.2"
}
Loading

0 comments on commit 4ca106b

Please sign in to comment.