
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (51)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (5548)
-
Anomalie #2415 : Les autorisations SPIP 3.0, oups ?
5 janvier 2012, par marcimat -À ce propos, les noms d’autorisations des statistiques (http://zone.spip.org/trac/spip-zone/browser/_core_/plugins/statistiques/stats_autoriser.php) ne sont pas correctes actuellement en ?rev=56562 Un exemple : autoriser_statistiques_referers_menu_dist doit devenir
menu > onglet : (...)
-
music bot stops after playing music for 30-50 secs
19 mars 2023, par ra1nb0wconst { QueryType } = require("discord-player")
const player = require("../../client/player")
const Discord = require('discord.js')

module.exports = {
 name: 'play',
 cooldown: 5,
 aliases: ['p'],
 description: "Plays a song",
 usage: "?p <song></song>vid-URL>",
 category: "Music",

 async execute(client, message, args) {
 const songTitle = args.join(" ")
 const queue = await player.createQueue(message.guild);
 const nosongEmbed = new Discord.MessageEmbed()
 .setColor('#3d35cc')
 .setDescription(`‼️ - Please provide a song URL or song name!`)

 if (!songTitle) return message.reply({ embeds: [nosongEmbed] })
 

 const novcEmbed = new Discord.MessageEmbed()
 .setColor('#3d35cc')
 .setDescription(`‼️ - You have to be in a Voice Channel to use this command!`)

 if (!message.member.voice.channel) return message.reply({ embeds: [novcEmbed] })
 if (!queue.connection) await queue.connect(message.member.voice.channel)

 let url = songTitle
 
 // Search for the song using the discord-player
 const result = await player.search(url, {
 requestedBy: message.author,
 searchEngine: QueryType.AUTO
 })

 // finish if no tracks were found
 if (result.tracks.length === 0)
 return message.reply("No results")

 // Add the track to the queue
 const song = result.tracks[0]
 await queue.addTrack(song)
 const embed = new Discord.MessageEmbed()
 .setColor("AQUA")
 .setDescription(`**[${song.title}](${song.url})** has been added to the Queue`)
 .setThumbnail(song.thumbnail)
 .setFooter({ text: `Duration: ${song.duration}`})
 message.reply({ embeds: [embed] })
 if (!queue.playing) await queue.play()
 

 

 }
 
 }




i used the command then the song just stops playing after 30-50 seconds, it is supposed to play till the music finishes and then keep staying in the voice channel until a few mins of no music


i have reinstalled ffmpeg


using :
discord.js : 13.14.0
discord-player : 5.2.2


-
Invalid data found when processing input on ffmpeg m4s to mp4 transfer
1er mars 2020, par keith scottThe result of the power shell window
I saw a post on here about converting m4s to mp4 and I have followed the steps of concatenating all the files into another m4s file that I called all.m4s and when I use the command ffmpeg -i allm4s.m4s -c copy video.mp4. I made the combined m4s file by coding an exe to add all the m4s files that have the word video in them to the m4s file. Here is the source code written in c# if you compile the code then that is the code I have used to make the m4s
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace files
{
class Program
{
static void Main(string[] args)
{
string dir = Directory.GetCurrentDirectory();
string[] info = Directory.GetFiles(dir);
Console.WriteLine(dir + "\\allm4s.m4s");
Console.ReadKey();
foreach (string name in info)
{
if (Path.GetFileName(name).Contains(".m4s") && Path.GetFileName(name).Contains("video"))
{
using (Stream srcStream = File.OpenRead(name))
{
using (Stream destStream = File.OpenWrite(dir+"\\allm4s.m4s"))
{
srcStream.CopyTo(destStream);
Console.WriteLine(destStream+name);
}
}
}
}
Console.ReadKey();
}
}
}I think if there is to be an issue it is to do with this allm4s.m4s file as the file size is about 1.5mb even though each segment m4s is about 750kb each and there are quite a lot.If anyone has a way of adding concatenating lots of files together through a program/application that would be useful.