Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (80)

  • 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 version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (13687)

  • avcodec/sanm : SMUSH codec48 decoder

    16 décembre 2024, par Manuel Lauss
    avcodec/sanm : SMUSH codec48 decoder
    

    Adds a decoder for the SMUSH codec48 video encoding, as is used by
    the LucasArts game "Mysteries of the Sith".

    Signed-off-by : Manuel Lauss <manuel.lauss@gmail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/sanm.c
  • Command raised an exception : NameError : name 'player' is not defined

    20 mars 2023, par baartys

    I finally got myself a hosting for my project, but got into an error and I don't know how to resolve it.&#xA;I ran command !play to start streaming in vc, but I got this error :

    &#xA;

    2023-03-19 18:36:04 INFO     discord.client logging in using static token&#xA;2023-03-19 18:36:04 INFO     discord.gateway Shard ID None has connected to Gateway (Session ID: f983009c9f2881b87ee119278692efc9).&#xA;Eurobeat Radio is running!&#xA;2023-03-19 18:36:10 ERROR    discord.ext.commands.bot Ignoring exception in command play&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 229, in wrapped&#xA;    ret = await coro(*args, **kwargs)&#xA;  File "/home/container/radio.py", line 44, in play&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;NameError: name &#x27;player&#x27; is not defined&#xA;The above exception was the direct cause of the following exception:&#xA;Traceback (most recent call last):&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/bot.py", line 1350, in invoke&#xA;    await ctx.command.invoke(ctx)&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 1023, in invoke&#xA;    await injected(*ctx.args, **ctx.kwargs)  # type: ignore&#xA;  File "/home/container/.local/lib/python3.10/site-packages/discord/ext/commands/core.py", line 238, in wrapped&#xA;    raise CommandInvokeError(exc) from exc&#xA;discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name &#x27;player&#x27; is not defined&#xA;

    &#xA;

    I tried running it on my pc and that was without error, but once it was on the hosting it ran in to the error up the page.

    &#xA;

    Here is the code :

    &#xA;

    import discord&#xA;import urllib.request, json &#xA;from discord import FFmpegPCMAudio&#xA;from discord.ext import commands&#xA;from discord.ext import tasks&#xA;client= commands.Bot(command_prefix="er!", intents=discord.Intents.all(), help_command=None)&#xA;&#xA;@tasks.loop(seconds=10.0)&#xA;async def my_background_task():&#xA;    """Will loop every 60 seconds and change the bots presence"""&#xA;    with urllib.request.urlopen(&#x27;https://api.laut.fm/station/eurobeat/current_song&#x27;) as url:&#xA;        data = json.load(url)&#xA;        global namestatus&#xA;        global artiststatus&#xA;        namestatus = data[&#x27;title&#x27;]&#xA;        artiststatus = data[&#x27;artist&#x27;][&#x27;name&#x27;]&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="Eurobeat FM"))&#xA;    await client.change_presence(activity=discord.Game(name="Para para dancing ~"))&#xA;    await client.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=f"{namestatus} by {artiststatus}"))&#xA;&#xA;&#xA;@client.event&#xA;async def on_ready():&#xA;    print(&#x27;Eurobeat Radio is running!&#x27;)&#xA;    await client.wait_until_ready()&#xA;    my_background_task.start()&#xA;&#xA;&#xA;@client.event&#xA;async def on_voice_state_update(member, prev, cur):&#xA;    if client.user in prev.channel.members and len([m for m in prev.channel.members if not m.bot]) == 0:&#xA;        channel = discord.utils.get(client.voice_clients, channel=prev.channel)&#xA;        await channel.disconnect()&#xA;&#xA;@client.command(aliases=[&#x27;p&#x27;, &#x27;pla&#x27;, &#x27;join&#x27;, &#x27;j&#x27;])&#xA;async def play(ctx, url: str = &#x27;http://stream.eurobeat.xyz&#x27;): &#xA;    channel = ctx.message.author.voice.channel&#xA;    global player&#xA;    try:&#xA;        player = await channel.connect()&#xA;    except:&#xA;        pass&#xA;    player.play(FFmpegPCMAudio(&#x27;http://stream.eurobeat.xyz&#x27;))&#xA;    embedVar = discord.Embed(title="Started Playing!", color=discord.Color.random())&#xA;    await ctx.send(embed=embedVar)&#xA;

    &#xA;

    Would be very grateful for your help !

    &#xA;

  • avcodec/amfenc : Implement async_depth option

    7 novembre 2024, par Cameron Gutman
    avcodec/amfenc : Implement async_depth option
    

    This option, which is also available on other FFmpeg hardware encoders,
    allows the user to trade throughput for reduced output latency. This is
    useful for ultra low latency applications like game streaming.

    Signed-off-by : Cameron Gutman <aicommander@gmail.com>

    • [DH] libavcodec/amfenc.c
    • [DH] libavcodec/amfenc_av1.c
    • [DH] libavcodec/amfenc_h264.c
    • [DH] libavcodec/amfenc_hevc.c