Hi Team,
Two for the scripting wishlist:
1) A player.preQueueAdded or something like that, which sets a user scriptfunction called before any track is queued. If the userfunc returns false, the track will not be queued.
This gives support both fancy queueing messages and and for additional tests before queueing like for creditcounts used depending on song characteristics.
2) An API to detect if a given URL is a karaoke track.
SilverEagle
Wishlist: pre-queueing hook & karaoke detect
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Wishlist: pre-queueing hook & karaoke detect
Hello SilverEagle,
sth. like preQueueAdded sounds useful, we will value your idea.
Regarding point 2) - well, for now, it should be possible if a *.cdg or *.lrc file exists beside the *.mp3 file.
Best regards,
Your Silverjuke-Team
sth. like preQueueAdded sounds useful, we will value your idea.
Regarding point 2) - well, for now, it should be possible if a *.cdg or *.lrc file exists beside the *.mp3 file.
Best regards,
Your Silverjuke-Team
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Wishlist: pre-queueing hook & karaoke detect
Service-Team wrote:
> Regarding point 2) - well, for now, it should be
> possible if a *.cdg or *.lrc file exists beside
> the *.mp3 file.
I already went that route once. What I forgot to mention in my opening post, is that I'd like to have it implemented in such a way that it is also possible to incorporate it in a musicsearch.
I seems to me karaoke can be a _very_ important criteria for a party-music selection. I know you can put all karaoke tracks together in a seperate part of a directorytree and base the music selection on partial filename, but seeing there is already an unused karaoke field in the database, why not make it a bit more formal.
SilverEagle
> Regarding point 2) - well, for now, it should be
> possible if a *.cdg or *.lrc file exists beside
> the *.mp3 file.
I already went that route once. What I forgot to mention in my opening post, is that I'd like to have it implemented in such a way that it is also possible to incorporate it in a musicsearch.
I seems to me karaoke can be a _very_ important criteria for a party-music selection. I know you can put all karaoke tracks together in a seperate part of a directorytree and base the music selection on partial filename, but seeing there is already an unused karaoke field in the database, why not make it a bit more formal.
SilverEagle
-
- Posts: 42
- Joined: 24. Mar 11, 22:38 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Wishlist: pre-queueing hook & karaoke detect
This would be wonderful!