Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (76)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (5529)

  • Evolution #3091 : Gérer le timeout lors du calcul des filtres images

    10 août 2014, par cedric -

    Le problème ne vient pas du nombre de modèles <doc></doc> ou <img style='max-width: 300px; max-height: 300px' /> proprement dit, mais du nombre d’images réduites qu’il faut générer lors de l’affichage de la page. Ainsi, lors du premier affichage, on doit calculer toutes les images réduites d’un coup, ce qui prend du temps, et on fait timeout. Il suffit en général de ré-afficher la page une fois (ou plusieurs si il y en a vraiment beaucoup) pour que le calcul des images se finisse, et l’article s’affichera très bien ensuite.

    Il n’est pas question de limiter le nombre de documents/images insérées dans un article, car ce serait trop limitatif.
    Idéalement il faudrait être capable de gérer proprement ce timeout, et relancer le hit automatiquement au besoin.

  • Discord js music player bot suddenly leaves

    29 janvier 2024, par ImK

    So I made a music bot for discord js that uses discord player package. The command runs perfectly but in the middle song suddenly stops I tried searching everywhere nothing works and i think its an issue for ffmpeg but im not so sure

    &#xA;

    bot.player = new Player(bot, {&#xA;    ytdlOptions: {&#xA;        quality: &#x27;lowestaudio&#x27;,&#xA;        highWaterMark: 1 >> 25&#xA;    },&#xA;})&#xA;&#xA;const player = bot.player;&#xA;&#xA;//play command &#xA;&#xA;&#xA;bot.on(&#x27;interactionCreate&#x27;, async interaction =>{&#xA;    if(interaction.commandName === &#x27;play&#x27;) {&#xA;&#xA;        const song = interaction.options.get(&#x27;song&#x27;).value;&#xA;        const res = await player.search(song, {&#xA;            searchEngine: QueryType.SPOTIFY_SONG&#xA;        });&#xA;&#xA;&#xA;        if (!res || !res.tracks.length) return interaction.reply({ content: `No results found ${interaction.member}... try again ? ❌`, ephemeral: true });&#xA;&#xA;        const queue = await player.createQueue(interaction.guild)&#xA;&#xA;        if (!queue.connection) await queue.connect(interaction.member.voice.channel);&#xA;&#xA;&#xA;        await interaction.channel.send({ content:`Loading your ${res.playlist ? &#x27;playlist&#x27; : &#x27;track&#x27;}... &#127911;`});&#xA;&#xA;        const track = await res.tracks[0]&#xA;&#xA;        console.log(track)&#xA;        if(!track)  return interaction.channel.send({content: &#x27;No song found&#x27;});&#xA;&#xA;        queue.addTrack(track)&#xA;&#xA;        queue.play();&#xA;&#xA;    }&#xA;})&#xA;

    &#xA;

    After leaving the channel, other commands and bot work fine

    &#xA;

  • Using Python to make a terminal-based YouTube audio streamer

    11 août 2015, par Tyson Berry

    I want to make a terminal-based program that streams YouTube audio for easy listening to music. I’m aware that I’d have to use a converter like ffmpeg to extract the mp3 audio and an audio player like Foobar2000, I’m just unsure how to make it all work together.

    I have an idea for commands etc which is here. (Excuse my crude use of MS Paint)

    As you can see yap (YouTube Audio Player, a working title) is the command used in front of a YouTube URL to tell the program what video to fetch. It then fetches the title of the video from the YouTube page’s source, which is listed in a text file on the desktop along with the URL. The song is then loaded and played through the audio player which is displayed in the terminal using the song time. When the song has ended, you can see the user has typed list. List opens up the list on the desktop, which displays all the songs previously entered in the program. The user can then select a number and play the corresponding song from the list.

    I have found this, which is outdated yet relevant.