Commit Graph

45 Commits

Author SHA1 Message Date
Simeon Bird 3f9b5f4663 Do Podcast updates on song change off main thread
Each time the song is changed, the podcast backend checks whether the
new song is a podcast and, if so, mark it as listened to. This requires
1-2 db queries, so do it off the main thread.

Time to change song before: 300 ms
                    after: 50 ms usually, 80 ms sometimes
2014-12-09 12:49:24 -05:00
Krzysztof Sobiecki 011155a751 Fix copyright notices inside src/podcasts 2014-11-05 17:48:03 +01:00
Krzysztof Sobiecki 5045f9b870 Don't use caller in OrganiseDialog 2014-11-05 02:37:44 +01:00
Krzysztof Sobiecki e4141dd862 Fix formating 2014-11-05 00:42:56 +01:00
Krzysztof Sobiecki 578c9ad598 Ability to automatically set podcast as listened after sucesfully sending it to a device 2014-11-05 00:42:55 +01:00
Krzysztof A. Sobiecki 3339aabf19 Fix crash during adding a new podcast 2014-03-03 17:45:31 +01:00
Krzysztof A. Sobiecki 1d1cc92263 Someone else 2014-02-10 13:51:03 +01:00
Krzysztof A. Sobiecki 171529c5b6 Fix all errors reported by cpplint.py 2014-02-07 22:35:28 +01:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
Krzysztof A. Sobiecki 09d68bf415 Scrub the auto usage, use unique_ptr, use correct types instead of QList 2014-01-28 17:01:14 +01:00
Krzysztof A. Sobiecki 655d7e1989 CopyToDeviceSlot is a wrong name 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki df992a4b4b Use auto in for statements, fix const in SetListened 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki f7be18b326 Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki c3e693a785 Whitespaces after if 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 081f4f721a Introduce an intuitive behaviour in podcasts menu 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 45ace04b29 More intuitive interface 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki b6c59bd4ca Fix whitespaces, Fix whitespaces, Fix whitespaces 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 3e27cdf749 Some minor fixes 2014-01-27 23:59:36 +01:00
Krzysztof A. Sobiecki 01635397d4 Fixed podcast copy to device 2014-01-27 23:59:36 +01:00
Krzysztof A. Sobiecki f60327b1d1 Initial 'Copy to device' support for podcasts 2014-01-27 23:59:36 +01:00
David Sansome 0ed6703305 Simplify whitespace in podcast titles. Fixes #4052 2013-12-29 14:26:25 +00:00
David Sansome af737057d0 Make it possible to mark all child episodes of a podcast as new/listened. Fixes issue 3565 2013-04-15 22:31:20 +10:00
John Maguire b41a2b5308 Revert "Try out C++11 strongly typed enums."
This reverts commit 4e74c7af2b.
2012-12-05 09:36:22 +00:00
John Maguire 4e74c7af2b Try out C++11 strongly typed enums. 2012-12-04 16:22:09 +00:00
David Sansome 5327b72f0b Implement the "Delete after x days" feature for listened podcasts. 2012-03-12 19:35:47 +00:00
David Sansome a5107b7dfc Add the normal playlist actions to the podcast context menu 2012-03-12 16:21:05 +00:00
David Sansome 40858d26c5 Add an "Add Podcast" menu item to the main Music menu, and always display new podcasts in the list when adding them 2012-03-12 14:11:24 +00:00
David Sansome f16fc8867e Allow podcasts to be added through the normal SongLoader mechanism (dragging to the playlist, on the commandline, "Add Stream", etc.) 2012-03-11 17:57:15 +00:00
David Sansome 0cfeeb467a Add menu actions for deleting downloaded data and marking episodes as new/listened. Enable/disable actions depending on what's selected, allow actions to affect multiple items. 2012-03-11 15:36:35 +00:00
David Sansome 75a897e92d Don't require each InternetService to keep track of its own current index - do it in the model instead 2012-03-11 14:44:43 +00:00
David Sansome 8cc971fa93 Mark podcast episodes as listened when they're listened to 2012-03-11 12:27:48 +00:00
David Sansome 19a971c7cd Add support for adding podcast episodes to the playlist 2012-03-10 23:39:09 +00:00
David Sansome d538b71809 Add buttons and menu items to open the Podcast settings page. Also route these requests through Application rather than InternetModel 2012-03-10 22:39:24 +00:00
David Sansome 792a2e239d Better (some) UI feedback of downloading podcasts. Also fix a bug parsing the timestamps you see in some RSS feeds 2012-03-10 21:06:16 +00:00
David Sansome b0dd1bd284 Add a podcast downloader 2012-03-10 15:32:36 +00:00
David Sansome 87a9e41cd5 Add a context menu item to remove a podcast 2012-03-09 20:02:12 +00:00
David Sansome f501098998 Fix a segfault when unsubscribing from a podcast 2012-03-09 18:57:54 +00:00
David Sansome b9e08bbfe6 Update podcasts on a schedule and on demand. Update them immediately after subscribing, and make episodes appear in the tree. 2012-03-09 15:26:15 +00:00
David Sansome 17dfc99462 Add an iTunes podcast search page 2012-03-07 12:27:44 +00:00
David Sansome 628820917d Add an Unsubscribe button to the Add Podcast dialog 2012-03-07 11:22:55 +00:00
David Sansome 7f0928e8c6 Sort podcasts in the model rather than in the database backend, and add new podcasts to the model immediately 2012-03-07 11:04:47 +00:00
David Sansome 884080684a Add a helper class to load icons asynchronously and set them on QStandardItems 2012-03-06 21:24:41 +00:00
David Sansome f2885c0319 Return more useful aggregate information from the PodcastBackend, show something in the Internet service 2012-03-06 18:40:17 +00:00
David Sansome c91acdb3f1 Add an Add Podcast dialog 2012-03-06 18:39:34 +00:00