Jingles

Ready-to-use scripts, modules and plugins for Silverjuke.
SilverEagle
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

Jingles

Postby SilverEagle » 17. Apr 12, 13:19

Hi All,

On request I looked into the jingle script used for , and came up with this standalone jingle script usable with any skin.

Mark at the most 10 tracks as genre 'Jingles' (rightclick on a track, type Jingles as the genre).

In the rightclick->tools menu you will find 10 commands Jingle 1 to 10. Each command will play a track with genre 'Jingles', the order of the trackname is used to assign them to the commands.

Note that jingles interrupt any playing track, there is no way to mix them in.

As usual you can use rightclick->advanced->furtheroptions to assign shortkeys to the jingles (numberKeys 1-9 and 0 spring to mind ;-)).

Jingles can interrupt other jingles, and a jingle can be stopped (shift-space) after which the original track continues.

Have fun,
SilverEagle
Attachments
Jingles_v10.jpg
Jingles_v10.jpg (15.44 KiB) Viewed 9103 times
Jingles_v11.sj
Put this script next to your silverjuke.exe
(3.45 KiB) Downloaded 392 times
Last edited by SilverEagle on 19. Apr 12, 09:04, edited 1 time in total.

olli84
Posts: 18
Joined: 5. Feb 11, 11:48
[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: Jingles

Postby olli84 » 17. Apr 12, 13:37

Hallo Silvereagle!

Vielen Dank, das ist super!

Ich habe nur leider immer noch das Problem, wenn eine "Jingle"-Datei länger als 20 Sekunden ist - bricht das ab und die Musik spielt wieder.

Weißt du woran das liegt?

User avatar
Pelikan
Posts: 499
Joined: 15. Jan 07, 00:03
Location: Warngau in Bayern
[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: Jingles

Postby Pelikan » 18. Apr 12, 22:38

olli84 wrote:
> Hallo Silvereagle!
>
> Vielen Dank, das ist super!
>
> Ich habe nur leider immer noch das Problem, wenn
> eine "Jingle"-Datei länger als 20
> Sekunden ist - bricht das ab und die Musik spielt
> wieder.
>
> Weißt du woran das liegt?

Hallo Olli84,

das liegt daran, dass normalerweise ein Jingle weniger als 20 Sekunden dauert, ansonsten wird das als Musikstück erkannt und auch solches verwendet. Siehe hier:

Gruß Pelikan

olli84
Posts: 18
Joined: 5. Feb 11, 11:48
[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: Jingles

Postby olli84 » 18. Apr 12, 23:39

Hallo Pelikan!

Danke für deine Antwort, mir ist das eigentlich auch schon bewusst - nur leider haben sich bei mir über die zeit einige "Sprüche" o.ä. angesammelt, welche eben bisserl länger als 20 sekunden sind. Kann man das irgendwie ändern?

Viele Grüße!

SilverEagle
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: Jingles

Postby SilverEagle » 19. Apr 12, 08:15


SilverEagle
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: Jingles

Postby SilverEagle » 19. Apr 12, 09:05

Hi All,

New release, fixes:
// v1.1 - don't mix jingles with next track (=20s duration bug)
// - fixed starting jingle while other still playing

See top post for updated version.

SilverEagle

olli84
Posts: 18
Joined: 5. Feb 11, 11:48
[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: Jingles

Postby olli84 » 19. Apr 12, 11:21

Silvereagle - VERY great, works nice. Thank you very much :)

User avatar
Pelikan
Posts: 499
Joined: 15. Jan 07, 00:03
Location: Warngau in Bayern
[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: Jingles

Postby Pelikan » 19. Apr 12, 21:30

SilverEagle write:
> Answer moved to German forum

Hi SilverEagle,

sorry.

SilverEagle write:

> Hi All,

> New release, fixes:
> // v1.1 - don't mix jingles with next track (=20s duration bug)
> // - fixed starting jingle while other still playing

> See top post for updated version.

> SilverEagle

Thank You. Less a problem.

Pelikan

olli84
Posts: 18
Joined: 5. Feb 11, 11:48
[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: Jingles

Postby olli84 » 21. Apr 12, 05:13

Good Morning,

what command do i need to play a jingle when i press a button?

i tried:

onclick="PlayJingle(0);

onclick="PlayJingle_1();

but they dont work.

Thanks for your help

olli84
Posts: 18
Joined: 5. Feb 11, 11:48
[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: Jingles

Postby olli84 » 21. Apr 12, 05:14

Good Morning,

what command do i need to play a jingle when i press a button?

i tried:

onclick="PlayJingle(0);

onclick="PlayJingle_1();

but they dont work.

Thanks for your help


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