Wiki: https://flexget.com/ Forum: https://discuss.flexget.com/ Bugs: https://github.com/Flexget/Flexget/issues | Got a problem? Upload logs and config to a paste service
dependabot[bot] on pip
gazpachoking (discord)
Well, the validation will never run on that, so that bit doesn't really matter. That bit only runs on startup, and ignores jinja fields because they wouldn't normally pass.
gazpachoking (discord)
I think using dateutil is probably easier than doing parsing on your own
gazpachoking (discord)
I also don't think it could ever actually be a datetime already, could it?
BrutuZ (discord)
I am using it. isoparse is from dateuril
gazpachoking (discord)
Oh, gotcha
gazpachoking (discord)
I think it's possible that field ends up as a number though, if it comes from a timestamp
gazpachoking (discord)
So str/float/int, but not datetime are the things that would need to be handled.
BrutuZ (discord)
I'm not sure, felt like a possiblity at the time before realizing Jinja turns even Integers into strings
gazpachoking (discord)
Depends on if native parsing is used
gazpachoking (discord)
Not sure if it is in this case
gazpachoking (discord)
Looks like it isn't at the moment
gazpachoking (discord)
In any case, your solution seems reasonable
BrutuZ (discord)
The odd thing is that when I ran black on that file manually it didn't change anything
BrutuZ (discord)
Was going for a "make pre-commit happy" commit (even though pre-commit should be running locally already) just to pass the test, turns out I couldn't
gazpachoking (discord)
It just wanted an extra newline somewhere.
gazpachoking (discord)
You might need to pull or rebase from develop
gazpachoking (discord)
Or, I could just click merge. Lemme double check it
BrutuZ (discord)
Shouldn't be, my launch script install both requirements files with every update
gazpachoking (discord)
Develop was already failing
gazpachoking (discord)
Made one comment on your PR, other than that it looks good
aidan (discord)
Heyo, is it possible to get some 👀 on this PR? Flexget/Flexget#3415 It's pretty straight forward
gazpachoking (discord)
Dunno if we want/need a dep, but this library just added support. https://github.com/pkkid/python-plexapi/releases/tag/4.11.0
gazpachoking (discord)
It's different than playlists
gazpachoking (discord)
There are a bunch of trailers that you can browse on plex now, and I want to be able to add them to my watchlist from the plex interface, then have flexget add them to my movie queue
gazpachoking (discord)
Plus you can browse shows/movies from other streaming services and add them to your watchlist. (or link directly to that streaming service to watch it, if you have it)
BrutuZ (discord)
I see, wasn't aware of these. Very rarely do I use a Plex app, usually limited by the godawful web-interface just to manage metadata and Kodi
gazpachoking (discord)
Oh, they do have it in the web app, but not the version bundled with pms
gazpachoking (discord)
You have to go to plex.tv
gazpachoking (discord)
Especially if it means I can control my auto-downloads more easily from the plex interface
BrutuZ (discord)
Having a really hard time escaping a re_replace capture group with \
within Jinja for about an hour, any advice?
"{{title|re_replace('([\\][_*()~`>#+=|{}.!-])', '\\\\1')}}"
That works for replacing the captured character with itself, but no matter how many slashes I add, I can't get it to replace ]
with \]
on the title
slim (discord)
Hey guys, I'm getting this error when I start the daemon "The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html"
slim (discord)
(flexget) pi@raspberrypi:~ $ flexget daemon start -d
2022-05-20 16:30:35 INFO manager Daemonizing...
2022-05-20 16:30:35 INFO manager Daemonize complete. New PID: 2779
(flexget) pi@raspberrypi:~ $ flexget daemon status
There does not appear to be a daemon running.
Currently stuck here, what's the best way to debug? I've tried all the different levels of loglevel but I can't seem to see what's causing it to crash
slim (discord)
2022-05-20 16:44:15 INFO manager Daemonizing...slim (discord)
nothing after that