Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (97)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang 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.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10397)

  • avformat/hlsenc : Add CHANNELS to EXT-X-MEDIA for Audio

    27 octobre 2023, par Dave Johansen
    avformat/hlsenc : Add CHANNELS to EXT-X-MEDIA for Audio
    

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/dashenc.c
    • [DH] libavformat/hlsenc.c
    • [DH] libavformat/hlsplaylist.c
    • [DH] libavformat/hlsplaylist.h
  • Révision 18507 : r12771 avait renseigné media all pour perso.css qui du coup se fait appeler avan...

    13 septembre 2011, par b b
  • Small discord bot with a set of working music commands, about 6 days ago the play function completely stopped functioning (more below)

    24 février 2021, par TheColoradoKid

    It is a small discord python bot for my server with various features, which had included music commands until they stopped out of the blue without showing any error for the problem.&#xA;It uses FFMpeg, and youtubeDl along with pytube to gather the song and store it locally to play it, I have pip updated all of these and they are definitely on the current versions as I have made sure of this online.&#xA;Any help or insight anyone could provide would be greatly appreciated. I'm sorry if the code is convoluted in the way it's written I'm still pretty new to coding and this is one of my first proper larger projects.

    &#xA;

    If you need any information I'm happy to give what I can to help.

    &#xA;

    Here is the code for the play command :

    &#xA;

    @client.command()&#xA;async def play(ctx, *args):&#xA;    global queu&#xA;    #global autom&#xA;    if not args:&#xA;        voice = get(client.voice_clients, guild=ctx.guild)&#xA;        if not voice.is_playing():&#xA;            server = ctx.message.guild&#xA;            voice_channel = server.voice_client&#xA;            if queu:&#xA;                async with ctx.typing():&#xA;                    player = await YTDLSource.from_url(queu[0], loop=client.loop)&#xA;                    voice_channel.play(player, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;&#xA;                await ctx.send(&#x27;**Now playing:** {}&#x27;.format(player.title))&#xA;                del(queu[0])&#xA;                # while autom == True:&#xA;                #     try:&#xA;                #         a = client.get_command(&#x27;auto&#x27;)&#xA;                #         await ctx.invoke(a)&#xA;                #     except:&#xA;                #         print(&#x27;&#x27;)&#xA;            elif not queu:&#xA;                await ctx.send("You can&#x27;t play if there isn&#x27;t anything in the queue\nIf auto mode was on it has now been disabled, to use it gain please add to the queue and run ``;auto on``")&#xA;                autom = False&#xA;    if args:&#xA;        global gueu&#xA;        search_keywords = ""&#xA;        print(args)&#xA;        for word in args:&#xA;            search_keywords &#x2B;= word&#xA;            search_keywords &#x2B;= &#x27;&#x2B;&#x27;&#xA;        link = "https://www.youtube.com/results?search_query="&#xA;        link &#x2B;= search_keywords&#xA;        #print(link)&#xA;        html = urllib.request.urlopen(link)&#xA;        video_ids = re.findall(r"watch\?v=(\S{11})", html.read().decode())&#xA;        url = ("https://www.youtube.com/watch?v=" &#x2B; video_ids[0])&#xA;        #print(url)&#xA;        queu.append(url)&#xA;        #print(queu)&#xA;        await ctx.send("``{}`` added to queue!\n If the song doesn&#x27;t start please either let the current song end and run ``;play``/``;next`` again or run ``;next`` to play now".format(url))&#xA;        try:&#xA;            p = client.get_command(&#x27;play&#x27;)&#xA;            await ctx.invoke(p)&#xA;        except:&#xA;            print(&#x27;failed&#x27;)&#xA;

    &#xA;