
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (95)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.
Sur d’autres sites (6753)
-
Discord v13 audioPlayer playing state changed to idle for unknown reason
14 septembre 2021, par zS1L3NTWhen I play a song, the audioPlayer's state goes from
buffering
toplaying
toidle
for no reason, without throwing any errors too. The weird thing is that the code I made runs perfectly fine on my Windows 11 Laptop. The error only occurs when I run the exact same code on my Ubuntu VPS. Here is the dependency report when run on the Ubuntu VPS

--------------------------------------------------
Core Dependencies
- @discordjs/voice: 0.6.0
- prism-media: 1.3.2

Opus Libraries
- @discordjs/opus: 0.6.0
- opusscript: not found

Encryption Libraries
- sodium: not found
- libsodium-wrappers: 0.7.9
- tweetnacl: not found

FFmpeg
- version: 4.4-static https://johnvansickle.com/ffmpeg/
- libopus: yes
--------------------------------------------------



What should I do to fix this ?


-
Error (ERR_STREAM_DESTROYED) : Cannot call write after a stream was destroyed
3 avril 2021, par TTT Tobi Triple TalkI'm getting this error when I run my discord bot on my raspberry pi. It worked everytime when I run it on my windows machine. I installed FFmpeg with sudo apt-get install ffmpeg. I don't know if I need to install something else for ffmpeg on my raspberry pi
This is the error I'm getting


events.js:291
 throw er; // Unhandled 'error' event
 ^

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
 at doWrite (_stream_writable.js:399:19)
 at writeOrBuffer (_stream_writable.js:387:5)
 at Socket.Writable.write (_stream_writable.js:318:11)
 at PassThrough.ondata (_stream_readable.js:718:22)
 at PassThrough.emit (events.js:314:20)
 at addChunk (_stream_readable.js:297:12)
 at readableAddChunk (_stream_readable.js:272:9)
 at PassThrough.Readable.push (_stream_readable.js:213:10)
 at PassThrough.Transform.push (_stream_transform.js:152:32)
 at PassThrough.afterTransform (_stream_transform.js:96:10)
Emitted 'error' event on FFmpeg instance at:
 at errorOrDestroy (internal/streams/destroy.js:108:12)
 at FFmpeg.onerror (_stream_readable.js:754:7)
 at FFmpeg.emit (events.js:314:20)
 at Socket.processError (node_modules/prism-media/src/core/FFmpeg.js:64:40)
 at Socket.emit (events.js:314:20)
 at errorOrDestroy (internal/streams/destroy.js:108:12)
 at onwriteError (_stream_writable.js:418:5)
 at onwrite (_stream_writable.js:445:5)
 at doWrite (_stream_writable.js:399:11)
 at writeOrBuffer (_stream_writable.js:387:5) {
 code: 'ERR_STREAM_DESTROYED'
}



Normally it should play an audio stream to a discord channel.
I don't think my code is wrong, because it's working on my other computer.
My code :


let stream;
//Meme.url is just a youtube link, like https://www.youtube.com/watch?v=dQw4w9WgXcQ
stream = ytdl(meme.url, {
 filter: "audioonly",
 opusEncoded: true,
 encoderArgs: ['-af', "dynaudnorm=f=150"]
}).on("error", (err) => {
 console.log(err);
});
 try {
 song_queue.connection.play(stream, { type: "opus" })
 .on('finish', () => {
 
 });
 } catch (err) {
 console.log(err);
 message.channel.send("Error while the meme song");
 }



-
FFmpeg/avconv not found
7 février 2021, par Eggy115when i try to run a discord bot in node.js, it comes up with this error


Error: FFmpeg/avconv not found!
 at Function.getInfo (C:\Users\User\Desktop\Frend Bot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
 at Function.create (C:\Users\User\Desktop\Frend Bot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
 at new FFmpeg (C:\Users\User\Desktop\Frend Bot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
 at AudioPlayer.playUnknown (C:\Users\User\Desktop\Frend Bot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
 at VoiceConnection.play (C:\Users\User\Desktop\Frend Bot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
 at play (C:\Users\User\Desktop\Frend Bot\index.js:259:14)
 at execute (C:\Users\User\Desktop\Frend Bot\index.js:239:21)
 at processTicksAndRejections (internal/process/task_queues.js:97:5)



i have installed both ffmpeg and avconv
i might be doing something really stupid and obvious, so please tell me if there is a simple solution