Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (104)

  • 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 (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP 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 (13385)

  • lavfi/opencl : add more opencl helper macro

    12 avril 2019, par Ruiling Song
    lavfi/opencl : add more opencl helper macro
    

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] libavfilter/opencl.h
  • Discord bot js Bot has no audio after joining with play command. No errors in console or chat

    30 mai 2020, par FeX

    I coded a bot with node.js. I used the example by Crawl for his music bot. I did everything similar to him. After I finished my build everything worked. Every other command and the play command. But now after 2 weeks the bot joins the voice channel, light up green but has no sound. I updated ffmpeg, @discordjs/opus and ffmpeg-static but the bot still has no audio. The queue, volume, nowplaying, skip, shuffle, loop everything works. But after I got the video or playlist with the play command the bot only joins light up green but has no audio.

    &#xA;&#xA;

    function play(guild, song) {&#xA;&#xA;  try {&#xA;&#xA;    const ServerMusicQueue = queue.get(guild.id);&#xA;&#xA;    if (!song) {&#xA;&#xA;      ServerMusicQueue.textchannel.send(`ퟎ
  • Making my Discord Bot automatically play music from WAV on loop

    5 décembre 2022, par Mativ9

    So I was trying to make a Discord Bot in Python, which would atomatically join a voice channel and play my own music from a list in a loop. So far it's joining the channel, shuffling the list so the music is on random, but when I try to write a code so after one song it will play the next one it crushes and doesn't play anything (tho it's joining the channel)

    &#xA;

    import discord&#xA;import random&#xA;from discord.ext import commands&#xA;from discord import FFmpegPCMAudio&#xA;&#xA;#playlist as a list&#xA;queue = [FFmpegPCMAudio(&#x27;Iceland1.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland2.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland3.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland4.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Iceland5.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland6.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland7.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland8.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Iceland9.wav&#x27;), FFmpegPCMAudio(&#x27;Iceland10.wav&#x27;), FFmpegPCMAudio(&#x27;Norway1.wav&#x27;), FFmpegPCMAudio(&#x27;Norway2.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Norway3.wav&#x27;), FFmpegPCMAudio(&#x27;Norway4.wav&#x27;), FFmpegPCMAudio(&#x27;Norway5.wav&#x27;), FFmpegPCMAudio(&#x27;Norway6.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Norway7.wav&#x27;), FFmpegPCMAudio(&#x27;Norway8.wav&#x27;), FFmpegPCMAudio(&#x27;Norway9.wav&#x27;), FFmpegPCMAudio(&#x27;Norway10.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Norway11.wav&#x27;), FFmpegPCMAudio(&#x27;Presents1.wav&#x27;), FFmpegPCMAudio(&#x27;Presents2.wav&#x27;), FFmpegPCMAudio(&#x27;Presents3.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Presents4.wav&#x27;), FFmpegPCMAudio(&#x27;Presents5.wav&#x27;), FFmpegPCMAudio(&#x27;Presents6.wav&#x27;), FFmpegPCMAudio(&#x27;Presents7.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Presents8.wav&#x27;), FFmpegPCMAudio(&#x27;Presents9.wav&#x27;), FFmpegPCMAudio(&#x27;Presents10.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn1.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Autumn2.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn3.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn4.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn5.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Autumn6.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn7.wav&#x27;), FFmpegPCMAudio(&#x27;Autumn8.wav&#x27;), FFmpegPCMAudio(&#x27;Covers1.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Covers2.wav&#x27;), FFmpegPCMAudio(&#x27;Covers3.wav&#x27;), FFmpegPCMAudio(&#x27;Covers4.wav&#x27;), FFmpegPCMAudio(&#x27;Covers5.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Covers6.wav&#x27;), FFmpegPCMAudio(&#x27;Covers7.wav&#x27;), FFmpegPCMAudio(&#x27;Covers8.wav&#x27;), FFmpegPCMAudio(&#x27;Covers9.wav&#x27;),&#xA;         FFmpegPCMAudio(&#x27;Covers10.wav&#x27;), FFmpegPCMAudio(&#x27;Covers11.wav&#x27;), FFmpegPCMAudio(&#x27;Covers12.wav&#x27;)]&#xA;&#xA;intents = discord.Intents.default()&#xA;intents.message_content = True&#xA;client = commands.Bot(command_prefix=&#x27;>&#x27;, intents=intents)&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    global voice&#xA;    print("The Matt Bot is ready")&#xA;    print("--------------------------")&#xA;    await client.change_presence(activity=discord.Game(&#x27;Matt Krupa&#x27;)) #makes my bot play Matt Krupa&#xA;    channel = client.get_channel(thechannelid) #geting channel ID&#xA;    voice = await channel.connect() #connecting to channel&#xA;    random.shuffle(queue) #randomazing the playlist&#xA;    def after_song(): #moving the first song to the end so its on loop, and playling the next one&#xA;        queue.append(queue[0])&#xA;        del queue[0]&#xA;        player = await voice.play(queue[0], after=await after_song())&#xA;    player = await voice.play(queue[0], after=await after_song()) #plays song from the playlist, after the song doing the after_song() function&#xA;&#xA;client.run(mytokenidontwanttoshowitsry)&#xA;

    &#xA;

    I wanted it to play all the songs on the infinite loop, i can't find how to correctly detect the end of a song...

    &#xA;