Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (94)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (11055)

  • Discord.js Music Bot ffmpeg not found ?

    13 octobre 2020, par cccmdm

    I just started learning javascript with node.js and I am attempting to create a music bot, I've set up the command handler and everything, however, I keep getting this error when I try to run the play command

    



    


    Error : FFmpeg/avconv not found !
 at Function.getInfo (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
 at Function.create (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
 at new FFmpeg (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
 at AudioPlayer.playUnknown (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
 at VoiceConnection.play (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
 at C :\Users\johnd\OneDrive\Desktop\discordBot\commands\play.js:7:39
 at processTicksAndRejections (internal/process/task_queues.js:97:5)

    


    



    I'll post my play function below

    



    async function playMusic(vc,songId) {
    const stream = await ytdl(songId,{type: 'opus',filter : 'audioonly'});
    vc.join().then(connection => {
        const dispatcher = connection.play(stream,{volume: 1});
        dispatcher.on('end', end => {
            console.log("Song ended!");
            vc.leave();
        }).catch(err => console.log(err));
    }).catch(err => console.log(err));
}


    



    My proof of installation : https://imgur.com/a/EFM1G6s

    



    Update 1 : I'm still looking for others with this specific problem and can't find anything.

    


  • Discord.js Music Bot ffmpeg not installed ?

    16 mars 2020, par cccmdm

    I just started learning javascript with node.js and I am attempting to create a music bot, I’ve set up the command handler and everything, however, I keep getting this error when I try to run the play command

    Error : FFmpeg/avconv not found !
    at Function.getInfo (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:130:11)
    at Function.create (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:143:38)
    at new FFmpeg (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\prism-media\src\core\FFmpeg.js:44:27)
    at AudioPlayer.playUnknown (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\player\BasePlayer.js:47:20)
    at VoiceConnection.play (C :\Users\johnd\OneDrive\Desktop\discordBot\node_modules\discord.js\src\client\voice\util\PlayInterface.js:71:28)
    at C :\Users\johnd\OneDrive\Desktop\discordBot\commands\play.js:7:39
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

    I’ll post my play function below

    async function playMusic(vc,songId) {
       const stream = await ytdl(songId,{type: 'opus',filter : 'audioonly'});
       vc.join().then(connection => {
           const dispatcher = connection.play(stream,{volume: 1});
           dispatcher.on('end', end => {
               console.log("Song ended!");
               vc.leave();
           }).catch(err => console.log(err));
       }).catch(err => console.log(err));
    }

    My proof of installation : https://imgur.com/a/EFM1G6s

  • My heroku music bot works fine if i launch it through my pc yet when i run it through heroku it doesn't work

    6 mars 2020, par Flii TV

    I have ffmpeg, youtube-dl installed, i have every requirement installed, it downloads the song renames it but then nothing happens !

    @client.command()
    async def play(ctx, *url: str):
       song_there = os.path.isfile("song.mp3")
       try:
           if song_there:
               os.remove("song.mp3")
               print("Removed old song file")
       except PermissionError:
           print("Trying to delete song file, but it's being played")
           await ctx.send("ERROR: Music playing")
           return

       await ctx.send("Getting everything ready now")

       voice =  get(client.voice_clients,  guild=ctx.guild)

       ydl_opts = {
           'format': 'bestaudio/best',
           'quiet': True,
           'outtmpl':"./song.mp3",
           'postprocessors': [{
               'key': 'FFmpegExtractAudio',
               'preferredcodec': 'mp3',
               'preferredquality': '192',
           }],
       }

       song_search = " ".join(url)

       with youtube_dl.YoutubeDL(ydl_opts) as ydl:
           print("Downloading audio now\n")
           ydl.download([f"ytsearch1:{song_search}"])

       for file in os.listdir("./"):
           if file.endswith(".mp3"):
               name = file
               print(f"Renamed File: {file}\n")
               os.rename(file, "song.mp3")

       voice.play(discord.FFmpegPCMAudio("song.mp3"), after=lambda e: print(f"{name} has finished playing"))
       voice.source = discord.PCMVolumeTransformer(voice.source)
       voice.source.volume = 0.10

       nname = name.rsplit("-", 2)
       await ctx.send(f"Currently playing: {nname}")
       print("playing\n")