Commit Graph

3766 Commits

Author SHA1 Message Date
Andreas 617c575ef4 Send all playlist on connect. 2013-02-02 16:51:48 +01:00
John Maguire 90803fa0e0 Remove use of deprecated gstreamer functions. 2013-01-29 13:19:26 +01:00
John Maguire d34e3b5404 Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote 2013-01-29 11:36:37 +01:00
Andreas a4d26bc249 - Actually fix the SIGPIPE (Broken Pipe) Error. It was caused by the QTcpSocket::flush().
- Revert previous SIGPIPE fixes.
- Rename method in RemoteClient to match its function.
2013-01-28 22:45:26 +01:00
John Maguire 53608665e4 Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote 2013-01-28 15:41:51 +01:00
Andreas a2c07527bf Included signal header file in main.cpp. 2013-01-28 15:40:00 +01:00
Andreas cf47331cf8 Small code style fix. 2013-01-28 14:40:04 +01:00
Andreas fcc0da554b Moved signal(SIGPIPE, SIG_IGN) to main. 2013-01-28 14:39:31 +01:00
Andreas a40aa6fb8d Added security methods to prevent SIGPIPE termination. 2013-01-28 14:21:04 +01:00
Martin Brodbeck d5139ac2b2 Add opus support to transcoder.
Fixes issue #3453
2013-01-28 14:09:31 +01:00
Clementine Buildbot 63ff2539b4 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-28 10:06:22 +01:00
David Sansome a004d66f3d Make the playlist parser recognise URLs with schemes of only 2 characters (eg, di://). Fixes issue 3452 2013-01-27 14:53:20 +00:00
Martin Brodbeck d05041dfa1 Add support for Opus tags. 2013-01-26 11:18:24 +00:00
Andreas 4ed516ad1f Send the current track position when a client connects 2013-01-26 11:52:53 +01:00
Arnaud Bienner a3dbfc0674 Avoid unnecessary copy 2013-01-25 01:48:39 +01:00
John Maguire 0d743a2065 Fix some style issues in subsonic. 2013-01-24 17:48:58 +01:00
John Maguire fe2fb788d3 Merge branch 'subsonic'
Conflicts:
	data/data.qrc
2013-01-24 17:02:08 +01:00
Andreas 9472c5ace2 - Fixed a bug where clementine crashed when restarting the server (e.g. changed setting). Cause by wrong connect statement.
- Added set track position feature in proto
- Added authentication method
- Clementine sends now a disconnect message when closed
2013-01-23 20:02:12 +01:00
John Maguire 0e6ff8fdc6 Add missing include for std::floor(). 2013-01-23 12:11:59 +01:00
John Maguire e6d16e7645 Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote 2013-01-23 11:49:21 +01:00
Alan Briolat 465015fe3c Don't fetch magnatune library until service is expanded. Fixes issue 3440 2013-01-22 23:30:15 +01:00
Andreas 78ad2fb517 Fixed an issue where clementine could crash: A client connects before the playlist manager is
initialized. This caused a null pointer exception. Now the server is started after the
playlist manager was initialized.
2013-01-22 22:58:32 +01:00
Andreas 0828115c74 - Display a qr code in the remote control settings to download the android app
- Transfer the current track position to clients
2013-01-22 22:02:16 +01:00
John Maguire 2d11e1da3b Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote 2013-01-22 12:20:34 +01:00
Alan Briolat a5f6356be4 Subsonic global search provider and some extra UI polish 2013-01-21 22:13:48 +00:00
Clementine Buildbot 756f90d28d Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-21 10:03:46 +01:00
Alan Briolat d424ed93a4 Don't fetch subsonic library until service is expanded 2013-01-20 23:25:54 +00:00
Alan Briolat a7fe1b693b Eliminate race condition for subsonic library TotalSongCountUpdated 2013-01-20 23:24:14 +00:00
Arnaud Bienner 8dfaac8bfb Sort providers according to user's preference instead of name 2013-01-19 16:06:48 +01:00
Andreas e9fd09193c This should fix the issue, that the coverart is not transfered on windows. 2013-01-18 19:03:25 +01:00
John Maguire 51d0664eb6 Merge branch 'remotecontrol' 2013-01-18 17:15:05 +01:00
Alan Briolat d8bc3a02fa Fix Magnatune library not being sorted after refresh
Fixes issue #3435
2013-01-18 13:50:20 +01:00
Alan Briolat 2d68315c22 Fix Subsonic library not being sorted after refresh 2013-01-18 10:35:47 +00:00
Alan Briolat 38f271528a Improve subsonic library fetching
* Use task notification
* Update library in one chunk
* Use stored library data, add ability to manually reload
2013-01-17 22:13:57 +00:00
Alan Briolat e8ab6ed40a Subsonic: add LibraryFilterWidget and basic context menu 2013-01-17 21:01:54 +00:00
Alan Briolat 34553d8238 Read subsonic albumartist data 2013-01-17 20:18:26 +00:00
John Maguire 0b60a17a2b Add MDNS implementation for windows. 2013-01-17 14:11:15 +01:00
John Maguire ffe00ef149 Add tinysvcmdns to 3rdparty 2013-01-17 13:15:16 +01:00
Alan Briolat cc2be1ef15 Save playlist tab order when closing a tab, fixes issue 3393 2013-01-17 09:22:42 +01:00
Andreas 76c294e470 Merged from "remotecontrol". Fixed two broken connects 2013-01-16 19:26:33 +01:00
John Maguire 209b342bb9 Re-order avahi calls to make it more obvious what's going on. 2013-01-16 15:48:04 +01:00
John Maguire 7d09548243 Add mDNS service publishing on Mac. 2013-01-16 15:26:35 +01:00
John Maguire 0e226cc34b Add mDNS service publishing on Linux for the remote control. 2013-01-16 14:56:31 +01:00
Andreas e452ae3ea9 Fixed a bug in IpIsPrivate where 192.168.x.x was not recognized as a private ip. 2013-01-15 20:20:31 +01:00
John Maguire 32b81f057d Fix broken connect 2013-01-15 14:59:48 +01:00
Andreas 51ba9f47dc added repeat and shuffe functionality 2013-01-15 14:43:02 +01:00
Andreas 0a97623df3 Changed sending playlist songs 2013-01-15 14:03:00 +01:00
John Maguire 06568248fc Tidy up some remote control protobuf usage and style quirks. 2013-01-15 13:05:43 +01:00
Alan Briolat f88e73737c Re-implement subsonic library scanner
Use the ID3-tag-oriented album listings in Subsonic >= 4.7 to
fetch all library data.
2013-01-14 23:36:23 +00:00
Andreas 8cb0b3d349 fixed commit 2013-01-14 22:00:56 +01:00
Andreas aa8d512444 Merge remote-tracking branch 'remote/remotecontrol'
Conflicts:
	ext/libclementine-remote/remotecontrolmessages.proto
	src/networkremote/networkremote.cpp
2013-01-14 21:39:01 +01:00
John Maguire 3dd1f10260 Remove unnecessary inheritance on QThread. 2013-01-14 17:23:06 +01:00
John Maguire 408909ffa2 Tidy up NetworkRemote - scoped_ptr, initialisation lists, etc. 2013-01-14 17:18:24 +01:00
John Maguire 555467e764 Tidy up remote control protobuf. 2013-01-14 16:17:36 +01:00
Andreas e915d2e993 Transfer coverart without base64 2013-01-14 16:09:22 +01:00
Clementine Buildbot b270cbf082 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-14 10:03:48 +01:00
Andreas 6bb02d2731 Transfer coverart without base64 2013-01-12 17:22:40 +01:00
Alan Briolat 49d27b0bfe Load subsonic library recursively 2013-01-11 23:14:15 +00:00
John Maguire a4df18efee Use a better check for private subnets. 2013-01-11 13:55:09 +01:00
John Maguire 22322593aa Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote into remote 2013-01-11 11:08:22 +01:00
Alan Briolat 349231793f Hacky basics of starting to load Subsonic library 2013-01-10 22:08:52 +00:00
Andreas 04ccdbbf08 added version to protocol buffer message
changed client handling
only non public ips can connect (can change that in options)
2013-01-10 21:21:55 +01:00
Alan Briolat d05202265e Simplify Subsonic URL handling 2013-01-09 22:20:55 +00:00
Alan Briolat 38ce86529e Revert "Recursive UserPlaylist adding, subsonic uses UserPlaylist for folders"
This reverts commit a62b7752ad.

Using this mechanism for recursively loading trees doesn't work any
more, wasn't that great to start with, and the tree view will soon
be replaced with a library view.
2013-01-09 21:47:51 +00:00
Alan Briolat 90d2511051 Merge remote-tracking branch 'upstream/master' into subsonic
Conflicts:
	src/CMakeLists.txt
	src/internet/internetmodel.cpp
	src/ui/settingsdialog.cpp
2013-01-09 21:26:32 +00:00
Andreas c732e70511 multiclient support and shuffle feature 2013-01-09 20:07:28 +01:00
Andreas 7187e2440f removed base64 encoding 2013-01-09 17:38:24 +01:00
John Maguire b7b7e97455 Merge branch 'master' of https://code.google.com/r/asfa194-clementineremote into remote 2013-01-08 13:05:54 +01:00
Clementine Buildbot b9951eb663 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2013-01-07 10:04:43 +01:00
David Sansome 145b811eef Fix a memory leak when fingerprinting songs. Fixes issue 3403. 2013-01-06 07:51:48 +11:00
David Sansome 97c1d3c345 Remove an old connect() that has since been replaced by a closure connection 2013-01-06 07:51:28 +11:00
David Sansome 41f89904b6 Compare against the translated message text to determine whether a typefind failed. Fixes radio playlists in non-english languages. Fixes issue 3394 2013-01-04 21:16:26 +11:00
Andreas fe0c1b5206 Changed xml to protocol buffers 2013-01-03 21:40:47 +01:00
TTSDA efd42349e7 Add year and bitrate fields to mpris2 metadata 2013-01-02 07:54:50 +11:00
Andreas a752f704f6 forgot to rename function 2012-12-31 23:52:12 +01:00
Andreas f10292eb95 Added remote control for clementine 2012-12-31 23:37:39 +01:00
David Sansome 4fff9c3ca5 Use a new Amazon access key 2012-12-31 21:46:06 +11:00
Clementine Buildbot b3e9fb810a Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-31 10:02:51 +01:00
David Sansome d9ea96033a Print the version number on startup 2012-12-26 12:37:57 +11:00
David Sansome e3c8caa613 Preserve user stats like play/skip counts when reloading song metadata when opening the edit tag dialog. Fixes issue 3359. 2012-12-26 00:50:32 +11:00
David Sansome 9e9b7f7fa6 Don't ever replace taglib metadata on file:// Songs. init_from_file_ gets lost after a restart so just assume all local files are good. 2012-12-26 00:26:48 +11:00
David Sansome 24219b93cc Add some more debug output when applying database schema updates 2012-12-25 17:37:27 +11:00
David Sansome 351a49e2b4 Elide the fancy sidebar text on the right instead of in the middle. Fixes issue 3335. 2012-12-25 13:10:10 +11:00
Clementine Buildbot 29c61f1dc2 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-24 10:33:46 +01:00
Mateusz Kowalczyk 5b88c5f4a4 Select the next tab when a playlist tab is closed. Fixes issue 3347. 2012-12-24 19:35:31 +11:00
Clementine Buildbot b5afaf69f7 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-17 10:07:39 +01:00
John Maguire 020f08438f Support member function pointers in Closure.
Bonus: type-safe slots
2012-12-13 16:27:55 +01:00
John Maguire c57c47ae08 Make skydrive urls playable. 2012-12-13 14:44:59 +01:00
John Maguire 919e9215c4 Support indexing files from Skydrive. 2012-12-13 14:27:21 +01:00
John Maguire c4db401597 More or less working Skydrive authentication. 2012-12-12 18:34:15 +01:00
John Maguire 8eea98ba66 Factor out Google Drive specific code from OAuthenticator. 2012-12-12 17:41:52 +01:00
David Sansome 14c07cbaed In the smart playlist wizard, only repopulate the op combo box when changing to a field of a different type. 2012-12-10 19:44:41 +11:00
David Sansome 82575f233f Add the "not equals" operator to all fields in the smart playlist wizard. Fixes issue 3329 2012-12-10 19:44:41 +11:00
John Maguire 7d4f5764dc Support WMA in Ubuntu One. 2012-12-07 12:09:17 +01:00
John Maguire 62e3e4cb91 Support WMA in cloud services. 2012-12-07 12:07:43 +01:00
John Maguire 941aaca87c Refactor cloud tagging into base class. 2012-12-06 14:23:27 +01:00
John Maguire 951cac2ad6 Use changes API instead of search API in Google Drive. 2012-12-05 14:17:03 +00: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
Clementine Buildbot c7185efc5e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-12-03 10:03:43 +01:00
John Maguire 18c7f3d5ed Support m4a and flac in dropbox. 2012-11-30 16:56:23 +01:00
John Maguire 7058d238fb Be more aggressive about tagging by having as many tag clients as cores. 2012-11-30 16:43:44 +01:00
John Maguire 24b4319504 Fix crash in Google Drive. 2012-11-30 16:43:43 +01:00
John Maguire d4a82a2d50 Read the encoded URL correctly for Dropbox files. 2012-11-30 16:12:31 +01:00
John Maguire 3972f939f7 Support deletion and reset from Dropbox's delta API. 2012-11-30 15:40:09 +01:00
John Maguire 4ba965115c Use Dropbox's delta API to be more efficient. 2012-11-30 15:33:03 +01:00
John Maguire e68a6f9eb8 Factor out oauth redirect & HTTP server logic. 2012-11-30 14:54:23 +01:00
John Maguire 847e4ce121 Fix name of Dropbox settings page. 2012-11-30 11:24:07 +01:00
John Maguire 821405cdd2 Actually start authorisation against Dropbox when login clicked. 2012-11-29 20:53:00 +01:00
John Maguire 8e91e42dcc Add dropbox files locally after tagging and make them playable. 2012-11-29 20:48:34 +01:00
John Maguire 3c9b3d99e6 Read tags from dropbox files. 2012-11-29 20:48:34 +01:00
John Maguire 47cc767daf Scan Dropbox for valid mime types. 2012-11-29 20:48:34 +01:00
John Maguire c66295c8d9 Sort out dropbox authentication & storing credentials; 2012-11-29 20:48:34 +01:00
John Maguire ea8655af83 Add Dropbox service and settings page. 2012-11-29 20:48:34 +01:00
John Maguire b955da5f28 Parse out the Dropbox user's name. 2012-11-29 20:48:34 +01:00
John Maguire 4d1b6fc25d Fetch Dropbox account information after authorisation. 2012-11-29 20:48:34 +01:00
John Maguire d3bd536be0 Working dropbox authentication with oauth redirect. 2012-11-29 20:48:34 +01:00
John Maguire 6bf0b4736a Start of dropbox support. Only whitelisted accounts work for now. 2012-11-29 20:48:25 +01:00
John Maguire c5ce522576 Scan all Ubuntu One volumes for music.
Fixes issue #3325
2012-11-29 16:07:05 +01:00
John Maguire e220b395ea More gracefully deal with files that failed to tag in Ubuntu One. 2012-11-29 14:18:30 +01:00
John Maguire 6c5e831a7d Remove tag encoding detection as we don't really use it anymore. 2012-11-29 13:41:20 +01:00
John Maguire 3eb66ea8c2 Remove another couple of C++11 range-based for loop. 2012-11-29 11:49:26 +01:00
John Maguire 644a12cea7 Remove/work around missing features in Qt < 4.7 2012-11-28 19:02:14 +01:00
John Maguire 6f05a7c45b nullptr not supported either in GCC 4.4 2012-11-28 18:18:50 +01:00
John Maguire d16615334a Add Ubuntu One playlist source icon. 2012-11-28 17:52:46 +01:00
John Maguire bd899b382d Range-based for loops not supported in GCC 4.4. 2012-11-28 17:34:54 +01:00
John Maguire e14334075c Support OGG, FLAC & AAC file types for Ubuntu One. 2012-11-28 17:32:21 +01:00
John Maguire 629f1abb6c Disable Ubuntu One settings page when cmake option disabled. 2012-11-28 16:56:35 +01:00
John Maguire ffc8d53cdb Add cmake option for Ubuntu One. 2012-11-28 16:51:19 +01:00
John Maguire 9c7a3ab105 Rename google drive tagging methods to more appropriate generic names. 2012-11-28 16:34:10 +01:00
John Maguire db7679abe6 Refactor GoogleDriveService into a CloudFileService. 2012-11-28 16:22:54 +01:00
John Maguire 334cd1052b Factor out some common functionality between Google Drive & Ubuntu One. 2012-11-28 16:13:10 +01:00
John Maguire afcc8f86f3 Add support for album covers to Ubuntu One. 2012-11-28 15:26:09 +01:00
John Maguire 4bbbf4dd9d Remove some debug 2012-11-28 15:10:49 +01:00
John Maguire 4aeeb45eaa Show Ubuntu One settings page if user is not signed in. 2012-11-28 15:09:59 +01:00
John Maguire 6486e621f1 Recursively fetch everything in the Ubuntu One volume. 2012-11-28 15:05:06 +01:00
John Maguire 823250c7c7 Add Ubuntu One icon in internet view. 2012-11-28 14:44:57 +01:00
John Maguire db586ca00e Read tags from Ubuntu One files and add to local database. 2012-11-28 14:43:03 +01:00
John Maguire 45b2c1dcf4 Copy Ubuntu One file name into song title for now. 2012-11-27 19:58:53 +01:00
John Maguire 1d20ac4eae Add settings page for Ubuntu One. 2012-11-27 19:56:47 +01:00
John Maguire 24ac9adbe5 Beginnings of playback from Ubuntu One file store. 2012-11-27 18:35:06 +01:00
John Maguire 81e68145cd Basic authentication for Ubuntu One. 2012-11-27 15:38:05 +01:00
Alexey Bo c7be61f11d Compare encoded urls. Fixes issue 2842. Some random tracks are not properly read from the cue sheet after clementine restart 2012-11-26 19:59:05 +01:00
John Maguire 875b297278 Check for lambda support before using it. 2012-11-26 15:36:05 +01:00
Clementine Buildbot 303ef3ce2f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-11-26 10:20:27 +01:00
Perttu Ahola 40081a97e7 Start following the cursor again when Ctrl+J is pressed. Fixes issue 697. 2012-11-24 21:21:49 +11:00
David Sansome a6eea2b941 Fix an off-by-one error when choosing which row to select after removing items in the playlist 2012-11-24 17:10:20 +11:00
David Sansome 65aa0ebae0 Hide the moodbar column by default. 2012-11-24 15:59:36 +11:00
David Sansome d5412d3800 Use QUrl::fromUserInput to decode URLs in playlists if they look like they're encoded. Fixes issue 3309 2012-11-23 21:51:22 +11:00
John Maguire 8171192df5 Port Closure to variadic templates. 2012-11-22 17:19:04 +01:00