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.
Music Request Tool
- 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
- 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
-
- The Music Request dialog.
- Music Request.jpg (16.37 KiB) Viewed 4743 times
-
- 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