LiveStreamDVR
LiveStreamDVR copied to clipboard
[Improvement] Auto Exporter
Would be great to have something that automatically exports to specified export destination so all the vods are getting send over ftp or something.
that should be a thing in settings
that should be a thing in settings
you are absolutely right, but its no implemented yet I guess?
haven't tested it myself really but it should be using the same exporter as the other ones
haven't tested it myself really but it should be using the same exporter as the other ones
ok have enabled it on my testing instance, will see what happens.
Would it be possible to export all existing vods with a single click?
Also when using the export button it opens a pop-up where you can set de name etc, when clicking exporting again nothing seems to happen to confirm you are starting the export. This resulted in multiple clicks, so now I uploaded the same vod multiple times without knowing :p
It does give a message in the log tho.
(Using mobile and it gives an error when adding pictures to show log etc)
exporting all could create some considerable issues with at least youtube, but i can probably implement it without a gui
export worked from lsdvr part, progress and process was also shown. Only thing is youtube beeing funny again:
yeah that is quite odd considering i check for the upload status now
i've improved the auto exporter by using the mass exporter, it should work properly now i think
mass exporting works at least with rclone, uses default exporter config
export worked from lsdvr part, progress and process was also shown. Only thing is youtube beeing funny again:
i've improved the auto exporter by using the mass exporter, it should work properly now i think
mass exporting works at least with rclone, uses default exporter config
not working for youtube mass export, since you cannot set a category which is mandatory it seems:
2022-10-27 11:06:49.532 | route.channel.ExportAllVods <ERROR> Auto exporter error for 'thiseguy (2022) - s202210e15': Exporter creation error: No category set
oh yeah that makes sense, fixing
should be properly pushed now
should be properly pushed now
2022-10-27 14:52:34 | route.channel.ExportAllVods | ERROR | Auto exporter error for 'thiseguy (2022) - s202210e15': Exporter creation error: No privacy level set |
---|
i wonder if i should force that to private or if people are actually auditing channels allowing public to be set
i wonder if i should force that to private or if people are actually auditing channels allowing public to be set
enforcing private would make the most sense.
eh maybe it's changed some day, i'll make default as private though
Regarding the Export button, it shows now it is exporting at the bottom of the screen! Very nice :)
However, if you don't pay atention to that you are still able to click the export button multiple times, so it will export muliple times.
Looking at current jobs it only shows 1 job:
But the ETA of the job very quicly jumps back and forth with time 6-11-6-11...etc (so 2 exactly the same jobs show as one?)
But the notification at the bottom is good enough for me, thanks! :D
@CappiSteijns is that on develop? the export button thing isn't on master yet, although i never tested it so it might be broken
eh maybe it's changed some day, i'll make default as private though
could you add title back to the name?
@CappiSteijns is that on develop? the export button thing isn't on master yet, although i never tested it so it might be broken
export button was working for me.
another great adition would be to delete the files after the uploaded finishes to save space.
uhh with how youtube uploads don't finish, would that be a good idea?
uhh with how youtube uploads don't finish, would that be a good idea?
I get what you mean then have to delete myself.
at least it saves some export metadata so it can be verified after the fact
eh maybe it's changed some day, i'll make default as private though
could you add title back to the name?
not possible to add?
it should have been added, forgot to mention in commit
it should have been added, forgot to mention in commit
thanks found it.
add to playlist is not working anymore though:
2022-10-28 09:38:11 | YouTube | SUCCESS | Video uploaded: ch4crYO-Cn0 |
---|---|---|---|
2022-10-28 09:38:11 | YouTube | SUCCESS | Video uploaded, no playlist: ch4crYO-Cn0 |
2022-10-28 09:38:11 | YouTubeExporter | INFO | Verifying /usr/local/share/twitchautomator/data/storage/vods/maxim/Season 202210/maxim (2022) (40002130488) - s202210e35.mp4 on YouTube... |
2022-10-28 09:38:12 | YouTube | SUCCESS | Video verified: ch4crYO-Cn0 |
2022-10-28 09:38:12 | automator.onEndDownload | SUCCESS | Exporter finished for vodBasenameTemplate() { const date = (0, import_date_fns13.parseJSON)(this.getStartDate()); if (!date || !(0, import_date_fns13.isValid)(date)) { Log.logAdvanced(Log.Level.ERROR, "automator.vodBasenameTemplate", Invalid start date: ${this.getStartDate()} ); } if (!this.channel) { throw new Error("No channel for template"); } const variables = { login: this.getLogin(), internalName: this.channel.internalName, displayName: this.channel.displayName, date: this.getStartDate().replaceAll(":", "_"), year: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "yyyy") : "", year_short: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "yy") : "", month: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "MM") : "", day: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "dd") : "", hour: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "HH") : "", minute: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "mm") : "", second: (0, import_date_fns13.isValid)(date) ? (0, import_date_fns13.format)(date, "ss") : "", id: this.getVodID().toString(), season: this.vod_season || "", absolute_season: this.vod_absolute_season ? this.vod_absolute_season.toString().padStart(2, "0") : "", episode: this.vod_episode ? this.vod_episode.toString().padStart(2, "0") : "" }; return (0, import_sanitize_filename8.default)(formatString(Config.getInstance().cfg("filename_vod"), variables)); } |
2022-10-28 09:38:12 | vod.saveJSON | SUCCESS | Saving JSON of maxim (2022) (40002130488) - s202210e35 (export successful) |
2022-10-28 09:38:55 | config | SUCCESS | Saved config from settings form saved |
playlist setup cohhcarnage=redacted;maxim=redacted;gronkh=redacted;...
did it actually put the source code in the log file or what happened there??
oh somehow js can print entire function sources, wack
it did say no playlist though, did it warn about having none?
oh somehow js can print entire function sources, wack
it did say no playlist though, did it warn about having none?
It did not warn about playlist. Just did not add them.