sc_trans-Problem: Playlist not found

Status
Für weitere Antworten geschlossen.

Thundersturm

Benutzer
Hallo @all

ich hab auf meinem Suse-Linux Root vor kurzem erfolgreich sc_trans installiert und es lief auch einige Tage fehlerfrei. Dann wurde der Server neu gestartet und ich wollte sc_trans neu starten und auf einmal gibt die konsole mir folgende Meldung:
<02/05/08@02:31:49> [MAIN] Loaded config from start
<02/05/08@02:31:49> [MAIN] No playlist file found ()

dann dachte ich mir okay, muss ich halt eine neue .lst erstellen, habe ich dann mit
find /pfadzurmusik -type f -name "*.mp3" > /home/example.lst
gemacht, die Playliste wird auch angelegt und ist unter /home/example.lst vorhanden
und enthält auch einträge wie
/pfadzurmusik/Interpret - Titel.mp3

in der sc_trans.conf habe ich ebenfalls
PlaylistFile=/home/example.lst
angegeben, trotzdem sagt er mir wenn ich sc_trans starte
<02/05/08@02:31:49> [MAIN] Loaded config from start
<02/05/08@02:31:49> [MAIN] No playlist file found ()

Fehlende Zugriffsrechte können eigentlich nicht vorliegen, da das Musikverzeichnis, die .pls-Datei und auch sc_trans dem selben benutzer zugeordnet sind, und wie gesagt es lief ja bis zum Neustart.

hat wer von euch eine Idee?

Gruss

Sandro

edit: nun gibt er folgende Meldung:
[conf] Warning: invalid statement on line 3
<02/05/08@02:57:23> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<02/05/08@02:57:23> [MAIN] PID: 14814
<02/05/08@02:57:23> [MAIN] Loaded config from start
<02/05/08@02:57:23> [MAIN] No playlist file found ()


Hier mal die komplette Config:

; Sample sc_trans/0.35-j config file
; j.frankel 12/05/00
; t.pepper 10/31/00
; (relays not supported, yo)
;
; sc_trans operates in one of two modes, either reading mp3s off disk, decoding,
; re-encoding, and then broadcasting them, or relaying from a shoutcast server,
; transcoding to a lower bitrate, and broadcasting to a new server.

; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
TERM - normal sc_trans shutdown (clean)

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile=/home/example.lst

; ServerIP/ServerPort are the target server to send to
ServerIP=xxxx
ServerPort=xxxx

; Password is the password on the sc_serv you're sending to.
Password=xxxx

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=Teststream
StreamURL=
Genre=Mixed

; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log

; Shuffle the playlist
Shuffle=1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=128000
SampleRate=44100
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=1

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=
ICQ=
IRC=
 
AW: sc_trans problem Playlist not found

Hi,

ich weiß nicht 100%, ob das was zu bedeuten hat, aber in dem Config-file, daß Du gepostet hast, steht folgendes drin:

Code:
; USR2 - toggle shuffle on/off
TERM - normal sc_trans shutdown (clean)

die erste der beiden Zeilen ist ein Kommentar (Das Semikolon am Anfang der Zeile). In der zweiten Besipielzeile *fehlt* dieses Kommentarzeichen, wenn das in Deinem Configfile auch so ist, könnte es sein, daß sc_trans das als Parameter zu interpretieren versucht und scheitert, weil es nicht das übliche Format "Parameter=Wert" hat. Normalerweise brechen Programme die Verarbeitung des Configfiles ab, wenn sie auf einen Fehler stoßen. Und nachdem sich diese Zeile *genau* vor der Definition deiner Playlist befindet, könnte es gut der gesuchte Fehler sein.

Vorschlag: füge mal vor dem "Term" ein Semikolon ";" ein und probiere es nochmal - sollte das nicht gehen, müßte man sich das nochmal genauer anschauen, das erstmal nur als "Schnellschuß" - ich muß auch mal wieder was arbeiten :))

LG

McCavity
 
AW: sc_trans-Problem: Playlist not found

Hi

habe das ; vor Term gesetzt und erneut versucht zu starten, wieder kommt die Meldung

[conf] Warning: invalid statement on line 3
<02/05/08@10:08:01> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<02/05/08@10:08:01> [MAIN] PID: 1510
<02/05/08@10:08:01> [MAIN] Loaded config from start
<02/05/08@10:08:01> [MAIN] No playlist file found ()

Gruss

Sandro

edit
hab nun auch nochmal die Originalconfig wieder aufgespielt ....gebracht hat es nix
 
AW: sc_trans-Problem: Playlist not found

Sorry für den 2. Post aber ansonsten wird es glaub ich zu unübersichtlich.

Ich habe nun den ganzen Tag weiter gebastelt und den "installierten" sc_trans wieder entfernt und einen neuen aufgesetzt.

Die Fehlermeldung von wegen
[conf] Warning: invalid statement on line 3
ist weg!

nun gibt er mir beim Start folgendes aus:
[conf] Couldn't find start -- assuming defaults
<02/05/08@18:24:20> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<02/05/08@18:24:20> [MAIN] PID: 27346
<02/05/08@18:24:20> [MAIN] Loaded config from start
<02/05/08@18:24:20> [MAIN] No playlist file found ()



eine Playlist habe ich angelegt mit dem Namen example.lst und sie befindet sih im selben Ordner wie die sc_trans-Dateien & die Config.

die Config sieht so aus:
; Sample sc_trans/0.35-j config file
; j.frankel 12/05/00
; t.pepper 10/31/00
; (relays not supported, yo)
;
; sc_trans operates in one of two modes, either reading mp3s off disk, decoding,
; re-encoding, and then broadcasting them, or relaying from a shoutcast server,
; transcoding to a lower bitrate, and broadcasting to a new server.

; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile=example.lst

; ServerIP/ServerPort are the target server to send to
ServerIP=127.0.0.1
ServerPort=8000

; Password is the password on the sc_serv you're sending to.
Password=******

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=MER
StreamURL=xyz
Genre=Mixed

; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log

; Shuffle the playlist
Shuffle=1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=128000
SampleRate=44100
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=1

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=AIMHandle
ICQ=
IRC=shoutcast

wo liegt jetzt noch der Fehler, komme langsam echt ans Grübeln

Thx

Gruss

Sandro
 
AW: sc_trans-Problem: Playlist not found

Hi

Pfad hab ich mal testweise wie vorgeschlagen auf den absoluten Pfad gelegt, ohne Erfolg.
Die example.lst hab ich auch spasseshalber mal auf 777 gesetzt, selbst bei diesen Rechten bleibt die Meldung:
./sc_trans_linux start
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
[conf] Couldn't find start -- assuming defaults
<02/05/08@19:00:02> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<02/05/08@19:00:02> [MAIN] PID: 4354
<02/05/08@19:00:02> [MAIN] Loaded config from start
<02/05/08@19:00:02> [MAIN] No playlist file found ()

Gruss

Sandro
 
AW: sc_trans-Problem: Playlist not found

Hi

sie heisst

sc_trans.conf

Gruss

Sandro

thx Pegasus!

du hast mich auf die richtige Idee gebracht, als ich das ganze mit
./sc_trans_linux sc_trans.conf start
gestartet hab hat alles wieder funktioniert!

Gruss

Sandro
 
AW: sc_trans-Problem: Playlist not found

Und täglich grüßt das Murmeltier. Wenn ich mich recht erinnere (was in meinem Alter schon manchmal recht schwierig ist) hatten wir das Thema gerade vor ein paar Tagen ausgibig durchgekaut, wenn auch in einem etwas anderem Kontext.

Hilfestellung:
./sc_trans_linux start sagt folgendes:

starte sc_trans_linux mit der Konfigurationsdatei Namens start die (je nach Distribution) irgendwo gesucht wird.

Hmpf....
 
sc_trans reboot + richtig starten

Hallo,

habe mich durch das Forum durchgelesen und dieser Thread beschreibt mein Problem.

Die Lösung ist:
du hast mich auf die richtige Idee gebracht, als ich das ganze mit
./sc_trans_linux sc_trans.conf start
gestartet hab hat alles wieder funktioniert!


Nur werde ich daraus nicht schlau. Ich starte sc_trans immer so per SSH:
/var/www/web3/web/radio/sc_trans_040/sc_trans_linux

Nur kann er dann keine Playlist finden und die sc_trans.conf findet er auch nicht. Könnte mir jemand die Lösung irgendwie erklären?

Und bei Änderungen in der config muss ich ja das Skript neu starten. Aber wie? :wall:
 
AW: sc_trans reboot + richtig starten

Nur mal so gefragt:

Du hast die Playlist auch gekillt bevor Du sie neu starten moechtest?
Denn ansonsten steht hier genau beschrieben wie Du die .conf mitstarten kannst.


Anmerkung:
Aber immerhin bist Du einer der wenigen, die bereits die Suchfunktion genutzt haben. :)
 
AW: sc_trans reboot + richtig starten

Nur kann er dann keine Playlist finden und die sc_trans.conf findet er auch nicht. Könnte mir jemand die Lösung irgendwie erklären?

Wie soll dir jemand was erklären können, wenn du weder sagst, wo die playliste und die sc_trans.conf liegt und wie deren Inhalt ist? Meine Glaskugel wurde heute von meinen Katzen runtergeworfen und somit kann ich sie nicht nutzen, bis sie aus der Reparatur kommt.
 
AW: sc_trans-Problem: Playlist not found

Das Zitat bei mir kommt ja von hier:

http://radioforen.de/showpost.php?p=377205&postcount=8

Und die Passage ./sc_trans_linux sc_trans.conf start bringt mich nicht wirklich weiter. Daher auch meine Bitte im Posting.

Es liegt alles im Verzeichnis:
/var/www/web3/web/radio/sc_trans_040/

Und so starte ich das Radio jeweils:
Code:
/var/www/web3/web/radio/sc_trans_040/sc_serv
/var/www/web3/web/radio/sc_trans_040/sc_trans.conf
[CODE]
Jedoch muss ich diese neu starten, da die Config geändert wurde, bevor wir zur Glaskugel kommen. :) Und die genannte Passage bringt mich nicht weiter.
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben