Parametro file seguente in batch

  • radioagenti
  • Topic Author
26 Jun 2018 15:40 #85518 by radioagenti
Parametro file seguente in batch was created by radioagenti
Salve,
ho la necessità di modificare la copertina di una sequenza oraria in base al file che andrà in onda.
Non riesco a trovare una maniera di automatizzare questa cosa.

Ho provato impostando la copertina attraverso mp3tag sul singolo file ma ha precedenza la copertina della sequenza oraria.
A questo punto ho rimosso la copertina dalla sequenza oraria ma viene passato il default.jpg.

L'unica via che ho trovato è utilizzare un batch per sostituire la copertina nella directory esattamente prima di mandare il file in onda.
Adesso ho la necessità di passare come parametro al mio script PowerShell come primo argomento il nome del file in onda.
Ho provato, senza successo, richiamando un eseguibile nella sequenza oraria: powershell -executionPolicy bypass -file "d:\Copertine.ps1" %sa%

Ho utilizzato lo stesso comando come "comando shell" nell'agenda ma anche qui l'argomento viene passato come stringa in %sa%.

Qualche idea?

Please Log in or Create an account to join the conversation.

More
27 Jun 2018 00:31 #85526 by MB RADIO
Replied by MB RADIO on topic Parametro file seguente in batch
Aggiorna all'ultima versione di MB STUDIO, tutto sara' enormemente piu' semplice.

Se attivi il flag "Visualizza Tag" nelle proprieta' dell'oggetto:

MB STUDIO cerchera' un'immagine .jpg secondo questa successione:
  1. immagine relativa al tag del file (ad esempio se il tag ha Interprete:Pippo e Titolo:Mario MB STUDIO cerca il file Pippo - Mario.jpg), se interprete+titolo vuoto o tag inesistente si passa allo step successivo
  2. immagine estratta dal tag del file - se il file non contiene nessuna immagine si passa allo step successivo
  3. immagine avente lo stesso nome del file (ad esempio se il file è pippo.mp3 MB STUDIO cerchera' l'immagine pippo.jpg), se non trovata si passa allo step successivo
  4. immagine avente lo stesso titolo della sequenza oraria o della playlist, se non trovata si passa allo step successivo
  5. immagine a caso scelta tra default1 e deafult10.jpg, se non trovata viene usata default.jpg

Il forum non sostituisce il servizio di assistenza tecnica. Per ricevere assistenza tecnica andare a questa pagina: www.newradio.it/client/submitticket.php?step=2&deptid=4
Pour signaler un problème, lisez ici: www.mbradio.it/fr/soutien/guide/713-sout...signaler-un-probleme
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds

MB STUDIO HOME / LITE / PRO

MB STUDIO PRO / LITE MB STUDIO is a radio automation software that will allow you to create and manage your own radio station playing all your media files: jingles, commercials, news, songs, Files from internet, live streams, live inputs from your sound card, satellite feeds. Automatically download news and shows from Internet. Multiple overlapping files and/or live sources (mic, line, aux). Voice tracking. Integrated CD Ripper. Integrated jukebox to play songs requested via sms / email messages. Display current playlist on your web site.

MB RECASTER PRO

video reel32MB RECASTER features an audio recorder with scheduler, a webcast module to send streams to any Shoutcast, Icecast or Windows Media server, AutoDJ function to play randomly your own audio files from up to 4 folders, a stream receiver allowing to record or recast to your server (transcoder), an audio converter from/to any format.

MB LIVE

MB LIVEMB LIVE is a software that stream a live audio\video feed from any place to an MB STUDIO PRO automation in the main radio studio. MB LIVE make use of a TCPIP connection. This program is free for MB STUDIO PRO users