
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (80)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14957)
-
what is the meaning of "sw" in libswscale of ffmpeg ?
28 mars 2017, par synyo xuIn FFMpeg, we always say hello to libswscale and libswresample, but, what is the meaning of sw in libswscale and libswresample ?
-
How to add bass boost to Discord.py Music Bot
28 mai 2020, par Joshua LawsonSo I have a Discord Bot that I use for a server with me and my friends. I have loads of custom commands that I have made, and i added the music feature just because. I use the code from this link. Link to Code
Could anyone help me to add Bass Boost and other equalizer options to this ?


-
Discord Music Bot No Playback Issue
6 août 2021, par KusunokiI'm trying to configure a discord music bot and my code is working (Other people have tried my code and it works perfectly on their side) but the problem is whenever the bot joins the voice channel, it doesn't play any music then it will queue the video but not play it then the bot will leave the channel.


The code also works on repl.it and I've tried it several times and it seems to be working fine. I'm running Windows 10 LTSC on my PC.


I've tried reinstalling the packages, trying the node.js v14 and 15, reinstalling ffmpeg and nothing seems to be working.


Code :


module.exports = {
 name: 'play',
 category: 'music',
 description: 'Play music from discord!',
 async execute(message, args, ytdl, ytSearch) {
 const voiceChannel = message.member.voice.channel;

 if (!voiceChannel) return message.channel.send("Connect to a music channel.");
 const userPermissions = voiceChannel.permissionsFor(message.client.user);
 if (!userPermissions.has('CONNECT')) return message.channel.send("You\'re not allowed to play music.");
 if (!userPermissions.has('SPEAK')) return message.channel.send("You\'re not allowed to play music.");

 const connection = await voiceChannel.join();
 const videoFinder = async (query) => {
 const videoResult = await ytSearch(query);
 return (videoResult.videos.length > 1) ? videoResult.videos[1] : null;
 }
 const video = await videoFinder(args.join(' '));
 if (video){
 const stream = ytdl(video.url, {filter: 'audioonly'});
 connection.play(stream, {seek: 0, volume: 1})
 .on('finish', () =>{
 voiceChannel.leave();
 console.error
 });

 await message.channel.send(`Now Playing: **${video.title}**.`);
 } else {
 message.channel.send('No results found.');
 }
 }
}