Commit Graph

35 Commits

Author SHA1 Message Date
tastytea f9e62efe73 find: specify global options (-maxdepth) before others. 2021-02-26 00:31:26 +01:00
tastytea 8fa4e9f903 Don't try to delete files when deleting empty directories. 2021-02-10 12:22:34 +01:00
tastytea 4462676df1 Remove empty directories. 2020-12-31 01:29:00 +01:00
tastytea 0cf9f65894 Replace # with _ in filenames.
Some media players don't like # in M3U playlists.
2020-12-25 18:21:01 +01:00
tastytea 94ab72a6ec Revert "Replace # with _ in m3u playlists."
This reverts commit 124032041f.

Changing the name in the palylist without changing the file name doesn't
help. 🤦
2020-12-25 17:58:31 +01:00
tastytea 124032041f Replace # with _ in m3u playlists.
Some players treat '#' in a filename as the beginning of a comment.
2020-12-25 13:48:50 +01:00
tastytea a2ff570736 Don't add subtitle files to playlist. 2020-12-24 00:19:10 +01:00
tastytea 713c3556fd Move delete above download.
I had a freshly downloaded video deleted immediately. Not sure why,
probably the wrong date was written. This change will make it possible
to check if that is the case.
2020-12-24 00:16:14 +01:00
tastytea 4b38fd2b15 Clarify max_videos description. 2020-12-19 13:01:37 +01:00
tastytea 42d10093fa Add license. 2020-12-17 20:38:09 +01:00
tastytea 03c8b512ea Put time for playlist filename in a variable.
The old behaviour could have lead to more than 1 playlist per run.
2020-12-17 12:37:47 +01:00
tastytea 2a80fa1ba2 Add deletion-warning to readme. 2020-12-16 21:23:39 +01:00
tastytea a58b58a655 Make files_before and files_after local. 2020-12-16 21:21:20 +01:00
tastytea eab91953eb Change description. 2020-12-16 19:30:35 +01:00
tastytea 0949d7311c List features in readme. 2020-12-16 19:29:14 +01:00
tastytea c66f4051f6 Fix matching for playlist. 2020-12-16 19:12:55 +01:00
tastytea e619cae944 Don't exit on youtube-dl error. 2020-12-16 18:56:08 +01:00
tastytea 6b0cce9020 Add max_videos config option. 2020-12-16 18:55:12 +01:00
tastytea 2dc541250e use relative paths in playlist. 2020-12-16 18:21:07 +01:00
tastytea 1ca20f6884 Exit on youtube-dl error. 2020-12-16 18:13:16 +01:00
tastytea 568775eaba Split ytdl_extra_args on whitespace. 2020-12-16 18:12:36 +01:00
tastytea 6b8b02152f Make program executable. 2020-12-16 18:03:33 +01:00
tastytea 442e31d2fd Write M3U playlist with new videos. 2020-12-16 17:59:44 +01:00
tastytea 9c083ec36e Add ytdl_extra_args. 2020-12-16 17:22:33 +01:00
tastytea fc25d0a1f6 Enhance documentation for keep_for_days. 2020-12-16 16:57:44 +01:00
tastytea 8944c2a6c2 Fix README formatting. 2020-12-16 16:56:12 +01:00
tastytea c8ff991a04 Rename program filename (drop .sh). 2020-12-16 16:55:33 +01:00
tastytea cefad4898e Add install instructions. 2020-12-16 16:52:53 +01:00
tastytea 9ddf88e2d0 Create download dir. 2020-12-16 16:52:39 +01:00
tastytea 41cc86c466 Fix output template. 2020-12-16 16:52:27 +01:00
tastytea 6f172c0ee4 Fix example feed URLs and clarify that feeds are not RSS feeds. 2020-12-16 16:29:29 +01:00
tastytea 9f6e5315eb Add documentation. 2020-12-16 16:14:16 +01:00
tastytea cfc5ac12b9 Delete old files. 2020-12-16 16:14:08 +01:00
tastytea b8347e1645 Add ytdl_format. 2020-12-16 16:13:57 +01:00
tastytea dac055634c Got it working. 2020-12-16 15:48:36 +01:00