Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (62)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (11790)

  • Docs : Fix an unclosed code area in the API docs

    9 novembre 2016
    Docs : Fix an unclosed code area in the API docs
  • avformat/matroskadec : Don't reset cluster position

    17 mai 2019, par Andreas Rheinhardt
    avformat/matroskadec : Don't reset cluster position
    

    The new code does not rely on whether the cluster's position is set or
    not to infer whether a cluster needs to be closed or not (instead, this
    is done in ebml_parse), so there is no need to reset the cluster's
    position at all any more. It will be automatically set to the correct
    value when a cluster is entered.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskadec.c
  • ydl erroring on download only getting partial download and an error on ydl.download([url])

    11 septembre 2022, par newtboot

    building an audio stream bot command for my custom discord bot but it keep throwing errors on ydl.download([url]) and only fetches a partial download assuming it disconnects from server before finishing download i'm not sure how to fix this error or if its just a syntax thing

    &#xA;

    import discord&#xA;import aiohttp&#xA;import random&#xA;import youtube_dl&#xA;import os&#xA;from discord.ext import commands&#xA;&#xA;@bot.command()&#xA;async def play(ctx, url : str):&#xA;    song_there = os.path.isfile("song.mp3")&#xA;    try:&#xA;        if song_there:&#xA;            os.remove("song.mp3")&#xA;    except PermissionError:&#xA;        await ctx.send("wait for current audion to finish or use the &#x27;stop&#x27; command")&#xA;        return&#xA;&#xA;    voiceChannel = discord.utils.get(ctx.guild.voice_channels, name=&#x27;moosic&#x27;)&#xA;    voice = discord.utils.get(bot.voice_clients, guild=ctx.guild)&#xA;    if voice is None or not voice.is_connected():&#xA;        await voiceChannel.connect()&#xA;    ydl_opts = {&#xA;        &#x27;format&#x27;: &#x27;bestaudio/best&#x27;,&#xA;        &#x27;postprocessors&#x27;: [{&#xA;            &#x27;key&#x27;: &#x27;FFmpegExtractAudio&#x27;,&#xA;            &#x27;preferredcodec&#x27;: &#x27;mp3&#x27;,&#xA;            &#x27;preferredquality&#x27;: &#x27;192&#x27;,&#xA;        }],&#xA;    }&#xA;    with youtube_dl.YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([url])&#xA;    for file in os.listdir("./"):&#xA;        if file.endswith(".mp3"):&#xA;            os.rename(file, "song.mp3")&#xA;    voice.play(discord.FFmpegPCMAudio("song.mp3"))&#xA;

    &#xA;