crohrer / spotifyradioplaylist Goto Github PK
View Code? Open in Web Editor NEWGet the latest tracks from a radio station and put them on a spotify playlist
Home Page: https://crohrer.github.io/spotifyRadioPlaylist/
License: MIT License
Get the latest tracks from a radio station and put them on a spotify playlist
Home Page: https://crohrer.github.io/spotifyRadioPlaylist/
License: MIT License
The Radio Nova trackservice sometimes outputs duplicates:
To handle this, the result from trackservice should be checked for duplicates
If I try to import the titles from a radio station, not all the titles will get added.
"radioTrackserviceUrl": "http://www.eldo.lu/music/charts/chartbreaker/",
"radioEntrySelector": "div.unit",
"radioTitleSelector": "div.u2>h2",
"radioArtistSelector": "div.u2>h3",
"searchLinear": false,
Debug: the track array from radiocrawler.js is filled up with all the titles, seems that there is a problem in spotifySearch.searchTracks(tracks) but I did not find out why some results are missing. all the titles are available if I search for them manualy on spotify
Add config option: genreBlacklist for filtering search results by genre (if Spotify API has this in response data)
would be creat if I could define in config.json the max nbr of elements.
If the max is reached the oldest titles should get removed.
Sites like these: http://www.fipradio.fr/archives-antenne use AJAX to display track information. This doesn't work with "cheerio". PhantomJS might be a better Solution to also capture infos from AJAX.
Add the possibility to add multiple sources and multiple playlist to congig.json
Each time the script finished updating the playlist, it would be great to update the title of the playlist and add the current date/time.
Add the the possibility to define a "chart mode" in config.json.
Chart mode should import the charts from a station website like the last tracks, but should first emplty a playlist than add the songs.
Hello,
I get the following error:
no accessToken found
/Users/sven/spotifyRadioPlaylist/spotifyOAuth.js:50
oAuth.refresh();
^
ReferenceError: oAuth is not defined
can you help me how to solve this.
br,
pim.
There might be a limit at 10,000 Songs per Playlist. It surely takes a long time to reach that, but maybe the script could handle this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.