mrnotsoevil / CSLMusicMod

Add custom music and radio stations to Cities: Skylines
GNU Lesser General Public License v2.1
26 stars 9 forks source link

Custom Radio Station plays music only #9

Closed zenius11 closed 7 years ago

zenius11 commented 7 years ago

Hello. Whenever I run CSLMusicMod, my custom radio station only plays music. No ads nor blurb will play. The funny thing is, it worked last night. I didn't change the code at all from last night, I didn't remove any of the relevant audio files, the JSON is valid and the blurb and adverts play normally on VLC! When I click on an ad/blurb, it just skips to music! What's happened?

Code: `

{ "name": "RadioEDM", "collections": [ "EDM" ], "thumbnail": "img.png", "schedule": [ { "type": "music", "min": 1, "max": 3 }, { "type": "blurb", "min": 1, "max": 1 }, { "type": "commercial", "min": 1, "max": 2 }, { "type": "blurb", "min": 1, "max": 1 } ] } `

rumangerst commented 7 years ago

Hi, I have a hypothesis what could be the cause of this, but I don't know if it's correct. Can you tell me:

zenius11 commented 7 years ago

OS: Windows 10 Path: C:\Program Files (x86)\Steam\SteamApps\common\Cities_Skylines\CSLMusicMod_Music\EDM\ Log: http://bead.tk/B0nD4

rumangerst commented 7 years ago

Should be fixed with version 1.1.3.2. Caused by the really annoying system Unity uses for loading stuff. They expect you to provide an URI, but never explain how to do it correctly. Even the Cities: Skylines developers seem to do it wrong and it only works because they don't have any special characters in their filenames.