Skip to content

Commit

Permalink
Fix: do not quote added and last-modified
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Jul 14, 2024
1 parent 1c1bc66 commit d6e8901
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@ m3u_to_json() {
then
#enforce bitrate value
[ -z "$VALUE" ] && VALUE="0"
elif [ "$KEY" = "ADDED" ] || [ "$KEY" = "LASTMODIFIED" ]
then
[ -z "$VALUE" ] && VALUE="-1"
else
#VALUE=$(jq -n --arg value "$VALUE" '$value')
VALUE=$(json_quote "$VALUE")
Expand Down
2 changes: 1 addition & 1 deletion docs/db/index/countries.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["Argentina","Australia","Austria","Bahamas","Belgium","Bermuda","Bolivia","Brazil","Canada","Chile","China","Colombia","Costa Rica","Cuba","Czech Republic","Denmark","Estonia","France","Germany","Ghana","Greece","Hungary","India","Israel","Italy","Japan","Korea, Democratic People's Republic Of","Kyrgyzstan","Lithuania","Luxembourg","Malaysia","Netherlands","New Zealand","Nigeria","Poland","Portugal","Republica Dominicana","Russia","Spain","Sweden","Switzerland","Syria","The Netherlands","USA","Ukraine","United Kingdom","United States","Vietnam","Wales"]
["Argentina","Australia","Austria","Bahamas","Belgium","Bermuda","Bolivia","Brazil","Canada","Chile","China","Colombia","Costa Rica","Cuba","Czech Republic","Denmark","Estonia","France","Germany","Ghana","Greece","Hungary","India","Israel","Italy","Japan","Korea, Democratic People's Republic Of","Kyrgyzstan","Lithuania","Luxembourg","Malaysia","Netherlands","New Zealand","Nigeria","Poland","Portugal","Republica Dominicana","Russia","Spain","Sweden","Switzerland","Syria","The Netherlands","Ukraine","United Kingdom","United States","USA","Vietnam","Wales"]
Binary file modified docs/db/index/countries.min.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/genres.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["2000's","60's","70's","80's","90's","Acoustic","Adult","Adult Contemporary","AfroHouse","AfroJazz","Afrobeat","Ambient","Americana Roots Music","Anime","Anime Groove","Archive","Atmospheric","Atmospheric Texture","Avantgarde","Bachelor Pad","Baladas","Baroque","Bass","Bebop","Bhangra","Big Band","Black Metal","Blues","Bollywood","Bop","Bossanova","Brazilian Music","Breakbeat","Britpop","Cajun","Canada","Carnatic","Catholic","Celtic","Charts","Children","Chill Out","City Pop","Classic Hits","Classic Rock","Classical","Classical Music","Club","College Radio","Combos","Commercial","Community","Community Radio","Contemporary","Contemporary Jazz","Cool Jazz","Corse","Country","Cover Songs","Culture","Cumbia","Current Affairs","DJ Mixes","Dance","Dancehall","Debate","Deep","Deep Ambient","Deep Bass","Deep House","Deep Tech","Deportes","Desi-Influenced Asian","Digitally Affected Analog Rock","Disco","Discussion","Down-Tempo","Drum'n'Bass","Dub","Dubstep","Easy Listening","Easy-Tempo","Eclectic","Education","Educational","Eighties","Electro-Acoustic","Electro-Pop","Electronic","Entertainment","Entretenimiento","Entrevistas","Ethnic","Evergreens","Exotica","Experimental","Fado","Fight","Flashback","Flim","Folk","Folklore","Football","Free Jazz","Freeform","Funk","Fusion","Future Funk","Future Soul","Game","Garage","Garage Rock","General","German Rap","Golden Oldies","Gospel","Gothic","Grime","Groove","Hard Bop","Hard Drums","Hard Rock","Hard Trance","Hardcore","Heavy Metal","Hebrew Pop","Hip-Hop","House","IDM","Independent","Independent Music","Indian Classical","Indian Instrumental","Indie","Indie Folk","Indie Pop","Indie Rock","Indigenous","Industrial","Information","Instrumental","Instrumental Hiphop","International","Interviews","J-pop","J-rock","Jazz","Jeebanmukhi","Journalism","Juke","Jungle","Jungle Trap","Kids","Laidback","Latin","Latin Hits","Latino","Liquid Trap","Lithuanian","Live","Lo-Fi","Local News","Lokageeti","Lounge","Lullabies","MPB","Mainstream","Mainstream Jazz","Mashup","Math Rock","Mediaeval","Mediaset","Meditation","Mellow Rock","Mellow Vocals Mostly Female","Merengue","Metal","Metalcore","Mid-Tempo","Mild Pop","Minimal","Minimal Beats","Modern","Modern Big Band","Modern Rock","Montreal","Mp3","Musica Cristiana","Música Latina","Neo-Soul","New Age","New Country","New Jazz","New Wave","News","News Talk","News. MPB","Non-commercial","Non-profit","Noticias","Noticiero","Notícias","Nu Disco","Nu Grooves","Nu Metal","OST","Oldies","Oldschool","Opera","Pagode","Paranormal","Party","Past Time Favorites","Past Time Favs","Patriotic","Political Talk","Politics","Pop","Pop Rock","Pop-Rock","Post Punk","Post-Metal","Post-Punk","Post-Rock","Post-bop","Progressive","Progressive House","Progressive Rock","Progressive Trance","Psy","Psych Rock","Psytrance","Public Radio","Punk","R'n'B","Rabindrasangeet","Radio Universitaria","Rap","Rave","Reggae","Regional","Releases","Renaissance","Requests","Rock","Rockabilly","Rocksteady Classic","Romantique","Romántico","Roots Music","Roots Reggae","Salsa","Samba","Schlager Music","Scifi","Sertanejo","Shoegaze","Ska","Smooth Jazz","Smooth Lounge","Soccer","Soft Rock","Soul","Soundscape","Soundtrack","Southern Rock","Space Music","Special Events","Spiritual","Spoken Word","Sport","Straight-ahead","Student Radio","Synth-Pop","Talk","Tamil Movie Songs","Tamil Radio","Tech Trance","Techno","Tiki","Top 40","Top Hits","Trance","Trancestep","Trip-Hop","Tropical/Urbana","Tv News","Uk Funky","Underground","University","University Radio","Uplifting Trance","Urbain","Urbana","Vaporwave","Variedades","Variety","Various","Vintage Music","Vocal","Vocal Trance","Walm","Weather","World Music","World News","Yoga","Youth"]
["2000's","60's","70's","80's","90's","Acoustic","Adult","Adult Contemporary","Afrobeat","AfroHouse","AfroJazz","Ambient","Americana Roots Music","Anime","Anime Groove","Archive","Atmospheric","Atmospheric Texture","Avantgarde","Bachelor Pad","Baladas","Baroque","Bass","Bebop","Bhangra","Big Band","Black Metal","Blues","Bollywood","Bop","Bossanova","Brazilian Music","Breakbeat","Britpop","Cajun","Canada","Carnatic","Catholic","Celtic","Charts","Children","Chill Out","City Pop","Classical","Classical Music","Classic Hits","Classic Rock","Club","College Radio","Combos","Commercial","Community","Community Radio","Contemporary","Contemporary Jazz","Cool Jazz","Corse","Country","Cover Songs","Culture","Cumbia","Current Affairs","Dance","Dancehall","Debate","Deep","Deep Ambient","Deep Bass","Deep House","Deep Tech","Deportes","Desi-Influenced Asian","Digitally Affected Analog Rock","Disco","Discussion","DJ Mixes","Down-Tempo","Drum'n'Bass","Dub","Dubstep","Easy Listening","Easy-Tempo","Eclectic","Education","Educational","Eighties","Electro-Acoustic","Electronic","Electro-Pop","Entertainment","Entretenimiento","Entrevistas","Ethnic","Evergreens","Exotica","Experimental","Fado","Fight","Flashback","Flim","Folk","Folklore","Football","Freeform","Free Jazz","Funk","Fusion","Future Funk","Future Soul","Game","Garage","Garage Rock","General","German Rap","Golden Oldies","Gospel","Gothic","Grime","Groove","Hard Bop","Hardcore","Hard Drums","Hard Rock","Hard Trance","Heavy Metal","Hebrew Pop","Hip-Hop","House","IDM","Independent","Independent Music","Indian Classical","Indian Instrumental","Indie","Indie Folk","Indie Pop","Indie Rock","Indigenous","Industrial","Information","Instrumental","Instrumental Hiphop","International","Interviews","Jazz","Jeebanmukhi","Journalism","J-pop","J-rock","Juke","Jungle","Jungle Trap","Kids","Laidback","Latin","Latin Hits","Latino","Liquid Trap","Lithuanian","Live","Local News","Lo-Fi","Lokageeti","Lounge","Lullabies","Mainstream","Mainstream Jazz","Mashup","Math Rock","Mediaeval","Mediaset","Meditation","Mellow Rock","Mellow Vocals Mostly Female","Merengue","Metal","Metalcore","Mid-Tempo","Mild Pop","Minimal","Minimal Beats","Modern","Modern Big Band","Modern Rock","Montreal","Mp3","MPB","Musica Cristiana","Música Latina","Neo-Soul","New Age","New Country","New Jazz","News","News. MPB","News Talk","New Wave","Non-commercial","Non-profit","Noticias","Notícias","Noticiero","Nu Disco","Nu Grooves","Nu Metal","Oldies","Oldschool","Opera","OST","Pagode","Paranormal","Party","Past Time Favorites","Past Time Favs","Patriotic","Political Talk","Politics","Pop","Pop Rock","Pop-Rock","Post-bop","Post-Metal","Post Punk","Post-Punk","Post-Rock","Progressive","Progressive House","Progressive Rock","Progressive Trance","Psy","Psych Rock","Psytrance","Public Radio","Punk","Rabindrasangeet","Radio Universitaria","Rap","Rave","Reggae","Regional","Releases","Renaissance","Requests","R'n'B","Rock","Rockabilly","Rocksteady Classic","Romántico","Romantique","Roots Music","Roots Reggae","Salsa","Samba","Schlager Music","Scifi","Sertanejo","Shoegaze","Ska","Smooth Jazz","Smooth Lounge","Soccer","Soft Rock","Soul","Soundscape","Soundtrack","Southern Rock","Space Music","Special Events","Spiritual","Spoken Word","Sport","Straight-ahead","Student Radio","Synth-Pop","Talk","Tamil Movie Songs","Tamil Radio","Techno","Tech Trance","Tiki","Top 40","Top Hits","Trance","Trancestep","Trip-Hop","Tropical/Urbana","Tv News","Uk Funky","Underground","University","University Radio","Uplifting Trance","Urbain","Urbana","Vaporwave","Variedades","Variety","Various","Vintage Music","Vocal","Vocal Trance","Walm","Weather","World Music","World News","Yoga","Youth"]
Binary file modified docs/db/index/genres.min.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/regions.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Argentina":[],"Australia":[],"Austria":["Vienna"],"Bahamas":["Nassau"],"Belgium":[],"Bermuda":[],"Bolivia":[],"Brazil":["Amazonas","Bahia","Brasilia","Ceará","Espirito Santo","Goiás","Mato Grosso","Minas Gerais","Pará","Pernambuco","Rio De Janeiro","Rio Grande Do Norte","Rio Grande Do Sul","Santa Catarina","São Paulo"],"Canada":["Montreal","Québec"],"Chile":[],"China":[],"Colombia":["Antioquia"],"Costa Rica":[],"Cuba":["Havana/Habana","Minas De Matahambre","Sancti Spíritus"],"Czech Republic":[],"Denmark":[],"Estonia":["Tallinn"],"France":["Corse"],"Germany":["Baden-Württemberg","Bayern","Hesse"],"Ghana":[],"Greece":[],"Hungary":[],"India":["Karnataka","Maharashtra","Mangalore","Tamilnadu"],"Israel":[],"Italy":["Roma","Salerno"],"Japan":[],"Korea, Democratic People's Republic Of":["Pyongyang"],"Kyrgyzstan":[],"Lithuania":[],"Luxembourg":[],"Malaysia":["Kuala Lumpur"],"Netherlands":[],"New Zealand":["Dunedin"],"Nigeria":[],"Poland":[],"Portugal":["Lisboa","Lisbon"],"Republica Dominicana":["San Pedro De Macoris"],"Russia":[],"Spain":["Valencia"],"Sweden":[],"Switzerland":[],"Syria":[],"The Netherlands":[],"USA":["Michigan"],"Ukraine":[],"United Kingdom":[],"United States":["North Carolina","Ohio"],"Vietnam":["Ho Chi Minh City"],"Wales":[]}
{"Argentina":[],"Australia":[],"Austria":["Vienna"],"Bahamas":["Nassau"],"Belgium":[],"Bermuda":[],"Bolivia":[],"Brazil":["Amazonas","Bahia","Brasilia","Ceará","Espirito Santo","Goiás","Mato Grosso","Minas Gerais","Pará","Pernambuco","Rio De Janeiro","Rio Grande Do Norte","Rio Grande Do Sul","Santa Catarina","São Paulo"],"Canada":["Montreal","Québec"],"Chile":[],"China":[],"Colombia":["Antioquia"],"Costa Rica":[],"Cuba":["Havana/Habana","Minas De Matahambre","Sancti Spíritus"],"Czech Republic":[],"Denmark":[],"Estonia":["Tallinn"],"France":["Corse"],"Germany":["Baden-Württemberg","Bayern","Hesse"],"Ghana":[],"Greece":[],"Hungary":[],"India":["Karnataka","Maharashtra","Mangalore","Tamilnadu"],"Israel":[],"Italy":["Roma","Salerno"],"Japan":[],"Korea, Democratic People's Republic Of":["Pyongyang"],"Kyrgyzstan":[],"Lithuania":[],"Luxembourg":[],"Malaysia":["Kuala Lumpur"],"Netherlands":[],"New Zealand":["Dunedin"],"Nigeria":[],"Poland":[],"Portugal":["Lisboa","Lisbon"],"Republica Dominicana":["San Pedro De Macoris"],"Russia":[],"Spain":["Valencia"],"Sweden":[],"Switzerland":[],"Syria":[],"The Netherlands":[],"Ukraine":[],"United Kingdom":[],"United States":["North Carolina","Ohio"],"USA":["Michigan"],"Vietnam":["Ho Chi Minh City"],"Wales":[]}
Binary file modified docs/db/index/regions.min.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/states.min.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Argentina":[],"Australia":[],"Austria":["Vienna"],"Bahamas":["Nassau"],"Belgium":[],"Bermuda":[],"Bolivia":[],"Brazil":["Amazonas","Bahia","Brasilia","Ceará","Espirito Santo","Goiás","Mato Grosso","Minas Gerais","Pará","Pernambuco","Rio De Janeiro","Rio Grande Do Norte","Rio Grande Do Sul","Santa Catarina","São Paulo"],"Canada":["Montreal","Québec"],"Chile":[],"China":[],"Colombia":["Antioquia"],"Costa Rica":[],"Cuba":["Havana/Habana","Minas De Matahambre","Sancti Spíritus"],"Czech Republic":[],"Denmark":[],"Estonia":["Tallinn"],"France":["Corse"],"Germany":["Baden-Württemberg","Bayern","Hesse"],"Ghana":[],"Greece":[],"Hungary":[],"India":["Karnataka","Maharashtra","Mangalore","Tamilnadu"],"Israel":[],"Italy":["Roma","Salerno"],"Japan":[],"Korea, Democratic People's Republic Of":["Pyongyang"],"Kyrgyzstan":[],"Lithuania":[],"Luxembourg":[],"Malaysia":["Kuala Lumpur"],"Netherlands":[],"New Zealand":["Dunedin"],"Nigeria":[],"Poland":[],"Portugal":["Lisboa","Lisbon"],"Republica Dominicana":["San Pedro De Macoris"],"Russia":[],"Spain":["Valencia"],"Sweden":[],"Switzerland":[],"Syria":[],"The Netherlands":[],"USA":["Michigan"],"Ukraine":[],"United Kingdom":[],"United States":["North Carolina","Ohio"],"Vietnam":["Ho Chi Minh City"],"Wales":[]}
{"Argentina":[],"Australia":[],"Austria":["Vienna"],"Bahamas":["Nassau"],"Belgium":[],"Bermuda":[],"Bolivia":[],"Brazil":["Amazonas","Bahia","Brasilia","Ceará","Espirito Santo","Goiás","Mato Grosso","Minas Gerais","Pará","Pernambuco","Rio De Janeiro","Rio Grande Do Norte","Rio Grande Do Sul","Santa Catarina","São Paulo"],"Canada":["Montreal","Québec"],"Chile":[],"China":[],"Colombia":["Antioquia"],"Costa Rica":[],"Cuba":["Havana/Habana","Minas De Matahambre","Sancti Spíritus"],"Czech Republic":[],"Denmark":[],"Estonia":["Tallinn"],"France":["Corse"],"Germany":["Baden-Württemberg","Bayern","Hesse"],"Ghana":[],"Greece":[],"Hungary":[],"India":["Karnataka","Maharashtra","Mangalore","Tamilnadu"],"Israel":[],"Italy":["Roma","Salerno"],"Japan":[],"Korea, Democratic People's Republic Of":["Pyongyang"],"Kyrgyzstan":[],"Lithuania":[],"Luxembourg":[],"Malaysia":["Kuala Lumpur"],"Netherlands":[],"New Zealand":["Dunedin"],"Nigeria":[],"Poland":[],"Portugal":["Lisboa","Lisbon"],"Republica Dominicana":["San Pedro De Macoris"],"Russia":[],"Spain":["Valencia"],"Sweden":[],"Switzerland":[],"Syria":[],"The Netherlands":[],"Ukraine":[],"United Kingdom":[],"United States":["North Carolina","Ohio"],"USA":["Michigan"],"Vietnam":["Ho Chi Minh City"],"Wales":[]}
Binary file modified docs/db/index/states.min.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/webradiodb-combined.min.js

Large diffs are not rendered by default.

Binary file modified docs/db/index/webradiodb-combined.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/webradiodb-combined.min.json

Large diffs are not rendered by default.

Binary file modified docs/db/index/webradiodb-combined.min.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/db/index/webradios.min.json

Large diffs are not rendered by default.

Binary file modified docs/db/index/webradios.min.json.gz
Binary file not shown.

0 comments on commit d6e8901

Please sign in to comment.