Alle Foren » Completed Scripts and Modules » Play on Time Script

Seite 1 von 1

Nachricht

Play on Time Script

bertkessels im Dez 07 * · Antworten

Hi,

Here's a script for playing tracks on a certain date and time.
Up to four schedules can be defined and are stored in the ini file.
In each schedule you can specify:
- name of the schedule (name is shown for a few sec when playing starts)
- start date/time
- play it once or repeat it each hour, day or week
- stop playing yes/no after the track has played (switches autoplay off)
- the track/url to be played

Each schedules can be switched on or off.

Some examples:
- play "happy new year" at exactly 00:00 on dec 31th
- play "late again" daily at closing time 02:00 and then stop playing
- play "monday monday" weekly at moday 9:00

Hope you find it useful.
Please let me know your remarks or suggestions for improvements.

Cheers,
Bert

17 Jan 2010
Latest version added:
- bug: bug in auto-adjusting next play date/time fixed;
- new: play date and play time can now be entered separately;
- new: allows dates in the past for all schedules (gives warning for schedule Once);
14 feb 2010
- bug: fix in saving/loading config settings

PlayOnTime Dialog.jpg

Download play_on_time_tool.sj
Install this script by placing it in the SJ directory.
SJ loads it at startup. (9.98 KB, Heruntergeladen: 312 mal)

Download play_on_time_tool.sj
Latest version (february 2010) with bug fix for adjust next play date/time and new dialog. (12.37 KB, Heruntergeladen: 194 mal)


Re: Play on Time Script

bertkessels im Jan 08 * · Antworten

Here's a new version of the play_on_time_tool.sj with some small improvements:

- active schedules are indicated (*)
- reset of all schedules asks for confirmation
- warning "next play time is in the past" fixed

Note that the stop after this track option does not work properly with versions before 1.52 (which is the current beta version of Silverjuke).

Cheers,
Bert

Download play_on_time_tool.sj
(10.38 KB, Heruntergeladen: 296 mal)

Download play_on_time_tool.sj
Latest version (december 2008).
Fixes use of PlayOnTime in combination with autoPlay. (12.07 KB, Heruntergeladen: 167 mal)


Re: Play on Time Script

Gast im Jan 08 · Antworten

The script is great and *almost what I have been eagerly awaiting someone to create. Instead of just calling a certain song to play is there any method that it can be used to call up different play lists at different times of the day/days of the week?

When I saw this posting I immediately downloaded it and tried it out only to find that when I have it reference a playlist instead of an mp3 file it errors and says it cannot open the file.

This feature would be awesome for automating the music I play without needing employee interaction. Basically I need to switch between different types of music for day or evening or late evening and am currently doing it with various playlists set to heavy shuffle so that each day is different, but have to manually initialize the playlists at the different times of the day.

Thank you so much.


Re: Play on Time Script

ScAtMaN im Feb 08 · Antworten

Just what I'm looking for too.

Does anyone have a solution to this?


Re: Play on Time Script

mach im Feb 08 · Antworten

+1
I would contribute for it


Re: Play on Time Script

Werner im Feb 08 · Antworten

Thank You, this work great .

Very Happy


Re: Play on Time Script

athlone im März 09 · Antworten

I have a problem
the script will disable the auto-play function.


Re: Play on Time Script

janosch1968 im März 09 · Antworten

Hi,
the script is great.
is it maybe possible to improve the script by playing the sheduled song after the current played song and not at the time that was set in the event.
Example:
Song is playing - end of the song is maybe 11.03 AM
Event - Song play at 11.00 AM
So the event song waits till 11.03 to play.

Sorry about my bad english but i hope you understand what i mean

greetings
Heinz


Re: Play on Time Script

enipoc im Jun 09 · Antworten

The idea about playing "playlists" is great. Any chance of that?

How about playing different types (genra) of music at different times of day.

Any chance of expanding this to 7 instead of 4? As in 7 days?

Thanx.


Ihre Antwort:


Login



Sie können sich für die Benutzung unserer Foren kostenlos anmelden: Sie können dann Beiträge unter Ihrem Namen einstellen oder bearbeiten, geschützte Daten einsehen und erhalten Zugriff auf viele weitere Komfortfunktionen. Zur Anmeldung...

Foren durchsuchen

Letzte Beiträge

RSS+Newsletter