![]() |
Calendar.xml help plz
Ok here is what I am trying to do. I want to be able to have a playlist on for say1hour every 4 hours how do I do this. I have read the forum posts ect.. but still abit unsure here is my xml.
Quote:
Also on the test ui my staart times do not show. Is there a way to update the sc_trans without disrupting the stream and it adding the info to the xml at the same time. I noticed if I add an event via testui it adds it to the sc trans but not to the xml manythanks |
the times aren't in the correct format, have a check of http://dev.winamp.com/wiki/SHOUTcast...n#Calendar_Tag for the format it needs to be in (handling is pretty strict which is most likely why it's not working in testui).
there is an api to control this which is all in the testui code or via the ajax api details on the wiki / in the sc_trans docs from your install (assuming you're using build 40). as long as what is being played then that should play for the desired time. however, playlist events are queued up so if the current playlist goes over that time then it'll take until the end of the currently playing song for the event to take effect - this may change in a newer version of sc_trans but i'm not sure at the moment. -daz |
Quote:
Quote:
thanks again DR One more thing is 1 the highest prority? |
with the times, the help information shown does mention the format it needs to be saved in. as config_builder is only using what has been entered as it is currently designed it will cause such and issue. will try to get something done with future versions to resolve this in addition to general sc_trans updates.
the xml will only be re-written if calendarrewrite=1 is set in the config file (config_builder does the opposite of the sc_trans default). priority 1 is the lowest priority, so for something to be prioritised it needs to be higher than one. -daz |
Sweet thanks mate. The times do show up in the testui now.
|
On the calendar do I need to specify file extention for playlist name?
|
the playlist event uses the symbolic name of the playlist and not the actual playlist file i.e. it'll be what is set for playlistfilename (is mentioned in the help docs and in the config_builder help).
-daz |
got it :) me being stupid
|
1 Attachment(s)
whats this all about
|
k its not loading playlist over and over now but still cant get it to load the bennyl one on the specific time.
Quote:
|
might be an idea to add calendardebug=1 to your config file to see what sc_trans is trying to do with the events (has been a while since i've played with it myself so memory is a bit fuzzy on what would be going on).
-daz |
I have come up with this error
Quote:
|
make sure you've specified a playlistfilename and playlistfilepath pair for that playlist and that the _x id on them is the same if they are in there.
-daz |
calendar xml
Quote:
Quote:
|
it's because you've set the xml to look for 'bennyl' when you've named the playlist 'Benny L'. i guess i'll be tinkering with the docs to try to make it clearer that it needs to be exactly what is set for the 'playlistfilename' entry. or did you make that with the config_builder as well or manually?
-daz |
with config builder
|
When you made the playlist entry in the config builder did you also use the "Calendar" button or did you add the calendar event in the config builder manually?
[EDIT /] I just noticed something: code: There's a superfluous space between the priority config option and the token terminating character. Config builder doesn't do that. |
Here's the relevant config builder output for the settings you've got;
sc_trans.conf code: calendar.xml: code: I dunno if anybody has mentioned this or not but if you're using an M3U file make sure the M3U file name paths are absolute or are relative to the sc_trans instance (I think.) |
Quote:
Quote:
maythanks guys |
ok its pulling thelist now all good. Now the set up I got now the "offline" playlist plays whenever there is no schedual to play. The "bennyl" is to Play every 2 hours for 1hr 2 min so my question is this correct for the setup?
Quote:
|
Seems ok, just double check to make sure your shuffle and loop are what you wanted. I only mention the double check because on some posts back you had some different values.
Don't forget your DJ entry (if you still wanted the DJ) in the calendar. |
1 Attachment(s)
Ok lads here is teh set up I have settled on.
The Problem is some of the playlists are not loading and the backup playlilst just coninues playing. Any ideas? |
Can you post the portion of the sc_trans configs that show the named playlists?
|
Sure
Quote:
|
The first playlist event entry you have has a start time of "24:00:00". I don't know if sc_trans is interpreting that the way you want or not. Since there is no 25th hour of the day in actuality might want to go ahead and change that to "00:00:00" anyway.
I examined your playlist paths and noticed that the final folder name you've specified for the playlist locations happen to match the Priority Playlists Folder default setting in the config_builder. Whether or not it's the actual same path you've got setup or not I can't tell. The priority playlists folder is not the ideal place to put static playlists because sc_trans uses that folder and when it processes a playlist in that folder it removes the playlist file and puts it into the configuration specified archive folder. Double check your playlists and make sure they still exist. If they do, move them to a different location and then, of course, update the configuration to reflect the changes. If these two suggestions fail to provide the desired results, reopen your config_builder settings, go to the Transcoder Debug Logging options and enable Playlist Debug and Calendar Debug and resave your configurations, then attach your Transcoder logs here. |
24:00:00 should be invalid (would have to check when i've got a moment) but really midnight should be taken as 00:00:00 as that's what most time apis use.
-daz |
Quote:
|
it'll just show the SC site ip on the connection as that's where it's coming from - the DNAS isn't able to see any further from what i've seen / experienced. the user-agent should indicate if it's coming from the site player though i can't remember what it shows as at the moment.
-daz |
|
Still seems to be skiping all but electro f**k fest and fijita any idea.
|
Really need to enable those debug logging options I mentioned previously and post the logs. I've got nothing else to go on at the moment.
|
1 Attachment(s)
here is what i have and it just keeps repeating over and over and over non stop
|
| All times are GMT. The time now is 14:15. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.