Music from my dedicated server
Moderators: TheM, toffe, NADEO
Re: Music from my dedicated server
Bah! Of course! Im a moron lol. I did not take that into account. Thanks guys, fixed and it works!
-
- Posts: 1256
- Joined: 06 Mar 2013, 16:12
- Manialink: explore
- Location: Vendée | France
- Contact:
Re: Music from my dedicated server
TMarc, the link on the last image is a true one ^_^. It redirects to a web page.
Re: Music from my dedicated server
Possible, but like for the skins or other resources, i guess music needs to be accessible without relay links.
Re: Music from my dedicated server
Are local paths possible?
Like: D:\SONGS\song1.ogg ?
I am getting an error, too trying this:
The same error i get with this:
With the default-settings i am getting no error(but of course have no chance adding songs)
I am not a coder, but is that correct, that there is no closing "]" in the code(with the songa added) above?
Like: D:\SONGS\song1.ogg ?
I am getting an error, too trying this:
Code: Select all
SONGS = {
'default': [
'http://My-music_server.com/song1.ogg',
'http://My-music_server.com/song2.ogg',
'http://My-music_server.com/song3.ogg',
'http://My-music_server.com/song4.ogg',
}
}
Code: Select all
File "D:\PyPlanet\Project1\settings\base.py", line 97
SONGS = {
^
IndentationError: unexpected indent
Code: Select all
SONGS = {
'default': [
'https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ogg',
}
}
With the default-settings i am getting no error(but of course have no chance adding songs)
Code: Select all
SONGS = {
'default': []
}
oh yes, that would be very useful.
- toffe
- Posts: 782
- Joined: 15 Jun 2013, 10:57
- Manialink: maniaflash?toffe
- Location: The Netherlands
- Contact:
Re: Music from my dedicated server
You need to host this on a public space, no local paths are possible. Also the URL should download the music file directly, no indurect links are possible here.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller
ManiaCDN: topic
PyPlanet: Python Server Controller

Re: Music from my dedicated server
Thank you. So this music-file-store-place is o.k.?
https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ogg
Using this:
is leading into this error:
https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ogg
Using this:
Code: Select all
SONGS = {
'default': [
'https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ogg',
}
}
Code: Select all
File "D:\PyPlanet\Project1\settings\base.py", line 97
SONGS = {
^
IndentationError: unexpected indent
Re: Music from my dedicated server
your example is missing a closing square bracket.
Who is online
Users browsing this forum: No registered users and 0 guests