Music Request Tool

Ready-to-use scripts, modules and plugins for Silverjuke.
[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
User avatar
bertkessels
Posts: 15
Joined: 6. Nov 05, 14:05
[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

Music Request Tool

Postby bertkessels » 26. Nov 11, 00:31

Inspired by munsing's Song Request Form here's another script for recording requests for the music library.
All requests are appended to a text file "MusicRequests.txt" in the current Silverjuke directory.

The script opens a dialog for requesting music for tracks, albums and/or artists. A button is added for listing all current requests.
Provides additional functionality for newsletter subscription requests.
Asks for user confirmation if the requested music is already found in the library.

Installs as 'Request...' on the tool menu.

Exported function addRequest can be activated by a button in a skin xml file, e.g.

<button src="request.png" x="53" y="100%-35" srcindex="0"
target="layout:defaulttm" tooltip="Add Music Request"
onclick="program.callExported('addRequest'); return true;"/>

An example skin is added as attachment.
Attachments
music_request_tool.sj
Version 1.0 of the Music Request Tool.
(6.08 KiB) Downloaded 384 times
old-style-jukebox-1.50.sjs
Added a Request button in this skin (default mode and kiosk mode). See main.xml (within this zip) for more details.
(380.2 KiB) Downloaded 345 times
Music Request.jpg
The Music Request dialog.
Music Request.jpg (16.37 KiB) Viewed 4743 times
Music Requests.jpg
List of Music Request dialog.
Music Requests.jpg (20.68 KiB) Viewed 4743 times

[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
[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
[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

Return to “Extensions”