analogcode / Swift-Radio-Pro

Professional Radio Station App for iOS!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recently played

mannyd209 opened this issue · comments

Is there a way to possibly get the recently played tracks of a station? I did some digging and found this. Don’t know if this would do it. https://stackoverflow.com/questions/36267549/last-heard-songs-swift

To my knowledge, you would need to get this information from the station. Some radio stations keep a feed of their recently played songs. The other alternative would be to live monitor the radio station to generate a list. Which would take a lot of bandwidth.

@analogcode Myself along with my Program Director both run the stations ourselves so I guess the info would come from us. I am talking with our streaming service company now to see if they have a database that stores our recently played songs so that I can pull from that. I'll report back soon.

@analogcode I found the json links for the 30 most recently played tracks for each station. I have 4 stations. I've been experimenting with the json info and UItableViews but I can't quite get the info into my cells. I also can't figure out how to have the correct recently played list attached to it's respective station since I have 4 different stations. Any help would be greatly appreciated. (I'm just wanting to use the song title, song artist & song cover.) Here is the link to my JSON for 1 of my stations: Link

@analogcode I added the JSON link to each stations Long Description in the local JSON data file. Now if I can just pull that into the now playing view controller and attach it to a button.

Sent with GitHawk