| ================================================
|	Pro Radio Music Player 
|	Changelog
| ================================================

PR.6.2.1 [2023 10 27]
[x] Autoplay improved and ready for production

PR.6.2.0 [2023 08 18]
[x] qtmplayer.js track control adding class "qtmplayer-is-radio" to center time for radios
[x] Fixed player colors in popup (replaced function)
[x] Fixed: last track hidden in mobile popup player (added bottom padding to css if popup class detected)
[x] Fixed: player alignment if the radio icon or cart icon is hidden in customizer (fields.php)

PR.6.1.1 [2023 08 17]
[x] radiofeed.js:343 added format control

PR.6.1.0 [2023 08 04]
[x] Addedd accessibility improvements with aria tags to player
[x] User Agent filter to prevent google indesing song titles as radio title

PR.6.0.1 [2023 07 12]
[x] radiofeed 896 added support for Name index for titles



PR.6.0.0 [2023 06 27]
[X] Merged with V. 4.2.1 Pro Radio branch.
[x] Added Waveform analyzer for static MP3 files
[x] Added new admin interface
[x] Moved settings in main meny bar
[x] Customizer options are applied instantly (no page reload)
[x] Added alternative icon design

========== START MERGE POINT ==================

PR.4.2.1 [2023 06 08]
[x] Added nocache headers to proxy

PR.4.2.0 [2023 05 10]
[x] Display song title on iPhone lock screen
[x] Change page title on song change

PR.4.1.2 [2023 03 06]
[x] Azuracast added proxy option

PR.4.1.1 [2023 02 06]
[x] Added listeners support to Azuracast

PR.4.1.0 [2023 01 12]
[x] Update for PHP 8 compatibility

PR.4.0.5 [2022 12 22]
[x][x] Marquee library loaded externally to prevent duplication
[x][x] Improved scrolling text settings 

PR.4.0.4 [2022 12 18]
[x][x] Marquee effect scroll improved

========== MERGE POINT ==================

PR.5.0.7 [2023 05 22]
[x] part-playlist-podcast.php added control for featured podcast resource URL if is numeric

PR.5.0.6 [2022 11 28]
[x] Stats monthly sum

PR.5.0.3 [2022 10 28]
[x] Added premium control for downloads


PR.5.0.2 [2022 10 25]
[x] Waveform managed for multiple in-page instances of a track

PR.4.0.3 [2022 10 07]
[x] Integration of premium resources for ProRadio User Manager

========== BRANCH POINT ==================


PR.4.0.2 [2022 07 21]
[x] Added function qtmplayer_get_audio_source
[x] Tracklist html formatting udpate (qtmplayer-tracklist.php)


PR.4.0.1 [2022 07 21]
[x] Mobile stream used only below 1200px

PR.4.0.0 [2022 06 21]
[x] Laut.fm removed Jingles from song titles
[x] ADDED Radio Channel stats (listeners and peak listeners) for available radio server types:
- Icecast
- Shoutcast 2
- Sonic Panel

PR.3.9.8 [2022 05 11]
[x] Removed click on cover in popup

PR.3.9.7 [2022 04 27]
[x] Playlist udpate


PR.3.9.6 [2022 04 19]
[x] Support for Sonic Panel DJ


PR.3.9.5 [2022 04 05]
[x] FIX making automated popup non resizable
[x] Fix: if background is transparent, hiding basic controls
[x] Better mobile detection using screen.width
[x] Added support for Sonic Panel server type

PR.3.9.4 [2022 03 23]
[x] FIX duplicated tracklist in audio posts
- inc/func/qtmplayer-replace-audio.php:160 added "'podcast' === get_post_type( $id )""
- inc/func/qtmplayer-replace-audio-block.php:89 added "'podcast' === get_post_type( $id )""

[x] NEW FEATURE: Customizer > Payer > radio > added preload channel

[x] Audio posts fixed cue not working as expected.
Now the file parameter can be passed in the arguments.
- templates/qtmplayer-tracklist.php:39 added "file"
- templates/qtmplayer-tracklist.php:39 removed "$file = false"
- inc/func/qtmplayer-replace-audio.php:155 added "'file' => $file,""

PR.3.9.3 [2022 03 18]
[X] Added support for ICY Metadata forced type

PR.3.9.2 [2022 03 17]
[x] radiofeed.js:392-397 improved auto stats detection with replacement of last instance of /stats instead of any. line

PR.3.9.1 [2022 03 09]
[x] qtmplayer-radiofeed.js:386 added "fd.file.indexOf('/mp3') == -1"

PR.3.9.0 [2022 03 08]
[x] Updates for kirki 4.0

PR.3.8.9 [2022 03 07]
[x] Minor code fixes and optimizations.

PR.3.8.8.2
[x] Fix in assets/js/qtmplayer-radiofeed.js:152

3.8.8 [2022 02 27]
[x] Title removed time from artist info

3.8.7 [2022 02 11]
[x] Improved proxy cache for better performance

3.8.6 [2022 01 25]
[x] Updated minified version of scripts

3.8.5 [2022 01 16]
[x] Fixed double sanitarization in qtmplayer_proxy

3.8.4 [2022 01 14]
[x] qtmplayer-tracklist.php fixed caption output for new podcast cards

Pro.Radio Music Player - Version PR.3.8.3 [2022 01 11]
[x] Added caching to metadata for better performance

Pro.Radio Music Player - Version PR.3.8.1 [2021 12 07]
[x] qtmplyer-tracklist.php:53 fixed ob_get_clean if no playlist is added

Pro.Radio Music Player - Version PR.3.8.0 [2021 11 29]
[x] Added support for https laut.fm links

Pro.Radio Music Player - Version PR.3.7.9 [2021 11 26]
[x] FIXED artist field for radio channels in qtmplayer_create_track_data

Pro.Radio Music Player - Version PR.3.7.8 [2021 11 25]
[x] Airtime removed proxy and switched to jsonp


Pro.Radio Music Player - Version PR.3.7.7 [2021 10 19]
[x] qtmplayer-radiofeed.js - added support for Radio.Co artworks


Pro.Radio Music Player - Version PR.3.7.6.2 [2021 10 04]
[x] qtmplayer.php : 177 function qtmplayer_proxy added "array( 'sslverify' => false, 'timeout' => 60 )" and added error management

Pro.Radio Music Player - Version PR.3.7.6.1 [2021 09 02]
[x] Updated function qtmplayer_get_version for compatibility with Elementor
[x] RadioJar removed contentType: "application/json"

Pro.Radio Music Player - Version PR.3.7.5.1 [2021 08 05]
[x] Jazler - added artwork reading from xml feed


Pro.Radio Music Player - Version PR.3.7.5 [2021 08 04]
[x] PLAYER ADD JAZLER
[x] PLAYER ADD STREAMERR SUPPORT 
[x] Documentation: update RadioBoss documentation
[x] IMPROVED Mobile recognition now performed at browser level via js, better caching compatibility for your website

Pro.Radio Music Player - Version PR.3.7.4 [2021 08 02]
[x] radiofeed.js Radio Boss update for new API version with API key


Pro.Radio Music Player - Version PR.3.7.2 [2021 07 01]
[x] Fixed centering of play icon in donut player 


Pro.Radio Music Player - Version PR.3.7.1 [2021 06 18]
[x] Code updates on qtmplayer.php and radiofeed js

Pro.Radio Music Player - Version PR.3.7.0 [2021 06 16]
[x] qtmplayer-radiofeed.js added debug output
[x] qtmplayer.js:286 // FIX-2021-06-16_01 added fix for song titles not restarting after resuming the same radio channel
[X] qtmplayer.js:293 // FIX-2021-06-16_02 - set volume fix after change track
[x] qtmplayer.js:293 and  228 and 1042 + fields.php and sections.php added starting volume value

Pro.Radio Music Player - Version PR.3.6.7 [2021 06 14]
[x] qtmplayer-radiofeed.js added HTML cleansing for iTunes query

Pro.Radio Music Player - Version PR.3.6.6 [2021 05 25]
[x] Added force cover for https shoutcast with proxy in radiofeed.js line 268

Pro.Radio Music Player - Version PR.3.6.5 [2021 05 06]
[x] Azuracast alternative json structure (channel ID) added


Pro.Radio Music Player - Version PR.3.6.4 [2021 04 29]
[x] Added laut.fm Server Type

Pro.Radio Music Player - Version PR.3.6.3 [2021 04 28]
[x] assets/js/qtmplayer-radiofeed.js 322-324 added json conversion if required
[x] Radiojar checking query in url before adding random parameter


Pro.Radio Music Player - Version PR.3.6.1 [2021 04 14]
[x] Improved Live365 data, use biult-in cover if available


Pro.Radio Music Player - Version PR.3.6.0 [2021 04 13]
[x] Added file qtmplayer-play-circle.php 
[x] Merged functions to create array from
 	- qtmplayer-play-circle.php
 	- part-playlist-radio.php
 	- qtmplayer-play-button.php
 	All now using the new function qtmplayer_create_track_array
[x] Added maxcast support in qtmplayer-radiofeed.js
[x] FIXED instant preload titles for RadioBoss and Maxcast

Pro.Radio Music Player - Version PR.3.5.0 [2021 04 01]
[x] UPDATED inc/func/qtmplayer-replace-audio.php:111 ADDED new metadata fetch


Pro.Radio Music Player - Version PR.3.4.9 [2021 03 23]
[x] Added support for Shoutcast proxy

PR.3.4.8 2021 03 09
[x] Convert old playlists from classic editor in featured playlists from any content

PR.3.4.7 2021 03 02
[x] qtmplayer-radiofeed.js 550 added check if($.qtmplayerRadioFeedObj.qtFeedData.dataType !== 'jsonp'){

PR.3.4.6 2021 02 27
[x] qtmplayer-radiofeed.js added jsonp fallback automatic switch for ShoutCast reader
[x] Icecast feed removed contentType

PR.3.4.5 2021 02 10
[x] Compatibility update for Theme Core: can read Media Files by ID. Required for theme core version 4.1.1

PR.3.4.4 2021 02 05
[x] azuracast alternative feed format support
[x] UTF support removed, error in the feed

PR.3.4.3 2021 01 28
[x] UPDATED qtmplayer-radiofeed.js:455 added UTF8 support in titles


PR.3.4.2 2021 01 24
[x] Added in Customiser Player Settings an option to hide also the back an forward arrows
[x] Better mobile reactivity for iOS on Play button, removed delay/stuck player issue
[x] Added preload caching spinner to let user know the audio is loading


PR.3.4.0 2020 12 30
[x] RadioBoss support added

PR.3.3.9 2020 12 29
[x] azuracast added random parameter to prevent caching
[x] azuracast fomrmatting update

PR.3.3.7 2020 12 28
[x] qtmplayer-play-circle.php added podcast author name fix

PR.3.3.6 2020 12 22
[x] CHANGE qtmplayer-waveform.js drawAudio renamed into qtDrawAudio
[x] CHANGE qtmplayer-waveform.js let change into var to prevent conflicts

PR.3.3.5 2020 12 21
[x] Hidden peaks in admin

PR.3.3.4 2020 12 21
REQUIRES PRO RADIO THEME VERSION 1.5.4
[x] ADDED SecureSystems streaming server
[x] ADDED RadioJar stream model


PR.3.3.3 2020 12 16
[x] Added hidden option
[x] Added function qtmplayer_is_in_popup
[x] Added body class for .qtmplayer-visibility--none
[x] Added function qtmplayer_manage_body_class
[x] Removed function qtmplayer_audio_block_class from qtmplayer-replace-audio-block.php

PR.3.3.2 2020 12 14
[x] qtmplayer.js:893 added control on volume presence if( 0 === c.length )

PR.3.3.1 2020 12 09
[x] WP 5.6 udpates in customizer/kirki-configuration/fields.php

PR.3.3.0 2020 12 02
[x] Added in customizer options to hide playlist and link to page icons

PR.3.2.9.1 2020 11 30
[x] Hidden double volume in popup

PR.3.2.9 2020 11 24
[x] Added volume in popup player desktop
[x] Added Azuracast titles compatibility
[x] Added RadioKiing titles compatibility
[x] Song title split string changed from "-" to " - "

PR.3.2.8 2020 11 18
[x] qtmplayer-play-button.php and qtmplayer-play-cicle.php added better mp3 scan in audio shortcode

PR.3.2.7 2020 10 12
[x] Javascript update


PR.3.2.6 2020 10 09
[x] Added minified scripts option
[x] Removed WebApiPlayer library (not in use)

PR.3.2.5 2020 10 05
[x] Hide volume in player if enabled in header menu

PR.3.2.4 2020 10 01
[x] Song thumbnail fix in qtmplayer.js line 433

PR.3.2.3 2020 09 23
[x] qtmplayer-radiofeed.js added control for channel 0 icecast

3.2.2 2020 07 22
[x] qtmplayer-waveform.js moved webaudio in the click function

3.2.1 2020 07 13
[x] Fixed $classes in qtmplayer-interface.php
[x] Fixed part-post-playlist.php array key 0 in $array_param

3.2.0 2020 06 19
[x] Restored add_filter( 'the_content', 'qtmplayer_audio_block', 1 ); in qtmplayer-replace-audio-block.php

3.1.9.1 2020 06 06
[] qtmplayer-replace-audio-block.php

3.1.9 2020 05 27
[X] __PLAYLIST.PHP moved radio first to initialize the titles widget
[x] Added marquee for long titles

3.1.8 2020 04 27
[x] CSS removed max width for controls and playlist in desktop
[x] PHP removed error on cover URL in play button and play circle

3.1.7 2020 04 26
[x] playlist remove shop icon if not specified
[x] Playlist added podcasts

3.1.6
[x] Waveform withn try catch 
[x] Moved feedtitle under deploy not under play

3.1.5
[x] Added "Menu player" template

3.1.4
[x] SASS + CSS fix height breaking menu (removed wrong css)
[x] Save audio peaks to database as song attributes when played the first time (via ajax)


3.1.3 [2020 March 27]
[x] Added song cover option

3.1.2 [2020 March 26]
[x] Added PowerPress support to podcasts

3.1.1
[x] Fixed play button function (moved ob_start)


3.1.0
[x] play circle removed reset_postdata

3.0.9 [2020 jan 07]
[x] Added support for play circle for radio channels

3.0.8 [2020 Jan 03]
[x] ADDED mobile stream URL option in part-playlist-radio.php
[x] CHANGED radio channel control from positive to negative (exclude form playlist instead of include, so channels are incluedd by default)

3.0.7 [2019 December 31]
[X] ADDED qtmplayer-play-button.php function to play any resource as button

3.0.6 [2019 December 30]
[x] Added design options

3.0.5 [2019 December 29]
[x] Added waveform [qtmplayer-waveform.js]

3.0.4 [2019 December 29]
[x] added RadioFeed (qtmplayer-radiofeed.js)
[x] Fixed icecast feed data
[x] Updated custom fields for proxy with each single channel instead of global variable
[x] Removed useless code from the radiofeed.js code
[x] Full stop radio channel when pausing
[x] qtmplayer.js optimized data object for song entity
[x] qtmplayer-smpo.js added full stop function

3.0.3 [2019 December 27]
[x] play-circle-php added support for proradio podcasts

3.0.2 [2019 December 23]
[x] rewrite existing playlist funcitons to use existing track creation function

3.0.1 [2019 December 21]
* ADDED FUNCTION create single track
* ADDED SUPPORT for existing podcasts tracklist with meta field

3.0.0 [2019 December 11]
[x] NEW BRANCH

1.1.5 [2019 December 04]
[x] FIXED podcast length above 2 hours now well supported
[x] ADDED visual effect while buffering

1.1.4 [2019 Ocrober 21]
[x] FIXED line break mp3 url recognition issue in file field in play-circle.php, play-btn.php and qtmplayer-tracklist.php

1.1.3 [2019 June 30]
[x] FIXED bug in qtmplayer-tracklist.php, wrong bracket position causing content overflow in post

1.1.2 [2019 June 18]
[x] Added traklist skip
[x] Fix duplicated track when both block and enclosure are in place

1.1.0 [2019 June 17]
[x] ADDED template podcast-tracklist.php
[x] qtmplayer.js updated

1.0.7 [2019 June 02]
[x] Fixed played track icon change

1.0.6 [2019 June 01]
[x] Fixed duplicated tracks in playlist

1.0.5 [2019 May 22]
[x] fixed track switch qtmplayer.js:574

1.0.4 [2019 March 14]
[x] templates/Play-circle.php better enclosure recognition
[x] inc/funct/qtmplayer-replace-audio.php better enclosure recognition

1.0.3
[x] added download link function

1.0.2
[x] force download mp3 download url

1.0.1
[x] Top left close button mobile