Commit Graph

77 Commits

Author SHA1 Message Date
Arnaud Bienner dac137cf11 Remove useless check.
No need to check isNull if you're checking isEmpty (see http://qt-project.org/doc/qt-4.8/qstring.html#distinction-between-null-and-empty-strings "A null string is always empty").
2014-01-31 20:17:26 +01:00
John Maguire 7ddf3aab45 Merge pull request #4145 from sobkas/master
Initial support for "Copy to device" in a podcast section
2014-01-31 04:31:43 -08: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
John Maguire 59cb17c08d Change some API URLs to use https. 2014-01-28 12:57:27 +01:00
Krzysztof A. Sobiecki 3a72faba97 Fix errors reported by Cpplint.py 2014-01-28 04:50:00 +01:00
Krzysztof A. Sobiecki 295c5bc087 Make code more readable 2014-01-28 04:33:20 +01:00
Krzysztof A. Sobiecki 20befa439c Add a space 2014-01-28 04:31:06 +01:00
Krzysztof A. Sobiecki 7ea6c027d4 Fix podcasts metadata 2014-01-28 04:16:51 +01:00
Krzysztof A. Sobiecki 655d7e1989 CopyToDeviceSlot is a wrong name 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki b0a97de603 Use more auto in for statements 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 6ea793f446 Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me mkII 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
John Maguire 2010b7d500 Include sys/time.h required for time_t on FreeBSD. 2014-01-23 17:06:43 +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
David Sansome 4f4110c03a Support podcast items that use x-audio/* mime-types, like x-audio/m4a. Fixes issue 3448 2013-02-05 22:22:52 +11: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
John Maguire 8171192df5 Port Closure to variadic templates. 2012-11-22 17:19:04 +01:00
John Maguire 606bf71208 Disable automatic conversions to QUrl from strings. 2012-09-26 17:09:13 +02:00
David Sansome 3e410021a5 Add an "Open OPML file" button to the Add Podcast dialog 2012-06-16 22:58:33 +01:00
David Sansome d6a8f4e15c Prepend the episode date to the filename when downloading podcasts, and append a numeric suffix until we find a unique filename.
Fixes issue 2997
2012-06-14 17:07:21 +01:00
David Sansome c1c6aa099b Pass results' QSharedPointers to reply slots instead of bare pointers 2012-03-19 21:17:15 +00:00
David Sansome bb69d7d53a Revert libmygpo-qt revision 8f35be2da45d74c42672d3d787ef65fb8b14d0dd ("Return normal pointers from ApiRequest methods, so they can be used in Clementine's closures, and deleteLater() in a slot connected to their finished() signal doesn't crash"), and do closure connections using the shared pointers 2012-03-19 19:38:40 +00:00
David Sansome 56b9546744 Assume URLs in podcast RSS feeds are already URL encoded 2012-03-15 16:36:25 +00:00
David Sansome 096b90716d Fix a compile error with Clang 2012-03-12 21:11:33 +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 09dfd31630 Add a qHash(QUrl) overload for Qt < 4.7 2012-03-12 14:10:16 +00:00
David Sansome 07158bd71b Make the quick_prefixes list not static 2012-03-11 21:07:36 +00:00
David Sansome 2750877a72 Support iTunes and Zune podcast URL schemes through SongLoader 2012-03-11 18:14:53 +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 93938d3bcd Allow whole podcasts to be dragged to the playlist as well as individual episodes 2012-03-11 14:11:15 +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 c204dd31fb Don't crash when double clicking in the Add Podcast dialog 2012-03-10 23:38:54 +00:00
David Sansome 9873ed083a Set the gpodder.net login state widget's login state properly when opening the podcasts settings page. 2012-03-10 22:43:05 +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 d004875b0f Start downloading podcast episodes automatically if the setting is enabled 2012-03-10 22:26:53 +00:00