Tommy
Tommy
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
Solutions???
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
tried but no results
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
yo?
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
sorry, any solution for our problem?
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
updated, but no changes, no audio from the bot..
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
so what should I do?
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
i've installed ffmpeg a few months ago and i don't remember how. i've also installed ffmpeg-static via npm recently. what's the correct method to install it?
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
also with this path, no audio
const resource = createAudioResource("file:///C:/Users/Administrator/Desktop/song.mp3");
const resource = createAudioResource("file:///C:/Users/Administrator/Desktop/song.mp3");
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
no changes with this path
const resource = createAudioResource("file:///C:/Users/Administrator/Desktop/!Assistenza%20Italian%20Paradise/music/song.mp3");
const resource = createAudioResource("file:///C:/Users/Administrator/Desktop/!Assistenza%20Italian%20Paradise/music/song.mp3");
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
in the main folder of my project there is a folder named music with the file inside. I've tride to use absolute path now, but nothing changed, no audio. here the actual code
if (message.content === '!play') {
if (!message.member.voice?.channel) return message.channel.send('You need to be in a voice channel to execute this command');

const connection = joinVoiceChannel({
channelId: message.member.voice.channelId,
guildId: message.guildId,
adapterCreator: message.guild.voiceAdapterCreator,
debug: true
});

const player = createAudioPlayer({
debug: true
});

const resource = createAudioResource("C:\\Users\\Administrator\\Desktop\\!Assistenza Italian Paradise\\music\\song.mp3");


console.log(generateDependencyReport());

connection.subscribe(player);
player.play(resource);
}
if (message.content === '!play') {
if (!message.member.voice?.channel) return message.channel.send('You need to be in a voice channel to execute this command');

const connection = joinVoiceChannel({
channelId: message.member.voice.channelId,
guildId: message.guildId,
adapterCreator: message.guild.voiceAdapterCreator,
debug: true
});

const player = createAudioPlayer({
debug: true
});

const resource = createAudioResource("C:\\Users\\Administrator\\Desktop\\!Assistenza Italian Paradise\\music\\song.mp3");


console.log(generateDependencyReport());

connection.subscribe(player);
player.play(resource);
}
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
No description
23 replies
DIAdiscord.js - Imagine an app
Created by Tommy on 7/25/2024 in #djs-voice
Mp3 audio not playing
thank you, no changes updating voice. here the debug results:
state change:
from {"status":"idle","resource":false,"stepTimeout":false}
to {"status":"buffering","resource":true,"stepTimeout":false}
state change:
from {"status":"buffering","resource":true,"stepTimeout":false}
to {"status":"playing","missedFrames":0,"playbackDuration":0,"resource":true,"stepTimeout":false}
state change:
from {"status":"playing","missedFrames":0,"playbackDuration":0,"resource":true,"stepTimeout":false}
to {"status":"autopaused","missedFrames":0,"playbackDuration":0,"resource":true,"silencePacketsRemaining":5,"stepTimeout":false}
[NW] [WS] >> {"op":0,"d":{"server_id":"792382153945514004","user_id":"1157789261639196804","session_id":"30edb2134b9b1631fdf0b53e4b3a3130","token":"3fe376480b871a94"}}
[NW] state change:
from {"code":0,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
to {"code":1,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
[NW] [WS] << {"op":8,"d":{"v":4,"heartbeat_interval":13750.0}}
[NW] [WS] << {"op":2,"d":{"streams":[{"type":"video","ssrc":22191,"rtx_ssrc":22192,"rid":"","quality":0,"active":false}],"ssrc":22190,"port":50025,"modes":["aead_aes256_gcm_rtpsize","aead_aes256_gcm","aead_xchacha20_poly1305_rtpsize","xsalsa20_poly1305_lite_rtpsize","xsalsa20_poly1305_lite","xsalsa20_poly1305_suffix","xsalsa20_poly1305"],"ip":"66.22.243.139","experiments":["fixed_keyframe_interval"]}}
[NW] state change:
from {"code":1,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
to {"code":2,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":true,"connectionData":{"ssrc":22190}}
[NW] [WS] << {"op":11,"d":{"user_ids":["469522996277674004"]}}
[NW] [WS] << {"op":18,"d":{"user_id":"469522996277674004","flags":2}}
[NW] [WS] << {"op":20,"d":{"user_id":"469522996277674004","platform":0}}
[NW] state change:
from {"code":2,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":true,"connectionData":{"ssrc":22190}}
to {"code":6,"ws":false,"udp":false}
state change:
from {"status":"idle","resource":false,"stepTimeout":false}
to {"status":"buffering","resource":true,"stepTimeout":false}
state change:
from {"status":"buffering","resource":true,"stepTimeout":false}
to {"status":"playing","missedFrames":0,"playbackDuration":0,"resource":true,"stepTimeout":false}
state change:
from {"status":"playing","missedFrames":0,"playbackDuration":0,"resource":true,"stepTimeout":false}
to {"status":"autopaused","missedFrames":0,"playbackDuration":0,"resource":true,"silencePacketsRemaining":5,"stepTimeout":false}
[NW] [WS] >> {"op":0,"d":{"server_id":"792382153945514004","user_id":"1157789261639196804","session_id":"30edb2134b9b1631fdf0b53e4b3a3130","token":"3fe376480b871a94"}}
[NW] state change:
from {"code":0,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
to {"code":1,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
[NW] [WS] << {"op":8,"d":{"v":4,"heartbeat_interval":13750.0}}
[NW] [WS] << {"op":2,"d":{"streams":[{"type":"video","ssrc":22191,"rtx_ssrc":22192,"rid":"","quality":0,"active":false}],"ssrc":22190,"port":50025,"modes":["aead_aes256_gcm_rtpsize","aead_aes256_gcm","aead_xchacha20_poly1305_rtpsize","xsalsa20_poly1305_lite_rtpsize","xsalsa20_poly1305_lite","xsalsa20_poly1305_suffix","xsalsa20_poly1305"],"ip":"66.22.243.139","experiments":["fixed_keyframe_interval"]}}
[NW] state change:
from {"code":1,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":false}
to {"code":2,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":true,"connectionData":{"ssrc":22190}}
[NW] [WS] << {"op":11,"d":{"user_ids":["469522996277674004"]}}
[NW] [WS] << {"op":18,"d":{"user_id":"469522996277674004","flags":2}}
[NW] [WS] << {"op":20,"d":{"user_id":"469522996277674004","platform":0}}
[NW] state change:
from {"code":2,"ws":true,"connectionOptions":{"endpoint":"frankfurt9970.discord.media:443","serverId":"792382153945514004","token":"3fe376480b871a94","sessionId":"30edb2134b9b1631fdf0b53e4b3a3130","userId":"1157789261639196804"},"udp":true,"connectionData":{"ssrc":22190}}
to {"code":6,"ws":false,"udp":false}
23 replies