Comments (20)
simple ui for now to create and remove playlists
from tubearchivist.
I prefer to use Jellyfin to watch the TA videos. In there I can download the videos before going out to my phone or ask it to transcode it to a lower bitrate if I want to watch it with limited data plan.
Thanks K1 I will have to install Jellyfin and take a look. I recall looking at their documentation and not seeing what I wanted. I like watching the youtube content from a list. So the concept I am looking for is: add/remove content from a list. Sync a device (once) with a list. Device auto downloads the list, device auto updates the list. I think this can be done with a combination of this feature, plus a real small new feature that provides a link to the 'podcast' format of the list. I think there are a lot of apps out there that understand the podcast format. Podcasts genre is update frequently (weekly basis for example), so I imagine the app developers have thought of this and have an offline solution to my use case. I'll have to see if there is a simple solution out there.
from tubearchivist.
Well, this is already an offline application. TA doesn't need internet connection to work, after you have downloaded and indexed your videos obviously. Should also be portable, like move a portion of TA to you laptop temporarily, all persistent data is in the volume, or if you know you'll be offline later, sync your data first, then you can use TA offline perfectly well. Just saying that you can do that already.
To the rest, obviously, please go ahead, any of the documented bug reports or feature requests are ready to be taken on by you.
from tubearchivist.
ok I think I will start on the playlist idea first (existing roadmap feature). The offline scenario is for an Android phone. I goto the gym and they don't have good WiFi, I don't have an unlimited cell data plan, but would still like to watch videos from my phone.
from tubearchivist.
Ah, I see, you mean offline from the TA server and not from the internet. Honestly that sounds like out of scope for this project, I don't see how this could be done with caching alone, as the interface constantly interacts with the backend.
Maybe some sort of static site generator would be a better approach? Or some sort of export script that can just get the video files you want and makes a copy to your phone? So you can use the phones built in media player?
from tubearchivist.
thanks you've given me some good ideas to refine the use case. Maybe something simple like 'download playlist'. In the meantime, I played around with the dev code and propose this menu organization for custom playlists:
from tubearchivist.
simple menu to add video to a playlist
from tubearchivist.
Looks great!
A lot of people have been asking for this feature, and will make a great addition :)
from tubearchivist.
Nice, some great progress here!
Not sure how well this is going to work once you have a dozen plus playlists? That will mess up the layout there. Maybe the controls for adding a video to a playlist would be better
suited on the video detail page? That already has the playlist navigation there too...
Edit:
I took the liberty to rename the issue. Feel free to open a PR, you can mark it as draft until you are ready.
from tubearchivist.
take a look at how youtube does this. It is similar to this approach. I can add scrollbar to drawer menu to limit impact on layout. If it turns out the drawer is a problematic, I can switch it to a popup centered around the tile, but I imagine that will come with it's own complexity to solve. I'm trying to limit this feature to 3 days or less (24 hrs or less) so the idea here is to get some basic features working so we can take a look at it on the testing branch.
from tubearchivist.
from tubearchivist.
I sent a preview pull request for this feature. I didn't see an option to associate the pull request to this ticket. Can you tell me how to do that?
from tubearchivist.
Are you still working on this? Ideally this should be tied together with #609, to make playlists extendible by type. I'd suggest to set a playlist_type
field so this can be filtered similarly how the channel subpages are implemented.
So playlist_type
could be any of regular
(default), custom
, album
and whatever we come up with later down the road.
from tubearchivist.
yes. playlist_type makes sense seeing the other feature request. I chose an is_custom boolean field, but I can refactor into the playlist_type. One issue that came up when inspecting the code is how we want to handle the existing playlists. I'd like to create a routine during the upgrade process that will add this field if it does not exist. Otherwise the elastic search queries and view logic contain many conditional statements.
from tubearchivist.
For the migration, you can take inspiration from how this has been handled before in similar cases, for example when we introduced auto start in v0.3.6:
https://github.com/tubearchivist/tubearchivist/blob/v0.3.6/tubearchivist/config/management/commands/ta_startup.py#L197-L204
Basically create a query similar to that, but if must not exist field playlist_type
, then set it to string 'regular' with the script. Then that command will always run at start up and will set the default playlist_type for all playlists that does not have the field set and won't do anything if a document has that field set.
With that approach you don't have to worry about any temporary logic within the application. And with the must not exist logic, you don't need to worry to overwrite legitimate custom
playlists as these will have the field set. I hope that makes sense?
That has been the most robust approach, at least from what I have come up with so far. Plus it's easy to remove after a few releases and we don't clutter up the code base with all these temporary migration logic.
from tubearchivist.
agree will do. this will need a good testcase
from tubearchivist.
I prefer to use Jellyfin to watch the TA videos. In there I can download the videos before going out to my phone or ask it to transcode it to a lower bitrate if I want to watch it with limited data plan.
from tubearchivist.
code update complete. Pull request issued at: #620
from tubearchivist.
requested additional permissions from admin so I can resolve merge conflict on testing branch.
from tubearchivist.
implemented and merged with v0.4.7, shutout to @greg321321
from tubearchivist.
Related Issues (20)
- [Installation]: Refusing to deserialize untrusted content of type pickle (application/x-python-serialize) HOT 4
- [Bug]: Channels with 'Index playlist' enabled: Unsubscribe button is displayed for the playlists that I don't subscribe HOT 1
- [Feature Request]: Better UX Flow that matches Youtube's flow. HOT 3
- [Bug]: 'Rescan subscriptions' button doesn't detect new videos for playlists HOT 2
- [Bug]: Downloaded videos disappearing from filesystem HOT 5
- [Bug]: Playlist Metadata extraction failed HOT 6
- [Feature Request]: More option for yt-dlp HOT 4
- [Installation]: tubearchivist-es crashes - ARM support request HOT 16
- [Feature Request]: Add new menu to show recently downloads videos not yet viewed HOT 5
- [Feature Request]: Support for Whisper Transcription HOT 1
- [Bug]: Downloads page stop button ambiguous HOT 3
- [Feature Request]: Video selection for (batch) actions HOT 2
- Deleted vidoes re-added to the queue HOT 2
- [Feature Request]: get a formated video name when downloading HOT 1
- [Bug]: Inconsistent subscriber count HOT 3
- Airplay not working on Apple TV. Any ideas why? HOT 9
- [Bug]: Tubearchivist has stop downloading and detecting new videos few days ago without any errors in the logs HOT 4
- [Feature Request]: Button to immediately delete all watched videos HOT 2
- [Feature Request]: ability to subscribe to channel in rolling fashion (ie, subscribe, but delete after x weeks to only keep the latest videos) HOT 4
- [Bug]: If YouTube Does Not Respond to Download Request Appropriately, TA May Get Stuck in a Retry Loop HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tubearchivist.