Commit Graph

487 Commits

Author SHA1 Message Date
Krzysztof Sobiecki 8cf127a19c [internet/podcasts]Fix modification date&time support
After setting QDateTime to invalid state, it's saved into database as uint,
with then is read from database as a valid date. To make behaviour consistent, this change is needed.
If date is 4294967295, then it's an invalid one.
2015-01-02 15:29:58 +01:00
Arnaud Bienner 7278e7c4d0 Add ability to get a link to share Spotify playlists 2014-12-27 18:05:04 +01:00
Arnaud Bienner cbddecb6c8 Add ability to get a link to share Spotify songs 2014-12-27 16:40:13 +01:00
Arnaud Bienner 9bbb534fa1 Sanity check
Not sure this can really happen in real life (happens because I was playing with
    the code and end up having "=true" line in Clementine.conf) but FWIW, better
to check those values they come from possibly corrupted files/preferences.
2014-12-27 01:23:26 +01:00
Arnaud Bienner 9cb2a17f37 Sort children is recursive and will mess up services' children (e.g. search
result item not the first item anymore) so we should call it only once at
the beginning.
And instead of sorting all items everytime, we just insert them at the correct
position.
2014-12-27 00:33:23 +01:00
Krzysztof Sobiecki acb02932bd Fix crash when marking podcast as listened
Fixes #4674
2014-12-25 23:02:12 +01:00
Krzysztof Sobiecki f2b4a5a520 M4B on cloud storage 2014-12-25 01:33:56 +01:00
Krzysztof Sobiecki a6322da196 Fix header copyright tags in internet/ 2014-12-19 00:47:55 +01:00
Krzysztof Sobiecki 17c35e32e5 Fix header order in internet/ 2014-12-19 00:40:30 +01:00
Krzysztof Sobiecki 23ee9170b6 Fix header guards in internet/ 2014-12-18 23:54:21 +01:00
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
Krzysztof Sobiecki 93a286a272 Move files around and make subdirectories inside src/internet, move src/podcasts to src/internet 2014-12-18 00:39:20 +01:00
Krzysztof Sobiecki ff62032568 Various formating changes in src/internet 2014-12-17 22:36:27 +01:00
David Sansome 6851a15dc0 Merge pull request #4651 from sobkas/fix
Fix the parsing of some strange date formats in podcasts, and add a way to limit the number of podcast episodes shown, and hide listened podcasts.  Fixes #3696, fixes #3475
2014-12-16 12:33:50 +11:00
Krzysztof Sobiecki ba1d73d1aa Fix problems with code 2014-12-14 14:35:21 +01:00
Krzysztof Sobiecki 958cb42e98 Allow to hide listened podcast episodes and show only n number of episodes.
Fixes #3696
Fixes #3475
2014-12-14 12:12:57 +01:00
Arnaud Bienner 4b48be4a5b Sort Grooveshark favorite songs according to "TSFavorited", as such songs have no "Sort" field.
BTW the compare was buggy (didn't compare against song2). This was OK though, as
we stable sort songs, and they are always ordered as far as I know (I remember
adding this sort just in case they will not be sent ordered on day).
2014-12-10 22:48:49 +01:00
Arnaud Bienner f34f868c0f Add Spotify tracks to Spotify playlists by drag and drop 2014-12-03 23:58:09 +01:00
Arnaud Bienner 05d43e27a9 Add internet_service to SpotifySearchProvider so custom context menu is correctly shown on playlist items created from the global search 2014-12-03 22:27:43 +01:00
John Maguire 4f4c8f6894 Merge pull request #4580 from Chocobozzz/hide_internet_services
Hide internet services
2014-10-31 12:02:29 +01:00
Ivan Leontiev 7c7e855e1a correct formatting and some code cleanup 2014-10-29 16:45:52 +03:00
Ivan Leontiev 8406a47628 Merge branch 'master' of https://github.com/ivan-leontiev/Clementine 2014-10-29 01:40:01 +03:00
Ivan Leontiev 45a3f32c86 VkService: added albums support, added ability to fetch music from wall. Fixed
update bug.
2014-10-29 01:22:07 +03:00
Ivan Leontiev 3d124a2dea encode "+" character in url in VkConnection::makeRequest 2014-10-28 20:12:01 +03:00
Chocobozzz 0b8e566544 Use utf8 for password instead of ascii 2014-10-24 13:12:50 +02:00
Chocobozzz 15a8af9bbb Use hex in password auth for subsonic. Fixes #4589 2014-10-24 09:47:03 +02:00
Chocobozzz 33d38b94da Use auto for iterator 2014-10-24 09:22:35 +02:00
Arnaud Bienner 21551ca83c Try to fix issue #4582 2014-10-21 21:54:46 +02:00
Chocobozzz 50b7b7d889 Make format after update to avoid conflicts 2014-10-15 21:57:57 +02:00
Chocobozzz 9770154b57 Merge remote-tracking branch 'upstream/master' into hide_internet_services 2014-10-15 21:55:09 +02:00
Chocobozzz 8279f21251 Revert "Make format"
This reverts commit 17b1e9fbe6.
2014-10-15 21:55:03 +02:00
Chocobozzz 17b1e9fbe6 Make format 2014-10-15 20:55:24 +02:00
Chocobozzz 34a43635bd Delete useless warning icon from internet show setting page 2014-10-15 20:51:09 +02:00
Chocobozzz c54d1baf15 Allow user to hide internet services. Closes #2784 2014-10-15 20:44:09 +02:00
David Sansome 88a6300509 Completely revert the Spotify seeking stuff - it's hacky and I don't like
waiting 4 seconds to have my songs start.  I'll reimplement it properly later.

Reverts commits 96387803cd and 160b151652.
2014-10-14 19:33:03 +11:00
Chocobozzz 51667c77ad Update the database total size of Jamendo catalogue. Fixes #4554 2014-10-03 13:17:12 +02:00
Arnaud Bienner 72cfa126ac Fix a bug that makes Vk to be always displayed when trying to show any service's config.
Call stack: SettingsDialog::showEvent -> VkSettingsPage::Load -> VkService::ReloadSettings -> VkService::Logout -> VkService::UpdateRoot -> VkService::ShowConfig
Would probably be better to not call service in VkSettingsPage::Load and read QSettings only, but I don't think it's good either to call ShowConfig when user is being logged-out.
2014-09-28 02:13:56 +02:00
Arnaud Bienner f81fa2d119 Add the ability to remove tracks from Spotify playlists 2014-09-28 02:00:32 +02:00
David Sansome 442d126b03 Hack to make the C++11 override keyword work with old compilers. 2014-09-26 20:33:02 +10:00
David Sansome 8b19b300b5 Stop using some C++11 features not supported by g++ 4.6.4 on Ubuntu 12.04 2014-09-26 11:43:54 +02:00
Arnaud Bienner 39db4dbefe Add the ability to add a Spotify track to a Spotify playlist through context menu.
TODO: drag and drop (i.e. implement DropMimeData), update special playlist (Favorites), remove from playlist.
2014-09-22 22:40:21 +02:00
Arnaud Bienner c891a44243 Remove useless check 2014-09-21 20:48:42 +02:00
David Sansome bb08a0f416 Fix misleading offset_bytes names 2014-09-22 00:13:00 +10:00
Arnaud Bienner 3e17a0adb5 Remove dead code 2014-09-14 02:39:35 +02:00
Arnaud Bienner 160b151652 Add seek ability to Spotify tracks.
This is functional but pretty hacky.
And, as noted in the comments, there is a small delay (depends, but usually several seconds) to have the seek taken into account. But IMHO it's better than nothing.
Fixes #2503
2014-09-14 02:15:58 +02:00
pie.or.paj cbc6e5cf4d Pause spotify track (issue 2503)
(patch slightly modified, not sure why it wasn't applied before: it looks good to me)
2014-09-06 19:21:23 +02:00
maximko d61688e1c5 QUrl fix. 2014-09-04 18:48:49 +06:00
maximko 2dfb7f8f4c Increase cover image size. 2014-09-04 18:08:17 +06:00
John Maguire e876df1b23 Merge pull request #4456 from Shedward/vk-broadcasting
Vk.com broadcasting.
2014-08-12 22:04:45 +02:00
Vlad Maltsev 08c0f7d28f Fix misspelled names. 2014-08-13 02:15:33 +07:00