Closed Zalatis closed 7 years ago
@Zalatis Your PHP appears to be configured incorrectly. Make sure to install PHP and the PHP mod for apache. After doing that, make sure to restart apache.
Ok, now I just have a problem with the player and the song name Did I need to put the ID of bots anywhere ?
@Zalatis Double check your config.php file. It appears that the UUID of the bot isn't set. Obtain the UUID from your instance settings. If this doesn't work, please paste your config.php. Make sure to remove any personal information/passwords.
Done, got sound now but no image & also a problem under the player Really thanks for your support ! :D
@Zalatis No problem ;) I see an image on the "Michel" instance, but not on the "Jacquie" one. Some songs won't have an image if there isn't a youtube link or thumbnail in their metadata. I think I see what you mean under the player. I cleared my cache/cookies and it went away.
Can we also put an other default image for the player when it's not a youtube link ?
@Zalatis The default file is located at resources/unknownimg.png in your SinusBot directory. You should be able to upload your own file there if you want.
I might add a config option in the future.
It's ok it works, I go found an other image and that's all :) Thanks for your support once again and have a good day/night :)
No problem.
Can we also use the link look like : http://sinusbot.zalati.fr:8101/api/v1/bot/i/xxxxx Because sometimes it says "Forbidden"
@Zalatis That's the source of the stream that this player uses from SinusBot's API (/api/v1/bot/i/:instanceId/stream/:token
). Unfortunately, the token expires after it's used/after some time has passed. If you reload the player it will get a new token and stream url. Currently, you'll have to do this whenever the player freezes. I plan to improve this in the future.
@Zalatis This problem should be resolved in v1.1 as of commit 6dab664. There's also a reload button if it doesn't trigger automatically. It's currently on the dev branch.
Also, related to this issue, v1.1 has a config option to change the default image.
When I put all of your folder and when it's configure I got this : http://sinusbot.zalati.fr/