Skip to content

Commit 5d4f79a

Browse files
authored
Merge pull request #54 from dconrad5/danas_changes
Add documentation for rockbox_coverart extension
2 parents 42c0d91 + b6eae97 commit 5d4f79a

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

docs/extensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The following extensions are included with gPodder 3:
2121
- **Notification Bubbles for Windows** - 'Display notification bubbles for different events.
2222
- [**Remove cover art from OGG files**] - removes coverart from all downloaded ogg files
2323
- [**Rename episodes after download**] - Rename episodes to “<Episode Title>.<ext>” on download
24+
- [**Rockbox Cover Art Sync**] - Normalize and sync channel coverart to Rockbox or other portable media players
2425
- [**Search for new episodes on startup**] - Starts the search for new episodes on startup
2526
- **Sonos** - Stream podcasts to Sonos speakers
2627
- **Subtitle Downloader for TED Talks** - Downloads .srt subtitles for TED Talks Videos
@@ -98,6 +99,7 @@ This is OK: no need to recompile anything: just edit the **.py** and restart...
9899
[**Normalize audio with re-encoding**]: extensions/normalizeaudio.md
99100
[**Rename episodes after download**]: extensions/renameafterdownload.md
100101
[**Remove cover art from OGG files**]: extensions/removeoggcover.md
102+
[**Rockbox Cover Art Sync**]: extensions/rockbox_coverart.md
101103
[**Tag downloaded files using Mutagen**]: extensions/tagging.md
102104
[**Search for new episodes on startup**]: extensions/searchepisodeonstartup.md
103105
[**Video Converter**]: extensions/videoconverter.md

docs/extensions/rockbox_coverart.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Rockbox Cover Art Sync
3+
---
4+
5+
This extension writes podcast subscription cover art to a media player.
6+
This extension assumes that each podcast has its own folder on device.
7+
Only folder-wide coverart is written - this extension does not do anything about
8+
embedded cover art.
9+
10+
Cover art is converted to the desired file format and image size
11+
via the python "pillow" module, and written to the desired filename.
12+
13+
Existing files (of the correct name) will be checked to see if they
14+
need to be overwritten to conform to the size, baseline/progressive,
15+
and file format parameters.
16+
17+
All jpegs will be written as "baseline" (rather than "progressive") type. Rockbox
18+
only supports baseline jpegs.
19+
20+
## Dependencies
21+
22+
Requires python modules `pillow` and `filelock`. These are available on pip.
23+
24+
## Settings
25+
26+
| setting | value | description |
27+
|---------|-------|-------------|
28+
| extensions.rockbox_coverart.art_name_on_device | cover.jpg | Desired filename on device. Only jpg, jpeg, and png filetypes allowed. |
29+
| extensions.rockbox_coverart.convert_and_resize_art | **True**/False | Enable conversion and resize operations |
30+
| extensions.rockbox_coverart.convert_size | 500 | Cover art will be resized so that the larger of (height, width) is equal to this size. If convert_allow_upscale_art=False, art smaller than this size will retain its size. Only used if convert_and_resize_art=True. |
31+
| extensions.rockbox_coverart.convert_allow_upscale_art | True/**False** | Allow upscaling of art. If set to true, will allow images smaller than convert_size to be upscaled to convert_size. Only used if convert_and_resize_art=True. |
32+
33+
Links:
34+
35+
- [Extension Source](https://github.com/gpodder/gpodder/blob/master/share/gpodder/extensions/rockbox_coverart.py)

0 commit comments

Comments
 (0)