[2015-12-28 14:28:14] [MusicServer] Could not access local song [F:\MP3-servers\MP3-Uaseco80K\GameData\http://maniacdn.net/undef.de/shared/music/Trackmania-United-Bay.ogg]!!!
[2015-12-28 14:28:14] [MusicServer] Could not access local song [F:\MP3-servers\MP3-Uaseco80K\GameData\http://maniacdn.net/undef.de/shared/music/TMStadiumSountrack-AirTime.ogg]!!!
When I use those urls in my browser the music starts to play, but Uaseco won't.
According to the logs, you placed the http links in a folder. What you should do instead in the musicserver.xml is this:
<?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>true</strip_subdirs>
<!-- strip extensions when showing song files? -->
<strip_exts>true</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>cache/musictags.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 UserData directory (e.g. -->
<!-- "Music/") which allows serving songs without webserver -->
<music_server>http://maniacdn.net/undef.de/shared/music/</music_server>
<!--
For song files which are stored remotely you can setup how many bytes will be transfered to parse for OGG tags,
512 bytes will be enough in the most case, but some files have to retrieve full (because the OGG tags are at the end of the file).
Adjust this if you miss some Artist/Title entries in <cache_file>. To retrieve the full file, set this to '-1'.
//-->
<maxlen>-1</maxlen>
<!-- 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>ManiaPlanet-Main.ogg</song>
<song>MenuMusic-SMStorm.ogg</song>
<song>MenuMusic-TMCanyon.ogg</song>
<song>MenuMusic-TMStadium.ogg</song>
<song>MenuMusic-TMValley.ogg</song>
<song>ShootmaniaStorm-DAY_01_Track_03.ogg</song>
<song>ShootmaniaStorm-DAY_02_Track_04.ogg</song>
<song>ShootmaniaStorm-DAY_03_Track_05.ogg</song>
<song>ShootmaniaStorm-NIGHT_01_Track_06.ogg</song>
<song>ShootmaniaStorm-NIGHT_02_Track_07.ogg</song>
<song>TMStadiumSountrack-AirTime.ogg</song>
<song>TMStadiumSountrack-Dashboard.ogg</song>
<song>TMStadiumSountrack-Hydroplane.ogg</song>
<song>TMStadiumSountrack-Tachmania.ogg</song>
<song>TMStadiumSountrack-TailLights.ogg</song>
<song>TMValley-1.SunriseForecast.ogg</song>
<song>TMValley-2.SunriseDayOrange.ogg</song>
<song>TMValley-3.DayVastVeridian.ogg</song>
<song>TMValley-4.Sunset-PerforatedLandscape.ogg</song>
<song>TMValley-5.Sunset-Setting.ogg</song>
<song>TMValley-6.NightExtraCologne.ogg</song>
<song>TMValley-7.NightRitual.ogg</song>
<song>Trackmania2-Canyon1.ogg</song>
<song>Trackmania2-Canyon1b.ogg</song>
<song>Trackmania2-Canyon2.ogg</song>
<song>Trackmania2-Canyon2b.ogg</song>
<song>Trackmania2-Canyon3.ogg</song>
<song>Trackmania2-Canyon3b.ogg</song>
<song>Trackmania2-Canyon4.ogg</song>
<song>Trackmania2-Canyon4b.ogg</song>
<song>Trackmania2-MenuMusic.ogg</song>
<song>Trackmania-Forever-Menu.ogg</song>
<song>Trackmania-Nations-ESWC-Menu.ogg</song>
<song>Trackmania-Nations-ESWC-Pulp.ogg</song>
<song>Trackmania-Nations-ESWC-Start-Off.ogg</song>
<song>Trackmania-Nations-ESWC-Tictac.ogg</song>
<song>Trackmania-United-Bay.ogg</song>
<song>Trackmania-United-Coast.ogg</song>
<song>Trackmania-United-Desert.ogg</song>
<song>Trackmania-United-Island.ogg</song>
<song>Trackmania-United-Rally.ogg</song>
<song>Trackmania-United-Snow.ogg</song>
<song>Trackmania-United-Stadium-Pulp-remix.ogg</song>
<song>Trackmania-United-Stadium-Start-Off-remix.ogg</song>
<song>Trackmania-United-Stadium-Tictac-remix.ogg</song>
</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>
Obviously you wouldn't want all of these sound files used as in-game music, but these are all that are available under that web directory.
[2015-12-28 14:28:14] [MusicServer] Could not access local song [F:\MP3-servers\MP3-Uaseco80K\GameData\http://maniacdn.net/undef.de/shared/music/Trackmania-United-Bay.ogg]!!!
[2015-12-28 14:28:14] [MusicServer] Could not access local song [F:\MP3-servers\MP3-Uaseco80K\GameData\http://maniacdn.net/undef.de/shared/music/TMStadiumSountrack-AirTime.ogg]!!!
When I use those urls in my browser the music starts to play, but Uaseco won't.
According to the logs, you placed the http links in a folder. What you should do instead in the musicserver.xml is this:
<?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>true</strip_subdirs>
<!-- strip extensions when showing song files? -->
<strip_exts>true</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>cache/musictags.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 UserData directory (e.g. -->
<!-- "Music/") which allows serving songs without webserver -->
<music_server>http://maniacdn.net/undef.de/shared/music/</music_server>
<!--
For song files which are stored remotely you can setup how many bytes will be transfered to parse for OGG tags,
512 bytes will be enough in the most case, but some files have to retrieve full (because the OGG tags are at the end of the file).
Adjust this if you miss some Artist/Title entries in <cache_file>. To retrieve the full file, set this to '-1'.
//-->
<maxlen>-1</maxlen>
<!-- 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>ManiaPlanet-Main.ogg</song>
<song>MenuMusic-SMStorm.ogg</song>
<song>MenuMusic-TMCanyon.ogg</song>
<song>MenuMusic-TMStadium.ogg</song>
<song>MenuMusic-TMValley.ogg</song>
<song>ShootmaniaStorm-DAY_01_Track_03.ogg</song>
<song>ShootmaniaStorm-DAY_02_Track_04.ogg</song>
<song>ShootmaniaStorm-DAY_03_Track_05.ogg</song>
<song>ShootmaniaStorm-NIGHT_01_Track_06.ogg</song>
<song>ShootmaniaStorm-NIGHT_02_Track_07.ogg</song>
<song>TMStadiumSountrack-AirTime.ogg</song>
<song>TMStadiumSountrack-Dashboard.ogg</song>
<song>TMStadiumSountrack-Hydroplane.ogg</song>
<song>TMStadiumSountrack-Tachmania.ogg</song>
<song>TMStadiumSountrack-TailLights.ogg</song>
<song>TMValley-1.SunriseForecast.ogg</song>
<song>TMValley-2.SunriseDayOrange.ogg</song>
<song>TMValley-3.DayVastVeridian.ogg</song>
<song>TMValley-4.Sunset-PerforatedLandscape.ogg</song>
<song>TMValley-5.Sunset-Setting.ogg</song>
<song>TMValley-6.NightExtraCologne.ogg</song>
<song>TMValley-7.NightRitual.ogg</song>
<song>Trackmania2-Canyon1.ogg</song>
<song>Trackmania2-Canyon1b.ogg</song>
<song>Trackmania2-Canyon2.ogg</song>
<song>Trackmania2-Canyon2b.ogg</song>
<song>Trackmania2-Canyon3.ogg</song>
<song>Trackmania2-Canyon3b.ogg</song>
<song>Trackmania2-Canyon4.ogg</song>
<song>Trackmania2-Canyon4b.ogg</song>
<song>Trackmania2-MenuMusic.ogg</song>
<song>Trackmania-Forever-Menu.ogg</song>
<song>Trackmania-Nations-ESWC-Menu.ogg</song>
<song>Trackmania-Nations-ESWC-Pulp.ogg</song>
<song>Trackmania-Nations-ESWC-Start-Off.ogg</song>
<song>Trackmania-Nations-ESWC-Tictac.ogg</song>
<song>Trackmania-United-Bay.ogg</song>
<song>Trackmania-United-Coast.ogg</song>
<song>Trackmania-United-Desert.ogg</song>
<song>Trackmania-United-Island.ogg</song>
<song>Trackmania-United-Rally.ogg</song>
<song>Trackmania-United-Snow.ogg</song>
<song>Trackmania-United-Stadium-Pulp-remix.ogg</song>
<song>Trackmania-United-Stadium-Start-Off-remix.ogg</song>
<song>Trackmania-United-Stadium-Tictac-remix.ogg</song>
</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>
Obviously you wouldn't want all of these sound files used as in-game music, but these are all that are available under that web directory.
Well , thats the weird part , I did not change the musicserver.xml
<!-- 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://maniacdn.net/undef.de/shared/music/</music_server>
But when I click on that url my browser says forbidden.
I only changed the uaseco.xml to run uaseco on the server.
So I do not know why the music server is searching local.
System Specs:
OS: Windows 7 Professionnal x64
CPU: Intel Core i7-6700K / 4 GHz - 8 MB cache
GPU: MSI GTX 980TI GAMING 6G - OC Edition
Motherboard: ASUS MAXIMUS VIII RANGER
RAM : 32Gb Kingston HyperX Savage - DDR4
DirectX 11
hackie wrote:
But when I click on that url my browser says forbidden.
I only changed the uaseco.xml to run uaseco on the server.
So I do not know why the music server is searching local.
Clicking on the url's main directory will get the "forbidden" error, so that's normal. I can however confirm that the music server plugin is searching for a local file even when specifying a web URL in the xml.
[2015-12-28 09:28:21] [MusicServer] Could not access local song [/home/tmf/Loveshacktm2/dedi/GameData/http://fabteam.info/Musics/Highway_to_the_Danger_Zone.ogg]!!!
Was on youre forum and saw a post about that you wanted to change the start countdown.
Look at: effect_studio.xml
If you disable the countdown script you get the original countdown back.
( sroll down a lot )
I had a request to change the female voice countdown, so I reverted back to the laser sounds. I like the effect studio's countdown better than the default, so I'm keeping it, but thanks.
In the meantime, I've tested using the music files in the local environment (relative to both the GameData and UserData directories). Using them in the GameData directory showed no errors in the logs, however the music wouldn't play. I've since reverted back to the previous version of the music server plugin until this has been addressed.
[2015-12-28 16:16:01] [Chat] Player [andygev35] used command "/admin writemaplist"
[2015-12-28 16:16:01] [Admin] MasterAdmin [andygev35] wrote map list: maplist.txt !
[PHP Fatal Error] Call to undefined method Message::sendToChat() on line 2129 in file /home/tmf/Loveshacktm2/uaseco/plugins/chat.admin.php