orionlee
820b0b0793
test case bug fix: Bulk download 2nd item position should be 1
2019-11-05 11:04:23 -08:00
orionlee
ce5aa26878
refactoring test - factor out common operations of calc position,
...
add to queue and verify result into common helper.
2019-11-05 11:04:23 -08:00
orionlee
fb824b541d
Test cases readability: change expected format from position to the actual queue
...
(list of IDs), to make the test case more readable.
2019-11-05 11:04:23 -08:00
orionlee
97905e5ed4
#2448 : make podcast episode enqueue position respect download start order
2019-11-05 11:04:17 -08:00
orionlee
0973efa943
refactor test - break ItemEnqueuePositionCalculatorTest to be more modular
...
to prepare for testing more complex enqueue options.
2019-11-05 10:54:21 -08:00
orionlee
17e61335db
#2652 (part of): Expose keep in-progress at front as a preference
...
(in Playback > Queue section)
2019-11-05 10:54:21 -08:00
orionlee
30f104f40b
#2652 (part of): The in-progress podcast at the front of the queue
...
should remain at the front.
2019-11-05 10:54:21 -08:00
orionlee
bfde3c7315
refactor - DBWriterTest: parametrize the set of tests
2019-11-05 10:54:21 -08:00
orionlee
ba27ec6b31
refactor - DBWriter.addQueueItem() : refactor enqueue position calculation
...
to be a unit-testable component (static inner class)
2019-11-05 10:54:21 -08:00
sevenmaster
386395629b
Clearer button text for feching podcast ( #3575 )
...
When subscribing to a podcast, the old text might be confusing to new users (it's not downloading an episode, just the feed. That is not considered downloading for most users)
Signed-off-by: sevenmaster <seven-master@hotmail.de>
2019-10-31 23:00:39 +01:00
H. Lehmann
2a2ced1631
Merge pull request #3572 from ByteHamster/downloadservice-refactoring
...
DownloadService refactoring
2019-10-31 09:23:47 +01:00
H. Lehmann
e7367e218d
Merge pull request #3571 from ByteHamster/hide-play-button-on-destroy
...
Updating notification play button in onDestroy
2019-10-30 19:30:20 +01:00
ByteHamster
69f3a1210f
Do not refresh feeds more often than necessary
2019-10-30 19:27:38 +01:00
ByteHamster
6825cca32a
Updating notification more often
2019-10-30 18:19:36 +01:00
ByteHamster
dd5ba4d38d
Do not access context in constructor
2019-10-30 18:16:34 +01:00
ByteHamster
ea6b41116f
Extracted DownloaderFactory to new class
2019-10-30 18:16:26 +01:00
ByteHamster
8f168948ad
Reordered methods to have setup on top
2019-10-30 18:06:44 +01:00
ByteHamster
366e60990d
Posting downloaders on executor
2019-10-30 18:05:26 +01:00
ByteHamster
fe17f1bcb5
Extracted handling completed downloads to method
2019-10-30 17:51:22 +01:00
ByteHamster
74621170fe
Converted our own FeedSyncThread to a task+executor
2019-10-30 11:10:44 +01:00
ByteHamster
798868db9c
Extracted notification from DownloadService
2019-10-29 23:58:44 +01:00
ByteHamster
056d7db16b
Extracted feed sync from DownloadService
2019-10-29 23:39:29 +01:00
ByteHamster
7ae5424479
Updating notification play button in onDestroy
2019-10-29 22:37:58 +01:00
Ptilopsis Leucotis
917e60fbe2
Fix incorrect progress string on widget
...
If option "pref_followQueue_title" is disabled, when played episode #1 is ended and next episode #2 is loaded, progress string on widget show incorrect information about position and duration of episode, because it show (position / duration) of ended episode #1 instead of (position / duration) of loaded episode #2 .
2019-10-29 11:16:06 +03:00
ByteHamster
20e025bd2e
Prefer image that is specified in feed over embedded image
2019-10-27 22:52:41 +01:00
H. Lehmann
57818ade38
Merge branch 'develop' into more-eventbus-migration
2019-10-25 11:40:18 +02:00
H. Lehmann
a047e34f8e
Merge pull request #3528 from orionlee/podcast_screen_sort_2524
...
Sort Support in Podcast screen
2019-10-25 11:38:31 +02:00
ByteHamster
1de76f789f
Removed EventDistributor
2019-10-25 11:25:21 +02:00
ByteHamster
728ed23077
Migrated feed list update event to EventBus
2019-10-25 11:19:52 +02:00
ByteHamster
d4b9d0fd59
Migrated unread items update to EventBus
2019-10-25 11:12:48 +02:00
ByteHamster
b5ab7d6d3c
Migrated player status event to EventBus
2019-10-25 10:54:40 +02:00
fossterer
ca83c59537
Fixes #3444 - Strip off HTML from podcast descriptions
2019-10-24 23:20:31 -04:00
orionlee
baec984c0f
Feed Sort Order DB column: changed from Integer to Text, to allow flexibility of multiple sorts without DB schema change
2019-10-24 15:32:51 -07:00
orionlee
7687ffb08e
Misc code style fixes.
2019-10-24 13:49:32 -07:00
orionlee
007f1fbb87
Remove unused comparators after SortOrder refactoring
2019-10-24 13:39:28 -07:00
H. Lehmann
437f3f29c0
Merge pull request #3551 from ByteHamster/eventdistributor
...
Migrated some events from EventDistributor to EventBus
2019-10-24 22:28:33 +02:00
H. Lehmann
385bd3597b
Merge pull request #3550 from ByteHamster/remove-resume-intent
...
Removed resume intent
2019-10-24 22:27:48 +02:00
orionlee
9c895ef15a
Test to ensure Feed only accepts INTRA_FEED sort order
2019-10-24 12:17:31 -07:00
orionlee
bcd4b49dda
feeditem sort - handle boundary conditions
2019-10-24 12:03:22 -07:00
orionlee
306b6f30a4
rename + refactor QueueSorter to FeedItemPermutors, to support both queue and podcast screen.
2019-10-24 11:32:06 -07:00
orionlee
f56a02d513
sort in Podcast screen - implement all the sorts
2019-10-24 11:01:48 -07:00
orionlee
05dfccacc3
a new filter icon, to differentiate it from sort per review.
...
- Icon source: https://materialdesignicons.com/icon/filter-outline
2019-10-24 10:30:32 -07:00
H. Lehmann
f41bdcbaf2
Merge pull request #3544 from M-arcel/develop
...
Transparent widget
2019-10-23 23:11:51 +02:00
ByteHamster
ff44f97dd6
Showing a more interesting background image
2019-10-23 23:08:07 +02:00
ByteHamster
6642b79ac3
Code cleanup
2019-10-23 23:08:07 +02:00
ByteHamster
28cc00a016
Material design layout tweaks
2019-10-23 23:08:07 +02:00
Marcel Regeci
b513608032
Transparent widget
2019-10-23 23:07:49 +02:00
ByteHamster
7d3b78091f
Removed event that is never sent
2019-10-23 22:51:28 +02:00
ByteHamster
d8ffa6c459
Migrated playback history events to EventBus
2019-10-23 22:51:21 +02:00
ByteHamster
68da2e022d
Migrated download log events to EventBus
2019-10-23 22:41:20 +02:00