libretime/legacy/public/js/airtime
nosbig 203c927554
feat: add flac support to Web player (#3128)
### Description

Added support for previewing FLAC files in the web interface, provided
in #509 by marmotte32 on Github in the comments for this issue.

I have tested this against a script-installed copy of 4.2.0, and FLAC
preview is working, although auto-play isn't. I haven't tested to
confirm if this behavior matches MP3 and OGG uploads.

**This is a new feature**:

_Do the changes in this PR implement a new feature?_

**I have updated the documentation to reflect these changes**:

No changes needed; this bug is a missing file format in preview, and it
requires no updates to the documentation.

### Testing Notes

**What I did:**

I installed a LibreTime 4.2.0 system using the default installation
script against a fully-updated, brand new Debian 11 system. I logged
into the web interface, uploaded some FLAC files, and attempted to
preview them. They failed to preview.

I then replaced the preview_jplayer.js file with the contents in this PR
and then refreshed the page. I was able to preview the FLAC files and
hear the results in my local browser audio output.

**How you can replicate my testing:**

Perform the same steps above, or replace the same file in the
libretime_legacy_1 docker image to see the same results.

### **Links**

Closes: #509

---------

Co-authored-by: Kyle Robbertze <kyle@paddatrapper.com>
2025-01-10 15:46:18 +00:00
..
audiopreview feat: add flac support to Web player (#3128) 2025-01-10 15:46:18 +00:00
buttons style(legacy): format (#2039) 2022-08-10 13:38:19 +02:00
common chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
dashboard chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
library feat(legacy): show filename and size on edit page and add filename datatable column (#3083) 2024-10-13 08:45:54 +01:00
listenerstat chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
login style(legacy): format (#2039) 2022-08-10 13:38:19 +02:00
nowplaying chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
player chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
playlist feat(legacy): add filename block criteria (#3015) 2024-06-22 11:51:59 +02:00
playouthistory chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
preferences chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
schedule chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
showbuilder chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
status chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
tracktype fix(legacy): allow updating track types code (#2955) 2024-02-18 19:10:30 +01:00
user chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
utilities chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
widgets chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614) 2023-07-06 21:39:05 +02:00
airtime_bootstrap.js style(legacy): format (#2039) 2022-08-10 13:38:19 +02:00