#yaml hell

1 messages · Page 1 of 1 (latest)

eternal jungle
#

Brand new here (very bummed to hear the project is over) and I'm sorry - but i feel like i'm losing my mind lol. Ai has attempted to 'help' me do the same set of steps for about a day (seriously). This should be simple (I'd imagine).

Windows10, latest ersatz version. I create channels, i create a playouts folder (one wasn't there and ai told me i had to make my own). We struggled for hours on how to actually make correct yaml files. I just want the yaml files to sift content for certain path names and genres.

I go to add a playout, I'm told to use sequential. I can choose a channel and a sequential file. Ai keeps telling me i should have a dropdown for the sequential file entry, butall i have is a line to put a path or link to the file. No matter what i see to put there, it allows me to add it... but then i get a yellow bang/warning message on the main ui page is Sequential schedule file "...ersatztv\playouts\daughtermovies.yml is invalid"

Literally at the end of my wit. Halp please.

lyric depot
#

There's a yaml validator in the troubleshooter in etv that might help a bit. Adding the file by the filepath is correct, you can store the file anywhere and just point etv to it. Usually the issue that comes up with yaml validation is indentation being incorrect. I attached one of my yaml files to give you an idea, but if you post yours I can try to troubleshoot if you get stuck

#

here's a really straightforward one too that I use in case you just want to play content from one specific search

eternal jungle
#

thanks i made the files tiny and basic just to hope there'd be no problem

lyric depot
#

it looks like the AI hallucinated the "tag" bit, you should be able to put in a working search within etv as "query" rather than tag like in the Bob's Burgers example I posted. You'll also need "order" moved up to the content portion. Not sure on your reset/playout settings, but this one I'm posting should just repeat endlessly if that's what you're looking for. The only thing that would likely need to be changed is the search query

eternal jungle
#

i'l try it

#

at least i'm getting different errors "Unexpected error building playout for channel Famiwy: System.InvalidOperationException: Sequential playout loop detected at ErsatzTV.Core.Scheduling.YamlScheduling.Handlers.YamlPlayoutRepeatHandler.Handle(YamlPlayoutContext context, YamlPlayoutInstruction instruction, PlayoutBuildMode mode, Func2 executeSequence, ILogger1 logger, CancellationToken cancellationToken) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutRepeatHandler.cs:line 28 at ErsatzTV.Core.Scheduling.YamlScheduling.SequentialPlayoutBuilder.Build(DateTimeOffset start, Playout playout, PlayoutReferenceData referenceData, PlayoutBuildMode mode, CancellationToken cancellationToken) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV.Core/Scheduling/YamlScheduling/SequentialPlayoutBuilder.cs:line 272 at ErsatzTV.Application.Playouts.BuildPlayoutHandler.ApplyUpdateRequest(TvContext dbContext, BuildPlayout request, Playout playout, CancellationToken cancellationToken) in /home/runner/work/ErsatzTV/ErsatzTV/ErsatzTV.Application/Playouts/Commands/BuildPlayoutHandler.cs:line 187

lyric depot
#

Did you replace the search with one that works? I'm not sure on how you have your libraries setup for what you want to be playing

eternal jungle
#

well the one in question is path "F:! Permanent BACKUP! FAMILYPIC BACKUP MESS"

#

but i was worried my paths wouldn't work, when i tried to do query in the erstatztv media search bar sometimes i would get nothing so that tag search was working there at least

lyric depot
#

tag:"! FAMILYPIC BACKUP MESS" if you put this into the etv search, does it work?

#

If the search is working in ETV you should be able to use it as the query just with escape character \ for the quotes

eternal jungle
#

yessir that works, which is why we built them using that format... but didn't mean much as we couldn't get ersatz to deal with 'em

#

so tag: ! FAMILYPIC BACKUP MESS\ you mean?

lyric depot
eternal jungle
#

i'll try thanks

#

OMG BRO

#

no error messages

#

christ! there she is... my kid. it works brother, thanks so much

#

what do i need to know so i wont make mistakes later?

lyric depot
eternal jungle
#

I will give it a good thorough look through. Thanks again. Amazing stuff.

I'd really given up.