mirror of
https://github.com/tubearchivist/tubearchivist-jf-plugin.git
synced 2026-03-23 20:37:14 +00:00
[GH-ISSUE #7] [Feature request]: Send watch state to TA. #5
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-jf-plugin#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xusiai on GitHub (Apr 24, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/7
Originally assigned to: @DarkFighterLuke on GitHub.
Would it be feasible to add support for sending watched state to TubeArchivist? Since videos can be configured for automatic removal after being set to watched in TA it would be nice if this feature continued to work when the actual media consumption is done in Jellyfin.
@Emporea commented on GitHub (May 11, 2024):
Will this include sync back and forth? This would include several things to consider so it doesnt mess up the watched state of either instance.
@ITSecUK commented on GitHub (Jun 30, 2024):
I would also be keen on this as a way to more easily manage the removal of watched videos. I might just start deleting in Jellyfin after watching, then set a cron for TA to update its metadata (cant set that cron in the settings page).
I was thinking it might be possible to adapt an existing jellyfin music scrobble plugin such as: https://github.com/lyarenei/jellyfin-plugin-listenbrainz but I have not yet had time to look into this further, and dont have experience with C# but just wanted to note down the idea incase anyone else is more familiar with that!
In response to the previous comment from @Emporea, I think bidirectional sync would be much harder, I would be fine with just jellyfin to TA sync personally, that would solve my usecase.
@diablo581 commented on GitHub (Jul 13, 2024):
Can you elaborate on this some please? This is kind of my use case.
@ITSecUK commented on GitHub (Jul 13, 2024):
@diablo581 I ended up going a different way and I just use the TA interface instead, the only downside of that is I cant watch on my TV easily.
Under settings > actions there is an option "Rescan filesystem" which will clean up any deleted files, but there are two things I didnt get around to finding out:
You can either figure out if you can add a new task somehow similar to how the app does it here:
github.com/tubearchivist/tubearchivist@24b57406ab/tubearchivist/config/management/commands/ta_startup.py (L261)Or worst case you could just hit the API /api/task-name/rescan_filesystem/
as the webapp does:
github.com/tubearchivist/tubearchivist@24b57406ab/tubearchivist/static/script.js (L488)Good luck!!
@DarkFighterLuke commented on GitHub (Aug 30, 2024):
@ITSecUK your use case has little to do with the main feature request, it's a particular use case not even specifically related to this plugin.
Anyway, the video removal would continue to work if TA deletes watched videos somehow, because the plugin would set those videos as watched.