TIMAI2
September 2, 2024, 3:49pm
22
I have asked the same question now four times!
It appears that in the rest of your blocks coding in your app, you have no way of knowing where a song is in the queue / playlist etc.
Until we know this it is difficult to proceed. The only thing we can do is tell the user that their song request has been received.
this is what i'm trying to explain but it'a difficult with autism
how or do you have any ideas how i can accomplish this
isn't there away i can accomplish telling users when there song is ready to be aired
TIMAI2
September 2, 2024, 3:55pm
24
Join the club
You said you were trying to avoid having a playlist, but it seems that one will be needed in order to fulfil your requirements. Work on that in your app, then come back when you have something.
1 Like
so you have autism as well
yes i'm trying to accomplish this without a playlist
TIMAI2
September 2, 2024, 3:59pm
26
not far up the spectrum, but nevertheless on it. Anyway, we are going off topic!
3 Likes
Ok I'll use a playlist .CSV for this instance
How can I do this with a database TinyDB or firebase?
TIMAI2
September 2, 2024, 8:46pm
30
Well, if the playlist applies to all users, it needs to be accessible to all users, so you can use the online "database" of your preference: CloudDB (own server),Firebase, Google Sheets, MySql (own server) etc.
How are you capturing this playlist, and from where ?
Thinking Google sheets to have all
The songs on(I can get it from playitlive)
Upload the .CSV file into MIT using firebase
TIMAI2
September 2, 2024, 8:50pm
32
One step at a time.
Work out how you get the playlist from "playitlive" and then how this will be added and maintained on google sheets.
As an aside, how does a song request get added to the playlist?
i've got my csv from playitlive i've got to have a database
to store the csv in
if say using firebase i can keep, removing and adding csv if and when
TIMAI2:
How ?
went into playitlive > tracks> manage tracks in the left or right hand corner there's an option for csv
TIMAI2
September 2, 2024, 9:11pm
36
So you have to do it manually ? That is not going to work well. Anyway to get the playlist csv programmatically, e.g. by http get request, an api ?
TIMAI2
September 2, 2024, 9:26pm
38
I have never used playitlive. Please fully read my responses, not just the first bit, I asked two questions.
think i have to do it manually yea with a database, sheets i don't know don't quote me on this but think i have to use get request
TIMAI2
September 2, 2024, 9:36pm
40
What about the metadata coming from the feed itself, that must be giving you, as a minimum, the current playing song (and thus you can build a what has been played list) ?
TIMAI2
September 2, 2024, 9:41pm
41
ok so i can use the API as a get or post request
so i can most probably use the api in sheets