Crates.io | ytitler |
lib.rs | ytitler |
version | 0.1.1 |
source | src |
created_at | 2019-02-01 18:38:57.569551 |
updated_at | 2019-02-23 13:58:40.448756 |
description | YouTube playlist files (m3u) organizer. |
homepage | https://gitlab.com/n1_/ytitler |
repository | https://gitlab.com/n1_/ytitler |
max_upload_size | |
id | 112058 |
size | 101,919 |
Playlist organizer for m3u files with YouTube URLs. Can also
be used as library - provides handy Playlist
and Scrapper
structs.
As a library:
let playlist = Playlist {
urls: vec![String::from("https://www.youtube.com/watch?v=UThGcWBIMpU")]
};
let chunks = playlist.to_chunks();
let videos = scrapper::fetch(chunks, None);
assert_eq!(videos.len(), 1);
assert_eq!(videos.first().unwrap().title.content, "WWDC 2018 Keynote — Apple");
As a binary
ytitler -f my_playlist.m3u
If you use a video player (i.e. SMplayer) which can open YouTube streams and keep your videos you wanna watch in a playlist you probably has something like this:
We are missing something here. The player doesn't fetch the video titles for us. Also the durations are 00:00 until you actually start playng the video.
YTitler can help you with this:
That looks much better. You get the channel name, release date, video title and video duration.
The URLs are fetched from the given file and processed asynchronously in bulks of 10. You also get a nice progress bar so you know how it's going.
For more options you can simply type in ytitler --help
.
Sure they are in progress. You can check the ticket list.
Because YouTube playlist management sucks. And because by watching a video in a player you get rid of ads. Yes, no ads at all.
Besides that I can filter, shuffle and use another features of my desktop player (in my case it's SMplayer). Also I can share/sync the playlist between my devices. VLC player on mobiles is the solution. And again, no ads even on mobile.
Absolutely! Just open up new merge request or issue.