Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11997)

  • avformat/daudenc : force 2000 sample packet size with a bsf

    3 mars 2024, par Marton Balint
    avformat/daudenc : force 2000 sample packet size with a bsf
    

    The samples I found all have 2000 sample packets, and by forcing the packet
    size with a bsf we could automagically make muxing work for packets containing
    more than 3640 samples.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] configure
    • [DH] doc/muxers.texi
    • [DH] libavformat/daudenc.c
    • [DH] tests/ref/fate/dcinema-encode
  • fate/mxf : add JPEG 2000 test

    6 septembre 2022, par Pierre-Anthony Lemieux
    fate/mxf : add JPEG 2000 test
    

    Reviewed-by : Tomas Härdin <tjoppen@acc.umu.se>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] tests/fate/mxf.mak
    • [DH] tests/ref/fate/mxf-probe-j2k
  • Distube (Unbuntu) - DiscordAPIERROR : Invalid Form Body Content : Must be 2000 or fewer in length

    25 mai 2021, par Bombo43453

    I recently transferred my discord bot to a VPS that is unbuntu based. The issue is that it will not play any sort of music. It starts to process it and then it says the error below.

    &#xA;

    (node:5252) UnhandledPromiseRejectionWarning: DiscordAPIError: Invalid Form Body&#xA;content: Must be 2000 or fewer in length.&#xA;    at RequestHandler.execute (/home/lanthonylal/EA-BOT/node_modules/discord.js/src/rest/RequestHandler.js:154:13)&#xA;    at processTicksAndRejections (internal/process/task_queues.js:95:5)&#xA;    at async RequestHandler.push (/home/lanthonylal/EA-BOT/node_modules/discord.js/src/rest/RequestHandler.js:39:14)&#xA;(node:5252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by re&#xA;jecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see http&#xA;s://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)&#xA;(node:5252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proces&#xA;s with a non-zero exit code.&#xA;

    &#xA;

    My Play.js File :

    &#xA;

    module.exports = {&#xA;    name: `play`,&#xA;    description: `Play A Song`,&#xA;    hidden: false,&#xA;    aliases: [`p`],&#xA;    usage: `(song)`,&#xA;&#xA;async execute(client, message, args, Discord, errorlog, botlog, msglog, profileData, guildProfile){&#xA;    const music = args.join(&#x27; &#x27;);&#xA;    if (!message.member.voice.channel) return message.channel.send(`Uh Oh - You&#x27;re not in a voice channel !`);&#xA;&#xA;        if (message.guild.me.voice.channel &amp;&amp; message.member.voice.channel.id !== message.guild.me.voice.channel.id) return message.channel.send(` You Are Not In The Same Voice Channel The Bot Is Currently In!`);&#xA;&#xA;        if (!args[0]) return message.channel.send(`Uh Oh - Please indicate the title of a song !`);&#xA;    client.distube.play(message, args.join(&#x27; &#x27;))&#xA;}&#xA;}&#xA;

    &#xA;

    I can confirm that this works when I use windows powershell. Do you think this can possibly be due to it being unbuntu or does distube have no support for this ?

    &#xA;