Commit Graph

2888 Commits

Author SHA1 Message Date
Arnaud Bienner ac285eeeae Add missing copyright headers 2011-11-28 20:07:18 +01:00
David Sansome 05460f9975 Mark spotify streams as not seekable 2011-11-28 18:45:12 +00:00
David Sansome 22e6a649b7 Remove the custom gstspotifytcpsrc and use tcpserversrc ! gdpdepay to receive data. Use a gstreamer pipeline on the other end as well to send data. 2011-11-28 18:45:12 +00:00
John Maguire e9d770a864 Remove pjsip/stun code and make PortForwarder at least compile. 2011-11-28 16:22:13 +01:00
John Maguire 875645ee0c Use Tomahawk script to generate a prettier DMG. 2011-11-28 15:26:22 +01:00
David Sansome 4dc4aa33ac Make the enabled/disabled state of a global search provider separate from its logged in state - means that now Grooveshark and Spotify providers will be enabled as soon as you login 2011-11-28 14:18:20 +00:00
David Sansome b873209d39 Remove the <xiphcomment.h> include from song.h so that windows headers don't infect everything else. Also move other bits of song.h into song.cpp, and reduce the number of includes in song.h. 2011-11-28 13:56:55 +00:00
David Sansome 89e8634928 Treat relogin failed messages from spotify differently, and only show the error dialog once. 2011-11-28 12:32:45 +00:00
David Sansome 80b9e5bede Update the .pot 2011-11-28 11:04:38 +00:00
Angus Gratton c5c581a4f1 Autodetect compilations based on effective_albumartist not artist (Fixes issue 509) 2011-11-28 11:04:38 +00:00
Angus Gratton 2cf6875c6d Fix bug caused by adding Various Artists for albumartist, where nodes would sometimes not move under Various Artists due to album node never being empty (Issue 509) 2011-11-28 11:04:38 +00:00
Angus Gratton 360aaabd0d Add playlist album artist for use in playlist grid view (Issue 509) 2011-11-28 11:04:38 +00:00
Angus Gratton b158f6788d Add support for Various Artists in Album Artist library mode (Issue 509) 2011-11-28 11:04:38 +00:00
Angus Gratton edb9b0b4fe Add album effective_artist filter that falls back to artist when unavailable (Issue 509) 2011-11-28 11:04:38 +00:00
Clementine Buildbot 92d2d644d0 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2011-11-28 12:02:42 +01:00
Arnaud Bienner a77f4b14d5 When creating a new GS playlist, insert the newly created playlist just above the subscribed playlists, instead of inserting it at the end (after the subscribed playlists) 2011-11-28 00:22:19 +01:00
David Sansome be4e70a9b1 Don't crash when using Player::PlayAt to play an index that doesn't exist. Fixes issue 2330 2011-11-27 22:24:38 +00:00
David Sansome 7548919bc1 Remove the resolvers for now - they don't work properly and ought to use the global search. 2011-11-27 22:15:28 +00:00
David Sansome 42bf358b81 Use MP3 URLs for Jamendo instead of Ogg since they seem to keep breaking the Ogg URLs. Fixes issue 2417 2011-11-27 21:28:31 +00:00
David Sansome da532ef3ca Make manual track changes ignore the "repeat track" setting. Fixes issue 2426 2011-11-27 21:02:37 +00:00
David Sansome 0edb8abc7a Save the last used tab in the edit tag dialog in QSettings so it's shared between instances. Fixes issue 2260 2011-11-27 20:37:22 +00:00
David Sansome 8334484c1e Fix some symbol naming conflicts that happen when including windows header files (taglib >1.7 brings them in for us). 2011-11-27 19:43:07 +00:00
David Sansome 456011d100 Don't show the "Retrieving Grooveshark playlists" task forever if the user has no playlists. 2011-11-27 19:02:14 +00:00
David Sansome d0f09d83a1 When a login fails, focus and select all the text in the password field so the user can start typing a new password straight away. 2011-11-27 17:54:36 +00:00
David Sansome add91d32de Fix the tab order in the magnatune settings page so password comes after username 2011-11-27 17:53:54 +00:00
David Sansome 1e0a9e6d94 Fix a bug in the last.fm settings page where logging in with invalid credentials wouldn't hide the busy spinner and re-enable the credential fields. 2011-11-27 17:53:04 +00:00
David Sansome 62c3cb77cd Add settings for spotify bitrate and volume normalisation 2011-11-27 17:29:33 +00:00
David Sansome 7444f437aa Fade out tracks properly when changing between two URLs that have registered URL handlers (like spotify and grooveshark). 2011-11-27 16:35:36 +00:00
David Sansome b8ee548eb4 Rename the existing "Shuffle by album" mode to "Shuffle tracks in this album", and add a new "Shuffle albums" mode that plays all the tracks in each album sequentially, but then jumps to a different random album afterwards.
Fixes issue 1152
2011-11-27 15:01:10 +00:00
Clementine Buildbot f859fff131 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2011-11-27 10:06:59 +01:00
Clementine Buildbot ff58e484fb Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2011-11-26 10:07:05 +01:00
John Maguire 80e1e19f24 Use SSL for sparkle update checks. 2011-11-25 16:49:28 +01:00
Angus Gratton 5ee9961d4f Fix bug w/ Organize deleting old files
Fixes issue #1806
2011-11-25 15:28:43 +01:00
Clementine Buildbot f1933ce46e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2011-11-25 10:06:58 +01:00
Arnaud Bienner 1e02bbe485 Add GS subscribed playlits 2011-11-25 01:00:58 +01:00
Arnaud Bienner 7a188787de Add dividers to Grooveshark tree, to visualise better each type of item 2011-11-24 23:42:22 +01:00
Arnaud Bienner 73a823d190 Explicity mark GS user's playlists as 'UserPlaylist', and display delete action only for this kind of playlist 2011-11-24 20:18:42 +01:00
John Maguire 34111ce373 Consistently use lower case k for kbps. 2011-11-24 16:52:03 +01:00
John Maguire e32bb5cc89 Don't store the spotify password and instead use sp_session_relogin(). 2011-11-24 12:17:19 +01:00
Clementine Buildbot 6cfecf9b6f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2011-11-24 10:07:12 +01:00
Arnaud Bienner a7cbd28fb9 Don't do a search query if text query is empty: clear special playlist directly 2011-11-24 01:26:29 +01:00
Arnaud Bienner 47be001b8a Add GS homepage action before configure action, like in other internet services menus 2011-11-24 01:13:38 +01:00
Arnaud Bienner ceab3bd6f0 Add Grooveshark songs as internet items, when adding them from global search, so user can use all GS custom actions 2011-11-24 00:30:11 +01:00
Arnaud Bienner c234afb776 Add open in browser action to Grooveshark 2011-11-23 23:56:02 +01:00
Arnaud Bienner 4b8e9b2d82 Oups: missed one 2011-11-23 23:53:55 +01:00
Arnaud Bienner 4b1de1a055 Always use 'Open %1 in browser' string; so just one string to translate: less work, and avoid discrepancies across translations 2011-11-23 23:42:46 +01:00
Clementine Buildbot 418d3fcc80 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-23 10:07:05 +01:00
Arnaud Bienner cc20e6b6ae Use task manager on most GS actions 2011-11-23 01:07:40 +01:00
Clementine Buildbot fd9b03cbcf Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-22 10:07:05 +01:00
John Maguire 177c658366 Fix CF handle leak. 2011-11-21 16:33:01 +01:00
John Maguire b74c735268 Don't probe USB hubs and HID devices on Mac as some of them don't like it.
Update issue #981
Hopefully this fixes it.
2011-11-21 15:16:24 +01:00
Clementine Buildbot 4fd33ab200 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-21 10:07:07 +01:00
Clementine Buildbot 276989e09c Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-20 10:06:46 +01:00
Arnaud Bienner 4dec500c21 Add GS popular playlists 2011-11-19 18:56:29 +01:00
Arnaud Bienner f8ff785932 Create GS's favorites item at beggining 2011-11-19 17:45:38 +01:00
Arnaud Bienner 867a072579 Improve UpdateItems complexity: still quadratic in wort-case, twice better in average, but linear in best case, which is very likely to happen in real usecases 2011-11-19 16:01:58 +01:00
Clementine Buildbot 6fbe897e82 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-19 10:06:56 +01:00
Arnaud Bienner fdad2bd706 Make the async load of folders thread-safe 2011-11-18 21:55:54 +01:00
Clementine Buildbot 631924bdd1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-18 10:06:55 +01:00
Clementine Buildbot 72189866ef Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-16 10:07:25 +01:00
Arnaud Bienner 74ddfaa3fc Always add session_id to GS queries, except when it is not set (in case of startSession) 2011-11-16 00:34:36 +01:00
Clementine Buildbot a90b5fc815 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-15 10:06:57 +01:00
Clementine Buildbot 80b43c310b Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-14 10:07:15 +01:00
Clementine Buildbot e0a3317faf Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-13 10:06:58 +01:00
Scott Olson ac1ce4cca4 Show the artist and album name in the title of the "Show fullsize" window.
Fixes issue 2119
2011-11-13 01:00:45 +00:00
David Sansome f6750202b1 Don't forget which tab was selected in the edit tag dialog. QTabWidget takes care of enabled/disabled state
Fixes issue 2260
2011-11-13 00:53:39 +00:00
David Sansome 13ae806005 Only use the Unity hack on Ubuntu. Fixes issue 2198 2011-11-13 00:40:29 +00:00
David Sansome e9253af931 Load cover art for the library in a background thread. Fixes issue 2243 2011-11-13 00:31:27 +00:00
David Sansome 23bc7acaee Show filenames in the filename column if the URL has a "file" scheme. Also convert the path to native separators for windows 2011-11-12 19:57:21 +00:00
David Sansome 97cc6bb1b5 Print a warning if symlink() fails 2011-11-12 19:32:44 +00:00
David Sansome fc0e2c4ea6 Fix the spotify resolver to not crash when not connected to spotify, or after logging out.
Fixes issue 2399
2011-11-12 18:55:04 +00:00
David Sansome 5f0afa397c Create symlinks for libspotify .so files 2011-11-12 18:45:18 +00:00
Arnaud Bienner 2511a97077 Add an index on filename on songs table. Particullary, this heavily speed up the 'Add folder' usecase 2011-11-12 19:33:50 +01:00
David Sansome df8bafe161 Only update di.fm, sky.fm and somafm tree items if they've already been expanded by the user. Fixes duplicate radio streams appearing on first run if the user uses global search before looking in the Internet tab. 2011-11-12 18:18:40 +00:00
David Sansome 53f1f6509b Fix URLs in device tables as well when upgrading 2011-11-12 17:15:10 +00:00
David Sansome efce2498ca Indicate which column alignment action is currently set on each column in the menu. 2011-11-12 16:23:41 +00:00
David Sansome 63fdf11cd8 Keep the playlist column alignment setting in PlaylistView instead of in each individual Playlist, ensuring all playlists share the same column alignments and there's only one place to save/restore them.
Fixes issue 1795
2011-11-12 16:12:51 +00:00
Clementine Buildbot aba3aa4bbd Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-12 10:07:08 +01:00
David Sansome 691cb9a392 Treat URLs specially in the global search widget 2011-11-11 22:11:25 +00:00
David Sansome d74d4d65f0 Clicking an artist or tag in the song info tabs now does a global search instead of searching just last.fm 2011-11-11 21:35:25 +00:00
Clementine Buildbot ccb1a745f6 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-11 10:07:20 +01:00
Arnaud Bienner 48db13b353 Make Playlist's InformOfCurrentSongChange public and use it when updating item instead of using UpdateItems (which will create a new item) 2011-11-11 02:42:48 +01:00
John Maguire 85ab8e260a Restore Qt 4.7 behaviour by adding a content type to POST requests that don't have one. 2011-11-10 23:42:34 +01:00
John Maguire 8e4ec35c61 Fix playlist detection when playlist size is < 512 bytes.
Fixes issue #2319
2011-11-10 21:42:40 +01:00
John Maguire ed0e6ba898 Lion build fixes 2011-11-10 20:56:49 +01:00
HyperQuantum 94a7ceb898 Add an "Expand" button to add more tracks to a dynamic playlist. Fixes issue 1268 2011-11-10 11:21:41 +00:00
Clementine Buildbot 128b91d60d Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-10 10:06:53 +01:00
Arnaud Bienner 5479239d81 Add an action to get GS songs' URLs to share 2011-11-10 00:56:27 +01:00
HYPNOTOAD bfea7b8945 Change Grooveshark secret key 2011-11-09 20:44:09 +01:00
John Maguire 7e5eb1c220 Fix Mac native widgets to at least show up on Qt 4.8. 2011-11-09 14:34:11 +01:00
John Maguire a57d947a33 Show global shortcuts dialog on Lion.
Fixes issue #2104
2011-11-09 13:59:25 +01:00
Clementine Buildbot 054fd962a1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-09 10:31:09 +01:00
David Sansome 62383d02fc Don't filter FocusIn events into the global search text box (doing so causes all kinds of unusual behaviour), instead just show the popup when pressing up or down. 2011-11-08 22:38:57 +00:00
David Sansome c1230f7b0a Fix a bug where the global search popup would never be shown on the first search 2011-11-08 22:29:52 +00:00
David Sansome ec5f9be27b Reposition the global search tooltip when new results arrive 2011-11-08 22:26:58 +00:00
David Sansome 3d8c0046a8 Don't allow providers to return more than 100 results at a time. 2011-11-08 21:49:20 +00:00
David Sansome d7720223ec Hash the information that's used by GlobalSearchWidget::CanCombineResults, avoiding doing a O(n^2) search when adding new results. 2011-11-08 21:41:41 +00:00
David Sansome b3f6e46c23 Don't re-show the results list if more results arrive after the user has explicitly closed it. Also don't continue to show results when the user has backspaced to < 3 characters. 2011-11-08 20:45:11 +00:00
David Sansome f80ac47931 Use a better search icon for the global search settings page - in the Mint-X theme the old icon was 22x22 only. 2011-11-08 20:20:25 +00:00
David Sansome 69275bb0b6 Disable the right fields in the global search settings page the first time the dialog is shown 2011-11-08 20:15:05 +00:00
David Sansome 550c4b4c84 Change another "Search everywhere" 2011-11-08 18:49:05 +00:00
David Sansome 0a655064b2 Change "Search everywhere" back to "Search for anything" - it better describes what we want the user to do with the input box 2011-11-08 18:37:00 +00:00
David Sansome 5dcd1d4890 Initialise the item lists for simple search providers on startup so they can be used to populate the global search suggestions. 2011-11-08 18:35:33 +00:00
David Sansome 7c5aaf36aa Elide hint text in text boxes 2011-11-08 18:22:01 +00:00
Clementine Buildbot 959ac6ae4d Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-08 10:07:27 +01:00
John Maguire bd74a9a0e2 Link QCA directories 2011-11-08 00:11:12 +01:00
Arnaud Bienner ed8633b8a9 Make GS user favorites a special kind of user playlist (enable drag'n'drop for favorites) 2011-11-07 19:37:29 +01:00
Clementine Buildbot 6cb27c2bb9 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-07 10:07:11 +01:00
Arnaud Bienner 9964eab741 Add a tooltip to the global search box 2011-11-06 19:05:09 +01:00
Arnaud Bienner fed2560ad9 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-11-06 18:40:18 +01:00
Arnaud Bienner 01e7a532bf Check GS errors to logout user if its session_id is obsolete 2011-11-06 18:40:06 +01:00
David Sansome 89c9ea37fa "Search everywhere" instead of "Search for anything", and make "e.g." translatable 2011-11-06 17:27:54 +00:00
David Sansome c6e252326f Make the Configure... button work for di.fm/sky.fm in the search settings page 2011-11-06 16:41:00 +00:00
David Sansome 814c79b183 Use more friendly names for "global search" in the UI 2011-11-06 16:36:47 +00:00
David Sansome 63f39d8dec Show some suggested queries in the global search widget 2011-11-06 16:30:42 +00:00
Arnaud Bienner f79d38210c Merge branch 'master' of https://code.google.com/p/clementine-player
Conflicts:
	src/translations/translations.pot
2011-11-06 16:23:50 +01:00
Arnaud Bienner 89680a02f0 Add the ability to have custom actions for PlaylistItems, and InternetPlaylistItems (through services). Add 'add to playlists' actions for Grooveshark 2011-11-06 16:12:44 +01:00
David Sansome e3b7afbdf2 Add "Your radio streams" global search provider 2011-11-06 15:00:50 +00:00
Clementine Buildbot 7f7c1a398e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-06 10:07:20 +01:00
David Sansome dac6c1bf09 Add a SomaFM search provider 2011-11-06 00:02:32 +00:00
David Sansome 931efb1f70 Add an icecast search provider, refactor a couple of other bits 2011-11-06 00:02:32 +00:00
David Sansome 8c69094931 Add a generic class for the "cached list of stuff" pattern used by last.fm and di.fm/sky.fm for keeping friend lists or stream lists around and refreshing them after a certain length of time 2011-11-06 00:02:32 +00:00
David Sansome 1f0c2333d0 Show the di.fm/sky.fm "Expires on" date on a separate line 2011-11-05 21:46:34 +00:00
David Sansome b37f679c36 Implement the options to hide/show the global search box, and to hide/show all other search boxes. 2011-11-05 19:09:37 +00:00
David Sansome a9e1fe0075 Implement the global search tooltip options 2011-11-05 19:09:26 +00:00
David Sansome fafee5af7c Download a new libspotify version and verify its signature. 2011-11-05 17:55:34 +00:00
David Sansome 19a12adf3e Add the QCA include dirs if QCA was found, even if spotify core was turned off 2011-11-05 17:27:10 +00:00
David Sansome 1946011919 Update each provider's logged-in state in the global search settings dialog when returning to the global search page. 2011-11-05 17:19:42 +00:00
David Sansome 37166ca19d Give the last.fm global search provider a config dialog 2011-11-05 17:11:02 +00:00
David Sansome e0beff096d Fix the priority ordering of global search results 2011-11-05 17:01:57 +00:00
David Sansome dc05c101a3 Remove the individual provider buttons from the global search widget and replace them with one settings button instead. Also tweak the appearance of the tooltip 2011-11-05 16:57:33 +00:00
David Sansome af59c517b7 Uncommitted translations 2011-11-05 16:09:59 +00:00
David Sansome 6446ef8b9e Use PNG spotify icons instead of SVG 2011-11-05 16:08:56 +00:00
David Sansome fccd0a5458 Don't make QCA a requirement if we're bundling the spotify blob (since we won't need to download anything at runtime) 2011-11-05 15:44:56 +00:00
David Sansome 568f78d874 There's no need to write each spotify blob file out to a temporary directory first. 2011-11-05 15:44:56 +00:00
Clementine Buildbot 9e0a3ba0ff Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-05 10:07:12 +01:00
Arnaud Bienner e7307aa6d4 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-11-05 02:42:24 +01:00
Arnaud Bienner 4f5265f820 Don't try to insert a row which already exists 2011-11-05 02:42:17 +01:00
Arnaud Bienner 034db5d18b Create and delete Grooveshark playlists 2011-11-05 02:34:49 +01:00
David Sansome b618c4f9a9 Don't compile the spotify blob if spotify core is disabled 2011-11-05 01:21:01 +00:00
David Sansome c12b3ab399 Verify the signatures of spotify blob files downloaded at runtime. Should protect against MITM attacks, and compromises of our server. 2011-11-05 01:12:28 +00:00
Arnaud Bienner 33abc40bf5 Use the same string for special search playlists, to be consistent (just one same string to translate) 2011-11-05 01:17:25 +01:00
David Sansome a2327c4eb7 Remove some redundant parameters from DigitallyImportedServiceBase and move the subclasses (which are now empty) into the same file. 2011-11-04 22:54:27 +00:00
David Sansome 2b6beb7417 Load the list of sky.fm/di.fm streams using the undocumented API, getting artwork for each stream as well. 2011-11-04 22:31:19 +00:00
Gilles Habran 37eeb70e3a Update some strings to match between window title and action name.
Update issue #2062
Patch applied.
2011-11-04 14:14:56 +01:00
Clementine Buildbot a8b25003a1 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine) 2011-11-04 10:07:10 +01:00
David Sansome ce66bdf1e8 Always run uic on optional ui files so we can get translations out. It was supposed to do this already... 2011-11-03 17:19:37 +00:00
John Maguire a9d6535bcc Use a scoped_ptr 2011-11-03 15:07:36 +01:00
John Maguire 0133bccf81 Fix typo in stream format string. 2011-11-03 14:54:43 +01:00
John Maguire 940208a868 Fix showing icons for Sky.fm and DI. 2011-11-03 11:51:52 +01:00