
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (6684)
-
Subtract a specific string from a variable in a for loop
14 octobre 2020, par FilipI am making a file converter with batch using FFMPEG.


I have encountered a problem when trying to subtract the name of a file from the complete link to the file to get the directory of the folder it is in so after the file is converted it can be put into that directory.


Can someone advise me on how I could subtract the string from the
filename
variable from the string in thedirectory


My code :


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set filetype=.flac
for /R %%a in ("*%filetype%*") do (
 set directory=%%a
 set filename=%%~na%filetype%
 set convdir=!directory:%filename%=!
 echo !convdir!
 pause
 ffmpeg -i "%%a" "convdir%%~na.wav"
 echo Converted %%a
)
echo Convertion Done!
pause



-
Anomalie #3575 (Nouveau) : Regression GD2
28 octobre 2015, par dani-belvil-net -Nomadgroup points out a functional regression on spip 3.0.20. compared to 3.0.17 :
Mensaje reenviado --------
Asunto : [Spip-es] Arreglado el problema del GD2
Fecha : Mon, 26 Oct 2015 22:02:48 -0500
De : Spip Nomadagroup <spip@nomadagroup.com>
A : spip <spip-es@rezo.net>Bueno como mis presentimientos eran ciertos. El problema es de la versión del spip 3.0.20. Me atrase a la versión 3.0.17 y anda bien el el GD2.
GD filters don’t work :El 26/10/15 a las 16:49, Spip Nomadagroup escibió : > Resulta que estoy queriendo usar la extensión para recortar unas imágenes pero no funciona... > me esta arrojando errores (Error : filtro image_recadre no definido) o no hace la modificación.
-
ydl erroring on download only getting partial download and an error on ydl.download([url])
11 septembre 2022, par newtbootbuilding 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

import discord
import aiohttp
import random
import youtube_dl
import os
from discord.ext import commands

@bot.command()
async def play(ctx, url : str):
 song_there = os.path.isfile("song.mp3")
 try:
 if song_there:
 os.remove("song.mp3")
 except PermissionError:
 await ctx.send("wait for current audion to finish or use the 'stop' command")
 return

 voiceChannel = discord.utils.get(ctx.guild.voice_channels, name='moosic')
 voice = discord.utils.get(bot.voice_clients, guild=ctx.guild)
 if voice is None or not voice.is_connected():
 await voiceChannel.connect()
 ydl_opts = {
 'format': 'bestaudio/best',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([url])
 for file in os.listdir("./"):
 if file.endswith(".mp3"):
 os.rename(file, "song.mp3")
 voice.play(discord.FFmpegPCMAudio("song.mp3"))