Music Server

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
User avatar
85filip58
tricycle manager
tricycle manager
Posts: 27
Joined: 13 Jan 2012 18:01
Owned TM-games: TMUF, TMPU, TMN, TM2
Manialink(s): No.
Location: Slovakia
Contact:

Music Server

Post by 85filip58 » 07 Jan 2014 12:30

Hello, I didn't found correct thread with my problem, So I created this. I have music server, music works well, but when FIRST song has reached end, FIRST song play again, I want to play a SECOND song or randomly selected. This is my configuration file:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<settings>
	<!-- override a map's custom music? -->
	<override_map>True</override_map>
	<!-- automatically load next song upon next map? -->
	<auto_nextsong>True</auto_nextsong>
	<!-- automatically shuffle songs at start-up & reload? -->
	<auto_shuffle>True</auto_shuffle>
	<!-- allow jukeboxing songs by players? -->
	<allow_jukebox>True</allow_jukebox>
	<!-- strip subdirs when showing song files? -->
	<strip_subdirs>False</strip_subdirs>
	<!-- strip extensions when showing song files? -->
	<strip_exts>False</strip_exts>

	<!-- read tags from all .ogg songs? -->
	<cache_tags>True</cache_tags>
	<!-- use read-only cache file? -->
	<cache_readonly>False</cache_readonly>
	<!-- filename in main directory to store tags -->
	<cache_file>musictagscache.xml</cache_file>

	<!-- full http link to directory holding the song files     -->
	<!-- http server must allow direct download of those files  -->
	<!-- OR a path below the server's GameData directory (e.g.  -->
	<!-- "Music/") which allows serving songs without webserver -->
	<music_server>http://tm2.85filip58.tk/</music_server>

	<!-- list of song files at your music server in .ogg or .mux   -->
	<!-- avoid spaces and special characters in the filenames and  -->
	<!-- http link, and observe correct upper/lowercase characters -->
	<song_files>
		<song>01.MikeCandysvs.ShaunBakerfeat.Evelyn-Heaven-Hell-OriginalMix-.ogg</song>
                 // and more songs...
	</song_files>

	<messages>
		<current>{#server}> {#music}The current song is: {#highlite}{1}</current>
		<next>{#server}>> {#music}{1}$z$s {#highlite}{2}$z$s{#music} loaded the next song: {#highlite}{3}</next>
		<reloaded>{#server}>> {#music}{1}$z$s {#highlite}{2}$z$s{#music} reloaded music config and cleared jukebox!</reloaded>
		<sorted>{#server}>> {#music}{1}$z$s {#highlite}{2}$z$s{#music} sorted song list and cleared jukebox!</sorted>
		<shuffled>{#server}>> {#music}{1}$z$s {#highlite}{2}$z$s{#music} shuffled song list and cleared jukebox!</shuffled>
		<jukebox>{#server}>> {#highlite}{1}{#music} jukeboxed song: {#highlite}{2}</jukebox>
		<jukebox_already>{#server}> {#music}You already have a song in the jukebox! Wait till it's been played before adding another.</jukebox_already>
		<jukebox_dupl>{#server}> {#music}This song has already been added to the jukebox, pick another one.</jukebox_dupl>
		<jukebox_notfound>{#server}> {#music}Song_ID not found - Type {#highlite}/music list{#music} to see all songs.</jukebox_notfound>
		<jukebox_drop>{#server}>> {#music}Player {#highlite}{1}{#music} dropped his/her song {#highlite}{2}{#music} from jukebox!</jukebox_drop>
		<jukebox_nodrop>{#server}> {#music}You don't have a song in the jukebox, use {#highlite}/music Song_ID{#music} to add one...</jukebox_nodrop>
		<jukebox_empty>{#server}> {#music}No songs in the jukebox, use {#highlite}/music Song_ID{#music} to add one...</jukebox_empty>
		<no_jukebox>{#server}> {#highlite}/music #{#music} is not currently enabled on this server.</no_jukebox>
		<shutdown>{#server}>> {#music}{1}$z$s {#highlite}{2}$z$s{#music} disabled server music!</shutdown>
	</messages>
</settings>
Server:

Code: Select all

Game   : ManiaPlanet - Stadium - TimeAttack
Version: 3.3.0 / 2013-07-25_14_00
XAseco 2:

Code: Select all

XASECO2 v1.02

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1319
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: Music Server

Post by undef.de » 07 Jan 2014 17:54

85filip58 wrote:Hello, I didn't found correct thread with my problem, So I created this. I have music server, music works well, but when FIRST song has reached end, FIRST song play again, I want to play a SECOND song or randomly selected.
Dunno if i understand you right, but the song only changes when the map changes.
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

User avatar
85filip58
tricycle manager
tricycle manager
Posts: 27
Joined: 13 Jan 2012 18:01
Owned TM-games: TMUF, TMPU, TMN, TM2
Manialink(s): No.
Location: Slovakia
Contact:

Re: Music Server

Post by 85filip58 » 08 Jan 2014 08:23

I want than music change when first song has reached end

User avatar
undef.de
Pit Crew
Pit Crew
Posts: 1319
Joined: 31 Aug 2009 18:38
Owned TM-games: TMF, TM2C/S/V, SM
Manialink(s): undef, tmkarma
Location: Germany
Contact:

Re: Music Server

Post by undef.de » 08 Jan 2014 20:39

85filip58 wrote:I want than music change when first song has reached end
undef.de wrote:... the song only changes when the map changes.
at viewtopic.php?p=212840#p212840
Developer of various plugins for XAseco/XAseco2 and MPAseco,
like Records-Eyepiece, TM-Karma, Alternate Scoretable...
Visit my Lab: www.undef.name

Get it now:
» TM2 Valley
» TM2 Canyon
» TM2 Stadium
» SM Storm

askuri
road tourist
road tourist
Posts: 83
Joined: 21 Apr 2013 10:01
Owned TM-games: All except TMO
Manialink(s): im
Location: Germany/Rhineland-Palatinate
Contact:

Re: Music Server

Post by askuri » 09 Jan 2014 14:26

Not possible. Trackmania problem, nit xaseco :/

User avatar
85filip58
tricycle manager
tricycle manager
Posts: 27
Joined: 13 Jan 2012 18:01
Owned TM-games: TMUF, TMPU, TMN, TM2
Manialink(s): No.
Location: Slovakia
Contact:

Re: Music Server

Post by 85filip58 » 10 Jan 2014 11:17

undef.de wrote:... the song only changes when the map changes.
U don't understand me.... OK
askuri wrote:Not possible. Trackmania problem, nit xaseco :/
If you mean that my question how to configure music server than song don't play again XX times on one map which has 6 min in time attack is no possible to configure, it's no OK because on TrackMania United / Nations Forever it's possible.

TheBigG
smooth traffic navigator
smooth traffic navigator
Posts: 233
Joined: 16 Oct 2010 19:45
Owned TM-games: TMN! TMF
Location: Germany

Re: Music Server

Post by TheBigG » 10 Jan 2014 20:20

85filip58 wrote: If you mean that my question how to configure music server than song don't play again XX times on one map which has 6 min in time attack is no possible to configure, it's no OK because on TrackMania United / Nations Forever it's possible.
afaik it is not possible, so after you have found a way to do it without put more than one song in a file please post the answer here.

Thanks

User avatar
85filip58
tricycle manager
tricycle manager
Posts: 27
Joined: 13 Jan 2012 18:01
Owned TM-games: TMUF, TMPU, TMN, TM2
Manialink(s): No.
Location: Slovakia
Contact:

Re: Music Server

Post by 85filip58 » 11 Jan 2014 15:13

TheBigG wrote:
85filip58 wrote: If you mean that my question how to configure music server than song don't play again XX times on one map which has 6 min in time attack is no possible to configure, it's no OK because on TrackMania United / Nations Forever it's possible.
afaik it is not possible, so after you have found a way to do it without put more than one song in a file please post the answer here.

Thanks
Okay :)

User avatar
85filip58
tricycle manager
tricycle manager
Posts: 27
Joined: 13 Jan 2012 18:01
Owned TM-games: TMUF, TMPU, TMN, TM2
Manialink(s): No.
Location: Slovakia
Contact:

Re: Music Server

Post by 85filip58 » 08 Mar 2014 09:03

undef.de wrote:
85filip58 wrote:I want than music change when first song has reached end
undef.de wrote:... the song only changes when the map changes.
at viewtopic.php?p=212840#p212840
It is somehow possible to do this sequence, play the songs after row through manialink on the server?

Post Reply