Commit Graph

2666 Commits

Author SHA1 Message Date
Arnaud Bienner 0b795841d5 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-10 00:49:43 +02:00
Arnaud Bienner 07ce755060 Work with multiple CD devices 2011-08-10 00:49:36 +02:00
John Maguire 6ddf9fa41b Only parse the tracks from the first release we find on musicbrainz for a CD. 2011-08-09 21:54:37 +02:00
John Maguire 6d9bc9d3f4 Don't constantly refresh the cd device if it doesn't support checking for media changes.
Filter out irrelevant devices on OS X.
2011-08-09 21:30:28 +02:00
John Maguire 176efeb4b0 Add debug logging to cdda lister. 2011-08-09 20:28:50 +02:00
John Maguire 5fcb3d3d7a Merge branch 'master' into resolvers 2011-08-09 19:30:20 +02:00
Arnaud Bienner cb28557a77 Correct typo 2011-08-08 23:44:49 +02:00
John Maguire d0a3cd2455 Fix crash in cdio on Mac. 2011-08-08 13:59:21 +02:00
David Sansome cbc05354ee Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-05 08:33:42 +01:00
Black Jack 3de111d84f Fix a crash that occurs when mounting a device with an empty backends container. Fixes issue 2121 2011-08-05 08:20:04 +01:00
Arnaud Bienner c3c4e87827 Remove now useless debug message 2011-08-05 02:35:38 +02:00
Arnaud Bienner f7859f591c Adding CD devices in devices tab. Fixes issue 701. 2011-08-05 02:15:16 +02:00
Nobuhiro Iwamatsu 3ded9f29d2 Fix compiling on ARM. 2011-08-01 22:37:53 +02:00
John Maguire 9424037fe4 Fix typo in comment. 2011-07-28 18:01:32 +02:00
John Maguire 2bda4966fc Basic working use of resolvers for XSPF playlists. 2011-07-28 17:33:58 +02:00
Arnaud Bienner 0bf4b9a748 Guess formatting for last.fm' bios and format them. Partially fix issue 2085. Thanks Atrament...@googlemail.com 2011-07-26 23:55:39 +02:00
David Sansome ae4cfeff1c Always assume Icecast-style stream metadata is in the "Artist - Title" format, as this seems more common. Remove the hacks for soma.fm and stations from the icecast list. Fixes issue 1035 2011-07-26 15:56:19 +01:00
David Sansome b628c2a26e Use a template function instead of a macro 2011-07-26 13:22:23 +01:00
David Sansome c366f722fb Show the album cover dimensions on top of the images in the album cover search dialog.
Fixes issue 1704
2011-07-26 13:02:59 +01:00
David Sansome 5c90404915 Sort album covers by image size. Fixes issue 2048 2011-07-26 12:17:28 +01:00
David Sansome 3eb9aee989 Save the state of the playlist column sort marker
Fixes issue 2098
2011-07-25 16:55:45 +01:00
David Sansome f599c0fca7 Remember the playlist column stretch setting when changing it, and update the menu action's checked state properly when opening clementine. 2011-07-25 16:54:42 +01:00
David Sansome 30f68d6981 Store the floating point proportional playlist column widths directly instead of storing the integer pixel widths then recalculating the floating point values on startup, which would lead to floating point errors over time. Fixes a bug where columns would slowly change size the more times you opened and closed clementine. 2011-07-24 12:47:48 +01:00
David Sansome b1fe146966 Maybe fix the mac build 2011-07-23 23:40:24 +01:00
David Sansome 1f8263d329 Add a C++ implementation of the Amazon cover provider 2011-07-23 19:34:54 +01:00
David Sansome 38100f5e59 Make CoverProviders not a singleton 2011-07-23 19:34:41 +01:00
David Sansome a1062eb96f Add sha256 and hmac-sha256 functions 2011-07-23 19:33:00 +01:00
David Sansome 9fadf57acc Revert "Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs."
This reverts commit 5234798a7f.
2011-07-23 15:32:12 +01:00
David Sansome dd3eee63e5 Remove python scripting support 2011-07-23 15:32:12 +01:00
David Sansome a0258a9e81 Add c++ implementations of the di.fm and sky.fm radio services 2011-07-23 15:32:11 +01:00
David Sansome 409d3b0184 Rename the nyancat analyzer to "Nyanalyzer cat" 2011-07-20 20:33:11 +01:00
David Sansome 387b5cd5ff Fix some bugs in loading premium di.fm and sky.fm streams 2011-07-20 20:06:28 +01:00
David Sansome ceae993d62 Add Python bindings for IconLoader and expose all protected methods in classes 2011-07-18 22:20:45 +00:00
David Sansome 5d74ff9cc7 Update the typesystem file for the Radio -> Internet change and regenerate the Python bindings 2011-07-18 22:20:32 +00:00
David Sansome 69bd5555e7 Fix a crash when loading an old playlist containing Radio items after an upgrade to a version where they're Internet items 2011-07-18 22:20:22 +00:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
John Maguire 16b57935a9 Rename PlaylistManager.name(id) to PlaylistManager.GetPlaylistName(id) so that it doesn't clash with QObject::name() for Python scripts.
Thanks to Cristian Beskid
2011-07-13 18:14:14 +00:00
Tyler Rhodes 39858fcf9d Fix build error on mac. 2011-07-12 23:43:02 +00:00
John Maguire 45a63e2178 Add installers for all scripts and fix setlistfm script for new api. 2011-07-12 16:51:06 +00:00
Arnaud Bienner cd27ef7da3 Remove duplicate strings in uk.po 2011-07-11 20:09:02 +00:00
David Sansome e942ec11d3 Add a button to clear the python console. Thanks Chris Gell 2011-07-10 16:43:37 +00:00
David Sansome 255428b3b9 Update Ukrainian translation. Thanks bjsenya 2011-07-10 16:43:25 +00:00
John Maguire 3df5906250 Add script for searching for a song on youtube. 2011-07-08 15:11:48 +00:00
John Maguire e4c8eee7d9 Add lastfm suggester to OTHER_SOURCES for translations. 2011-07-07 14:22:32 +00:00
John Maguire b188241ec7 Support drag and drop of images to the cover in the edit tag dialog.
Fixes issue #1406
2011-07-07 14:20:34 +00:00
John Maguire ea3cf5f92d Only build lastfm suggester if we have lastfm.
Fixes issue #2057
2011-07-07 13:36:44 +00:00
David Sansome e6b2e5bcae Make the DeleteSongs function actually delete songs again, and make a new MarkUnavailable function that is called when songs are deleted from disk (and stop it from removing the song from the search index). 2011-07-06 20:07:56 +00:00
Tyler Rhodes 5c6f9e625b Allow shorter playlist column names if header size is too small.
Fixes issue 201.
2011-07-06 13:22:42 +00:00
Tyler Rhodes 4daae2249e Add selection-size check before removing items from playlist.
Fixes issue 2038.
2011-07-05 20:24:59 +00:00
Tyler Rhodes 617ea33be9 Remove duplicate action key in wiimotedev preferences.
Fixes issue 2046.
2011-07-05 20:11:21 +00:00
Tyler Rhodes 9f58fb6ded Make icecast items 'selectable' by default.
Fixes issue 2034.
2011-07-05 19:48:58 +00:00
David Sansome c8305c0eee Don't record an undo step when all the songs inserted into the playlist were vetoed. Thanks schizosfera. 2011-07-01 20:48:18 +00:00
David Sansome 5dbdc8354b Port the deleted songs invalidator script to PythonQt. Thanks schizosfera. Fixes issue 2035 2011-07-01 20:47:46 +00:00
Andrea Decorte 10af1e6627 Save last.fm options without login. Fixes issue #2023. Thanks to
samir.benmendil@gmail.com
2011-06-27 18:15:55 +00:00
David Sansome 7773e98ebf Keep track of some statistics while searching for album covers, and show a statistics dialog at the end. Fixes issue 1921 2011-06-26 15:07:48 +00:00
David Sansome 42801a967b Cancel album cover loads properly 2011-06-26 15:07:29 +00:00
David Sansome f8045af720 Various album cover search changes:
- Download several covers and use some heuristics to decide which cover is the best, rather than just taking the first one.
 - Timeout album cover downloads after 2.5s
 - Show covers properly in the album cover manager if they were manually unset, and then Clementine was restarted.
2011-06-26 15:07:19 +00:00
David Sansome dd98f8abc8 Make the album cover search results list scroll by pixel instead of item, and re-layout the items when any data changes 2011-06-26 15:06:59 +00:00
Andrea Decorte a36d0706b5 Ask for confirmation also on tab close button for now 2011-06-26 12:30:19 +00:00
John Maguire 1df5db5ee3 Add Echoprint library and a new fingerprinting classs that uses it. 2011-06-25 17:30:12 +00:00
David Sansome 2ef9ab6f6e Replace the KCategorizedView with a custom widget that works better. 2011-06-25 16:47:00 +00:00
John Maguire d6bafe88e2 Fix weird interaction between QEventLoop, GMainContext and QtConcurrent.
Fixes issue #1929.
2011-06-25 15:06:21 +00:00
David Sansome 7d6aa42ba3 Shift the rainbow back into the right place again 2011-06-23 22:49:33 +00:00
David Sansome b2418fd3ee Oops, remove some debug output 2011-06-23 22:49:23 +00:00
David Sansome 05e6ee8440 Cache the last rainbow frame so it can be used again in the next frame. Makes the painting much kinder on the CPU, but has the side effect of requiring the line segments to have integer spacings. 2011-06-23 20:36:38 +00:00
David Sansome decc769ebb Precalculate the band scale constants and apply them once when adding new values, instead of every time the polyline is drawn 2011-06-23 20:36:30 +00:00
David Sansome aa20b6b3e2 Don't shift the rainbow data along when the widget is being repainted as a result of an expose event 2011-06-23 20:36:14 +00:00
David Sansome a81c5fdf90 Center the rainbow a bit better 2011-06-23 20:36:05 +00:00
Tyler Rhodes 5792c114e8 Update nyan rainbow scaling and painting.
This is the last time, promise :)
2011-06-23 15:14:39 +00:00
Tyler Rhodes 663e5916dd Make nyan rainbow movements centered. (can move up and down, as opposed to just down). 2011-06-23 13:55:53 +00:00
Tyler Rhodes 612260cc9d Prettify nyan.
Add dark blue background and adjust rainbow placement.
2011-06-23 13:21:08 +00:00
John Maguire 623acc8bd1 Fix compile error on Clang. 2011-06-23 12:34:30 +00:00
John Maguire 3567032795 Fix compile error on Mac.
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,XMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMKdo,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,odKMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWkkl';KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK;'lkkWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKK0000000000000000000000000000000000KKKKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKK00000000000000Olld00000olk000000000000KKKKK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xddO00000000Oxxk00000kxO000000000000000KK,  KMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000xooO00000000000000000dooooO000OkkO00000KK,  KMNkkkkKMMMMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000kxx.....odk0Oood00000KK,  kKd....;KKNMMMMMMM
MMMMMMMMMMMMMMMMMK  ,KK00000000000000000000000,  ldddd  '0000000000KK,    .dddd:  dMMMMMMM
MMk.........,MMMMK  ,KK000000000000000kod00000,  lddddll;.'00000000KK,  :lldddd:  dMMMMMMM
MMd  ,,,,,   llNMK  ,KK000000000000000Oxx00000,  lddddddl,,:;;;;;;:::;,,odddddd:  dMMMMMMM
MMd  ;;cdd;..  ldl  ,KK00000000kxO000000000000,  lddddddddo..........cddddddddd:  dMMMMMMM
MMx    .ooddl       ,KK00000000olk0000000OOOkk,  lddddddddddddddddddddddddddddd:  oNNMMMMM
MMMMK     :dddd.    ,KK00000000000000000Oll,  ;ddddddddddddddddddddddddddddddddddd.  KMMMM
MMMMWkk:  ..'ddc:;  ,KK00kook00000000000Okk:  ;dddddddKXx.'dddddddddddddKXx..odddd.  KMMMM
MMMMMMM0::.  ;;;;,  ,KK00kddO00000000000000c  ;ddddddddd:  dddddddd:;ldddd:  ldddd.  KMMMM
MMMMMMMMMMo,,,,     ,KK000000000000OkkO0000c  ;ddxxxxx'...'dddddddd'.cdd'....oxxxx'  KMMMM
MMMMMMMMMMMMMMM.    ,KK000000000000Olld0000c  ;ddkOOOOxddddddddddddddddddddddkOOOO'  KMMMM
MMMMMMMMMMMMMMMNN0  ,KKKKK00dllO0000OOO0000c  ;ddkOOOOxd: .ddddd'  ldddd. .ddkOOOO'  KMMMM
MMMMMMMMMMMMMMMMMK  ,KKKKKKKkxxO00000000000xcc,..dxxxxdd:  .....   .....  .ddxxo''cddNMMMM
MMMMMMMMMMMMMMMdl:  .:lKKKKKKKKKKKKKKKKKKKKKKKd::,,lddddl,,,,,,,,,,,,,,,,,:dd;,;llKMMMMMMM
MMMMMMMMMMMMWKK'.......kkkkkkkkkkkkkkkkkkkkkkkkkk. ,lllllllllllllllllllllllll..cMMMMMMMMMM
MMMMMMMMMMMMK  lddddddl                                                      KMMMMMMMMMMMM
MMMMMMMMMMMMK  ldddd:.   ,KK'  :lll:  'KKKKKKKKKKKK'  :lll:  'KK,  ;llll  'KKWMMMMMMMMMMMM
MMMMMMMMMMMMK  .,,,,.  llkMM,  ',,,,llkMMMMMMMMMMMMkll,,,,'  ,MMkll;,,,,clkMMMMMMMMMMMMMMM
MMMMMMMMMMMMN:::::::::lMMMMMd::::::lMMMMMMMMMMMMMMMMMMl::::::dMMMMMl::::NMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
2011-06-23 11:28:57 +00:00
David Sansome db26c788f4 Tweak nyan cat's values a bit to make him more interesting 2011-06-23 00:22:56 +00:00
David Sansome dad22297d1 Add a nyan cat analyzer.
Nyan nyan nyan nyan.
2011-06-22 23:25:08 +00:00
Arnaud Bienner eb55e1b53d Try to fix the build 2011-06-22 21:52:51 +00:00
Arnaud Bienner 47ad50dc41 Update mute button in tray icon 2011-06-22 21:50:25 +00:00
David Sansome 4864d24e42 Only do the Ubuntu Unity hack on Linux 2011-06-22 20:52:49 +00:00
Arnaud Bienner 63300d79db Set tr function's codec to system encoding. Should (finally) resolve problems with already translated strings 2011-06-22 20:41:48 +00:00
John Maguire 17e5cd4ba9 Fix compile error in gcc 4.6. 2011-06-22 19:28:19 +00:00
David Sansome bac414a630 Allow the artist and album to be specified separately when searching for album covers 2011-06-22 19:07:15 +00:00
David Sansome 2e9ec3e9d4 Don't crash on exit when unregistering cover providers 2011-06-22 19:06:57 +00:00
John Maguire 6e86caae2c Define QT_STRICT_ITERATORS and fix the associated bugs. 2011-06-20 15:08:06 +00:00
David Sansome 9023aafdef Try fixing the build again 2011-06-20 10:24:31 +00:00
David Sansome b59913372c Oops, fix the build 2011-06-20 09:05:14 +00:00
David Sansome 62bd3694ec Remove cover provider factories and refactor everything else to use cover providers directly instead. 2011-06-19 23:15:51 +00:00
David Sansome c6e2981860 Group album cover search results by category 2011-06-19 23:15:29 +00:00
David Sansome 2552f6b232 Update python bindings with CDDA changes 2011-06-19 23:15:18 +00:00
David Sansome 36165ea9bf Keep the state of the rain and hypnotoad menu actions in sync with whether they're actually playing. Fixes issue 1986 2011-06-19 14:42:00 +00:00
Andrea Decorte 87a5ec5cc7 Add confirmation when removing playlist and close button on tabs. Fixes
issue 2003
2011-06-19 08:44:10 +00:00
David Sansome 67f41ef886 Oops, remove some unused dbus includes 2011-06-18 22:05:35 +00:00
David Sansome fd7d24b11a Add Clementine to the Unity system tray whitelist on startup. 2011-06-18 19:08:09 +00:00
Arnaud Bienner 6098e298fd Prevent block analyzer to be initialized in very high framerate mode. This is strangely slowing it 2011-06-18 15:00:59 +00:00
David Sansome c2e9955793 Add support for custom lastfm:// urls. Thanks jajcus. Fixes issue 1993 2011-06-17 20:24:35 +00:00
David Sansome 9d1fdeb87d Don't included deleted songs in smart playlists. Fixes issue 1998 2011-06-17 20:16:45 +00:00
David Sansome 7415d85dce When initialising a song from a library query, don't always assume the metadata originally came from a file (which means icycast tags are ignored when it is played). Fixes issue 1857 2011-06-17 20:00:10 +00:00
David Sansome 99390486bf Show a song's URL in the title playlist column if it doesn't have a title or base filename. 2011-06-17 19:32:03 +00:00
John Maguire 4393199d66 Fix or hide some compile warnings. 2011-06-16 14:38:13 +00:00
John Maguire 54e9299c08 libgsttag is also required to build clementine now. 2011-06-16 13:49:10 +00:00
John Maguire 25587286b2 Fix error when unref'ing cdda element after failing to read CD. 2011-06-15 19:28:25 +00:00
Arnaud Bienner 7fca5d37dc Minor modifications on load audio CD, including better cleaning of objects 2011-06-14 23:38:43 +00:00
John Maguire 02e4d30354 Fix compile error. 2011-06-14 16:13:48 +00:00
Tyler Rhodes e67725265d Make fileview always filter incompatible files. 2011-06-14 16:07:17 +00:00
David Sansome ccd7afed17 Replace LibraryModel assertions with error logging 2011-06-14 15:33:51 +00:00
David Sansome 42fe215443 Don't treat the smart playlist node in the library like a regular container when applying filters - fixes an assertion when clicking the smart playlist node with None/None/None grouping. Fixes issue 1913 2011-06-14 15:27:07 +00:00
David Sansome 563de288ba Encode URLs properly when doing the DB schema conversion to store filenames as URLs 2011-06-14 14:46:02 +00:00
Tyler Rhodes 56b05f1dc8 Disable seeking while stopped.
Fixes issue 1987.
2011-06-14 12:21:53 +00:00
Tyler Rhodes a452971708 Change Mac media keys to respond on key release. Fixes issue 1985. 2011-06-13 10:20:37 +00:00
Tyler Rhodes 80abba66ca Fix my compile fix in r3373 2011-06-10 09:37:50 +00:00
John Maguire 4917ae8f4f Fix compile error. 2011-06-10 09:35:03 +00:00
Tyler Rhodes 006e085b7d Fixes 64-bit compile issue from r3372 2011-06-10 09:19:30 +00:00
Arnaud Bienner 272841ab73 Starting audio CD support. Starts issue 701 2011-06-09 23:08:43 +00:00
David Sansome 5488b37447 Fix vagalume lyrics. Thanks ikojba 2011-06-09 16:32:45 +00:00
Tyler Rhodes 827d37e64b Add 'Enable playlist background image' to preferences.
Fixes issue #365
2011-06-08 14:48:43 +00:00
Andrea Decorte 0a5c8e3995 Fixed two little issue with OSD toggling and new lines 2011-06-05 13:34:12 +00:00
Andrea Decorte 527171fadb Toggle visibility for Pretty OSD by command line and global shortcut.
Fixes issue 1344
2011-06-05 08:21:17 +00:00
Andrea Decorte 018f849b8a Handle new lines from command line. Fixes issue 1948 2011-06-03 11:07:12 +00:00
John Maguire 94d90c5ab7 Code review comments from r3356. 2011-06-01 15:53:05 +00:00
John Maguire 2e72d8d3e5 Code review comments from r3355 2011-06-01 15:47:14 +00:00
John Maguire 69cfd03248 Only build spotify resolver when spotify enabled. 2011-05-31 16:01:33 +00:00
John Maguire e5d991ddaf Add Resolver interface and Spotify resolver. 2011-05-31 15:33:46 +00:00
John Maguire 41e79bea0e Add basics of last.fm suggester and library resolver. 2011-05-31 14:36:28 +00:00
David Sansome 97510cef0c Limit characters in Python module names to [a-zA-Z0-9] 2011-05-30 18:56:36 +00:00
David Sansome 92ee1d3158 Treat RadioServices' parents differently to the model 2011-05-30 14:54:48 +00:00
David Sansome 5eb38504a7 Decrement the refcounts of shell methods if they're not called 2011-05-30 14:54:25 +00:00
David Sansome 033918ff79 Remember any signals that are connected to Python objects and disconnect them when the script is unloaded so the references to those objects can be dropped 2011-05-30 14:53:59 +00:00
David Sansome fb25a3d4f4 Rename script to __script__ 2011-05-30 14:53:28 +00:00
John Maguire 97a8aa54be Use SPMediaKeyTap for global media keys on Mac.
Thanks to: tyler.s.rhodes@gmail.com
2011-05-30 10:09:34 +00:00
Andrea Decorte 86c3ec269f Fix maximum size for pretty OSD when changing fonts 2011-05-29 19:44:03 +00:00
David Sansome 7de618beff Fix registration of metatypes for list handlers on Qt 4.7 2011-05-29 14:08:55 +00:00
David Sansome 6dd1634946 Add Python bindings for Playlists, port the rainbowizer plugin to PythonQt and make its colours a bit more tasteful 2011-05-29 12:55:18 +00:00
Andrea Decorte 44302a59b3 Added option to disable pretty OSD timeout 2011-05-29 12:44:38 +00:00
David Sansome 1c53935c4e Initialise PythonQt shell POD return values to 0, so that if the wrapped method raises an exception an uninitialised value isn't returned to C++ 2011-05-28 16:01:05 +00:00
David Sansome 9e6fea9d27 Refactor AlbumCoverFetcherSearch to not delete replies while they might still be used, and to remove unnecessary mutex locking 2011-05-28 16:00:46 +00:00
David Sansome 3ac2ae6a83 Fix a segfault that occurred when an album cover search finished - seen more often with Python providers. 2011-05-28 16:00:38 +00:00
Andrea Decorte 61092899c9 Add font choice for pretty OSD and fixed bugs in the notification
preview
2011-05-28 08:50:29 +00:00
John Maguire 54a79f0665 Always pause on --pause.
Fixes issue #1599
2011-05-26 15:40:53 +00:00
John Maguire 799279afcd Untested attempt to read album artist tags from ogg/flac/mp4 properly.
Fixes issue #1624
2011-05-26 15:30:42 +00:00
John Maguire e8e882b33c Localise the song info play counts and listener counts.
Fixes issue #1834
2011-05-26 14:59:31 +00:00
John Maguire 8880b06833 Make backspace delete in playlist view on Mac.
Fixes issue #1710
2011-05-26 14:34:22 +00:00
John Maguire 5f7b085f12 Disable popup delay settings when Growl is selected.
Fixes issue #1891
2011-05-26 13:13:38 +00:00
John Maguire 5eedc1b548 Bump version of libspotify to download. 2011-05-25 14:56:03 +00:00
John Maguire f246e44b92 Support making spotify playlists available offline. 2011-05-25 14:22:49 +00:00
Andrea Decorte 2f7ea0acbe New lines are now allowed in OSD if the notification type support them 2011-05-23 19:49:03 +00:00
John Maguire 3fd8d4f78e Fix showing hint in library filter widget on mac. 2011-05-23 12:52:27 +00:00
John Maguire 20534811c8 Fix crash in mac library filter widget.
Fixes issue #1914
Thanks to: tyler.s.rhodes@gmail.com
2011-05-23 09:41:08 +00:00
Andrea Decorte c2e9bee463 Add an option to customize OSD message on song change 2011-05-22 21:15:11 +00:00
David Sansome e61a8c84cb Re-enable and fix the python tests, add regression tests for the weird PythonQt bugs 2011-05-22 15:23:12 +00:00
David Sansome e1620385d5 Fix the Amazon covers script to work with PythonQt, and some minor style fixes 2011-05-22 14:11:02 +00:00
David Sansome fc97e4bb8c Convert CoverSearchResult lists correctly 2011-05-22 14:10:54 +00:00
David Sansome 7228eb8676 Buffer stdout and stderr properly, and integrate with python's logging module 2011-05-22 11:48:12 +00:00
David Sansome 797dfe9841 Fix some connect() warnings when starting a background stream 2011-05-21 19:27:23 +00:00
David Sansome 417bde98a0 Remove dependency on QtUiTools, remove QtUiTools bindings and port PyQt's pure python .ui file parser to use PythonQt. Change the di.fm script to use uic again. 2011-05-21 19:08:38 +00:00
Paweł Bara 46a411844a some more corrections of the python API for cover providers; still not working ;) 2011-05-21 12:19:35 +00:00
David Sansome 5234798a7f Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs. 2011-05-21 10:43:25 +00:00
David Sansome a18146bf8a Handle conversions of SongLists properly between python and Qt 2011-05-21 10:43:08 +00:00
David Sansome 5c1139747f Update a log line in the device kit lister 2011-05-19 23:02:30 +00:00
David Sansome 147bbb9928 Add some more python bindings 2011-05-19 23:02:15 +00:00
John Maguire 51e031df2b Add class for transcoding a Song into an OGG Vorbis stream. 2011-05-19 16:34:33 +00:00
John Maguire 83813bb788 Make ICESession a QIODevice. 2011-05-19 14:29:25 +00:00
David Sansome 09bde274ed Fix some ICE stuff 2011-05-19 13:21:12 +00:00
John Maguire 9afa223dbf Regenerate pythonqt bindings from Qt 4.6. 2011-05-18 15:19:02 +00:00
John Maguire eab423f84e 2-way test infrastructure for ICE tunnelling. 2011-05-18 13:54:26 +00:00
Paweł Bara e0ab8ae5f2 little improvements to the last commit 2011-05-17 18:02:39 +00:00
Paweł Bara d1d177769a cover providers are now recreated every search (this will lead to simpler API of theirs in a moment)
initial migration from SIP -> PythonQt in cover providers
2011-05-17 17:53:36 +00:00
John Maguire 69b2942566 Add dependency so spotify blob is built before clementine. 2011-05-17 11:53:17 +00:00
John Maguire 8dd745895a Add --version command line flag.
Fixes issue #1867
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 19:21:46 +00:00
John Maguire e7f635e507 Maybe fix mac spotify build. 2011-05-16 15:15:02 +00:00
John Maguire b175c36431 Add file type filtering to File view.
Fixes issue #361
Thanks to: tyler.s.rhodes@gmail.com
2011-05-16 15:08:17 +00:00
David Sansome d15c6ac495 Remove the timerEvent method from NetworkTimeouts 2011-05-15 16:19:47 +00:00
David Sansome 7b84b23366 Add bindings for classes from network.h 2011-05-15 16:12:49 +00:00
David Sansome 25e63e4b42 Add QtUiTools bindings 2011-05-15 16:12:38 +00:00
David Sansome 368c637ce7 Fix compilation in release mode and disable the python test for now 2011-05-15 15:46:42 +00:00
David Sansome d9bb8ffd8c Add the pythonqt bindings generator and make some bindings for RadioService and UrlHandler 2011-05-15 15:45:49 +00:00
David Sansome 930a2aa2bf Add an interactive Python console to the script manager 2011-05-15 13:44:06 +00:00
David Sansome 7c05b42dcd Add PythonQt to 3rdparty, use it in the python engine instead of SIP/PyQt. 2011-05-15 13:41:54 +00:00
David Sansome e2c6526840 Make dynamic playlists use the limit specified in the smart playlist dialog. Thanks google@robbertkrebbers.nl. Fixes issue 1082. Fixes issue 1192. 2011-05-14 13:44:10 +00:00
David Sansome 792352be3b When songs disappear from the filesystem (either they're deleted or are on a removable media that was unmounted), mark them as unavailable instead of removing them from the database. Thanks google@robbertkrebbers.nl. Fixes issue 401 2011-05-14 13:43:57 +00:00
David Sansome dfb0289987 Fix the byte order of album cover art images sent over dbus on big endian machines. Thanks Paul Wells 2011-05-14 13:43:33 +00:00
John Maguire c9a0318553 Revert to not scanning hidden directories. 2011-05-13 16:56:42 +00:00
Andrea Decorte dbde7ae118 Fixed icons 2011-05-09 20:37:14 +00:00
John Maguire 6c291c45db Add missing include. 2011-05-09 20:03:53 +00:00
Andrea Decorte ddbe03b526 Added Login button to Last.Fm and others online services. Fixes issue
1772
2011-05-09 19:54:04 +00:00
Andrea Decorte 56c8567fc7 Added missing NOT conditions in smart playlists. Fixes issue 1836 2011-05-04 18:47:48 +00:00
Andrea Decorte 2bcaba28ad Fixed translations when compiling without Spotify support 2011-05-04 18:00:48 +00:00
Arnaud Bienner d20f689ab4 Revert r3234 because, as discussed, this could lead to blocking behavior 2011-05-03 22:38:24 +00:00
Andrea Decorte 2dd2b615ef Show tooltips in the sidebar only in Tabs and IconsOnly modes 2011-05-03 18:06:17 +00:00
Arnaud Bienner 709d339866 Avoid to create a new thread when changing state. Make the UI more reactive, especially when Qt threadpool is already full (for example when fingerprinting several files in parallel for MusicBrainz autotagging) 2011-05-03 00:02:35 +00:00
David Sansome e6032a7c51 Use __stdcall for libspotify callbacks on windows, call the right executable 2011-04-30 18:22:14 +00:00
David Sansome d41916cf79 Update pot 2011-04-30 12:31:32 +00:00
David Sansome 70e6018b1e Add some spotify branding, display spotify login errors, add a button to the config dialog to download the blob, only make the config dialog try to login when it needs to, fix a bug where the Starred and Inbox items would sometimes not get created. 2011-04-30 12:31:20 +00:00
Andrea Decorte 1c0a0f17dd Added some debug output for last.fm tracks caching 2011-04-30 08:36:44 +00:00
David Sansome a2ceca673c Bump trunk's version to 0.7.1 (oops), show an error when the spotify blob crashes, actually use the LD_LIBRARY_PATH that is created 2011-04-29 21:49:48 +00:00
David Sansome c22c5eb917 Fix a build failure on Windows 2011-04-29 21:01:20 +00:00
David Sansome be69ad9225 Update the pot 2011-04-29 19:50:34 +00:00
David Sansome 3deb371537 If the spotify blob isn't installed, try to download it from the Clementine website. Also, make the blob separate from the core Spotify code in Clementine so you can build the core code without building the blob 2011-04-29 19:44:51 +00:00
John Maguire a1e06e6596 Fix opening the Spotify config dialog from the context menu. 2011-04-29 18:56:17 +00:00
David Sansome 0b4368aece Fix build error 2011-04-29 14:07:30 +00:00
David Sansome a2d4e7d843 Change the fonts in the did you mean... popup, and make it observe enter and escape keypresses 2011-04-29 14:01:59 +00:00
David Sansome 337ac0b9e1 Update pot 2011-04-29 13:41:53 +00:00
David Sansome 5efe63462c Get album art for Spotify tracks 2011-04-29 13:41:42 +00:00
David Sansome 35e34c6ca5 Hide the did you mean widget when leaving the search box, Don't lose the spotify tab icon when stopping playback, add a helpful label to the empty spotify search tab, remove the playlist CSS hook, fix double clicking the "Search spotify" item in the list 2011-04-29 11:24:58 +00:00
Paweł Bara b0688a2aa7 fixing compilation of remote control 2011-04-28 22:31:58 +00:00
David Sansome b20d280156 Add a "Did you mean ...?" widget when searching on spotify 2011-04-28 20:48:53 +00:00
John Maguire b45e11712a Correctly copy and fix up spotify blob on mac. 2011-04-28 20:37:13 +00:00
John Maguire d51c99382e Fix crash on Mac. 2011-04-28 20:19:48 +00:00
David Sansome 06852aaeb7 Show spotify search results in a separate playlist tab rather than in a tree in the sidebar. 2011-04-28 17:50:45 +00:00
David Sansome 255682b057 Remove the special load behaviour from Playlist Items and instead add URL Handlers that do the same job but for all playlist item types. 2011-04-28 15:10:28 +00:00
David Sansome ccb9f8cf94 Use URLs everywhere instead of filenames. Move the URL parsing and song loading code out of individual playlist parsers and into the base class. Fix the playlist parser unit tests. 2011-04-28 12:27:53 +00:00
Andrea Decorte 9dd45dbe82 Improved Last.fm scrobbling when connection is down 2011-04-28 10:32:56 +00:00
Paweł Bara 23fbada6c4 fixing a problem with disabled "save cover to file" action in the now playing widget (fixes issue #1721) 2011-04-27 19:44:38 +00:00
Paweł Bara 10fbbca82f disable some more stuff in the cover manager's window if there are no active cover providers 2011-04-27 19:36:42 +00:00
Paweł Bara fdda938c53 now that we have more cover providers, we're bringing the cover manager and the cover searcher goodness to our last.fm-less users 2011-04-27 19:10:37 +00:00
David Sansome b15156a7a3 Handle bigger protobuf messages, add spotify searching to the UI 2011-04-27 16:38:28 +00:00
John Maguire ff7d634fa4 Spotify on mac. 2011-04-26 22:20:11 +00:00
David Sansome 3d6677fe6d Allow radio services (Spotify) to store whole songs in playlist items 2011-04-26 22:06:58 +00:00
David Sansome 6f1f4484f4 Allow songs from the spotify service to be added to the playlist, and bodge a tcpserversrc into GstEnginePipeline 2011-04-26 18:39:38 +00:00
David Sansome 3a34d416f9 Get playlist contents from Spotify and display them in the UI 2011-04-26 17:06:36 +00:00
David Sansome 2bec9a00fc Add license headers to all the spotify source files and obfuscate the API key 2011-04-26 13:43:13 +00:00
David Sansome c4f1b3f002 Get the list of playlists from spotify. Also clean up the logging in the client, rename and refactor some classes. 2011-04-26 13:42:58 +00:00
David Sansome e152e3a3e3 Start of some spotify support - builds a binary blob linked against libspotify that Clementine starts as a separate process. 2011-04-25 19:16:26 +00:00
Andrea Decorte 4d19917b05 Length in smart playlists works again. Fixes issue 1796 2011-04-24 19:07:01 +00:00
David Sansome 071f1f4f7e Add loads more debug logging on startup 2011-04-24 18:07:09 +00:00
David Sansome 8b1cbc33c0 Fix a race condition on startup that would cause a crash if the album cover loader thread took too long to start (happened a lot on Windows) 2011-04-24 18:07:05 +00:00
Andrea Decorte c6c4902d3f Added two new options for date queries in smart playlists. Fixes issue
1141
2011-04-24 17:52:16 +00:00
David Sansome ec07d9d46f Don't statically initialise Python extensions on Windows, add some more debug logging 2011-04-24 17:02:32 +00:00
David Sansome 9d52951dea Add a compile time option to show the WIN32 console even outside debug mode 2011-04-24 17:02:26 +00:00
David Sansome d28e5ae09a Add a test for shared pointers in python 2011-04-22 18:53:33 +00:00
David Sansome 63b6c65b8f Make the script dialog list scroll more smoothly 2011-04-22 18:53:26 +00:00
David Sansome 101985defa Fix a build failure with glib >= 2.25 2011-04-22 17:52:09 +00:00
David Sansome 5a2f522895 Fix compilation on release builds 2011-04-22 17:17:37 +00:00
David Sansome df05bf1195 Fix a bounds check in PlaylistTabBar, convert a couple more things to use qLog() 2011-04-22 17:07:57 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
Arnaud Bienner 93eb4dea3f Revert r3155, as it seems this doesn't correct issue 1710 2011-04-21 22:23:44 +00:00
Arnaud Bienner be1ee059f2 Correct update lastfm's love/ban actions in tray icon 2011-04-21 22:19:28 +00:00
Paweł Bara b8e1880854 "remove deleted songs from playlists" action in the 'deleted songs invalidator' plugin (fixes issue #1594) 2011-04-21 21:56:37 +00:00
Paweł Bara 90470e1315 another plugin - Amazon provider for searching of covers 2011-04-21 19:07:39 +00:00
Arnaud Bienner 096c563a9c On Mac OS X, we shouldn't transmit the event to search box when backspace is pressed, but accept it (this should result in deleting the track from the view). Updates issue 1710 2011-04-19 23:56:18 +00:00
Arnaud Bienner 41a4393b24 Translate dynamic playlist names at runtime. 2011-04-19 21:39:02 +00:00
Arnaud Bienner 1cd1a4a641 Forgot to update translations. Also adding a key accelerator to 'Tools' menu text (while keeping already translated strings) 2011-04-19 20:31:41 +00:00
Arnaud Bienner 6653d740fc Adding shorcuts for navigating over the tabs. Fixes issue 1568 2011-04-19 20:11:24 +00:00
David Sansome 2f88d8b355 Change "drection" to "direction" in the mpris /Player schema 2011-04-19 19:22:58 +00:00
Paweł Bara 6841e183d3 in the Last.fm config dialog, hide the warning icon with the warning itself
David's POTs
2011-04-17 15:25:32 +00:00
David Sansome 05f73962a8 Oops, update playlist.sip 2011-04-17 15:23:11 +00:00
David Sansome 8f4c1dbbf6 When doing gapless playback, fix a bug where the TrackEnded signal would be emitted too early, before the track had actually ended. This caused the song after the current song to get scrobbled and its playcount increased. Fixes issue 1771 2011-04-17 14:11:37 +00:00
Andrea Decorte 9a31eb7fd4 When deleting items in playlist, select the next one. Fixes issue 1279 2011-04-17 13:48:02 +00:00
David Sansome 012eeee46a Only update a song's play count once if scrobbling is disabled. Fixes issue 1766 2011-04-16 23:17:48 +00:00
David Sansome 5ed1fcd5e1 Add a load of options to the transcoders. Fixes issue 415. 2011-04-16 23:04:15 +00:00
David Sansome 9030c5a49e Scrobble a track again if it's loved after it's scrobbled 2011-04-16 15:27:41 +00:00
David Sansome 343b6d6c3a Re-enable the love button after going to a different song in a radio stream. Fixes issue 1086 2011-04-16 15:27:34 +00:00
David Sansome 12b6bbd166 Scrobble radio streams even if we don't know the length of each individual part. Fixes issue 681 2011-04-16 15:13:53 +00:00
Arnaud Bienner f7e614684d Minor modifications thanks to David' comments. Adding some comments to explain the new process: hope it's clearer now 2011-04-16 15:06:13 +00:00
Arnaud Bienner 65ef047c38 Loading file in async way, in two times: fast loading files and insert them in playlist view, while loading info (tags, ...) in background thread 2011-04-16 14:04:15 +00:00
David Sansome 23c744f41a Add a queue element to the pipeline to buffer even local sources, and increase the default buffer size to 4 seconds. 2011-04-16 14:04:12 +00:00
David Sansome 8d6f818d25 Maybe fix an assert when connecting WMDM devices 2011-04-16 13:39:31 +00:00
David Sansome f905ce3510 Put a limit on the size of the playlist undo stack, and don't add operations to the stack if they affect more than 500 items. Fixes issue 1762 2011-04-16 13:31:57 +00:00
Andrea Decorte 32ae9bd1de Reintroducing scroll arrows, since the visual glitch seems a Qt bug 2011-04-15 21:54:19 +00:00
John Maguire b9d35c29fe Check last.fm subscriber status on config dialog load. 2011-04-14 11:11:34 +00:00
Andrea Decorte 764b3b0429 Show tooltips on playlist tabs only when needed. Fixes issue 1725 2011-04-13 19:15:30 +00:00
John Maguire 9d86b41a88 Add warning about not being able to play last.fm radio if not a subscriber. 2011-04-13 15:54:15 +00:00
John Maguire 6a06c90f0a Revert broken shortcut translations. 2011-04-13 12:32:16 +00:00
John Maguire 32c395fde1 Update translations from Launchpad. 2011-04-13 12:07:55 +00:00
David Sansome eddc47cc64 Recognise iPods correctly when using GIO. 2011-04-12 17:27:01 +00:00
David Sansome 2c6791f6d7 Updated turkish translation. Thanks H. İbrahim Güngör 2011-04-12 17:08:02 +00:00
David Sansome babad3b32a Fix DeviceKit devices on Linux. Thanks vsevolod.minkov. Fixes issue 1217 2011-04-11 22:06:44 +00:00
Andrea Decorte 2d27f10cfb Add tooltips to playlist tabs. Fixes issue 1725 2011-04-11 16:29:36 +00:00
Andrea Decorte 502b17cfb3 Revamped last.fm config dialog. Fixes issue 1053 2011-04-09 09:00:10 +00:00
John Maguire 685710a7f7 Fix SIP file for Playlist. 2011-04-08 22:34:19 +00:00
Andrea Decorte d10d1913cb removed useless slot, made the disabled scrobbling icon a little lighter 2011-04-08 15:35:08 +00:00
David Sansome b799543272 Stamp last.fm tracks before checking if they're valid scrobbles 2011-04-07 19:18:24 +00:00
Andrea Decorte 5d8f1fe872 Added scrobbling button in main window and a global shortcut for
toggling it. Fixes issue 1090
Improved last.fm error handling
2011-04-07 16:25:52 +00:00
John Maguire 55021ef67d Fix compilation without pjsip. 2011-04-07 14:12:37 +00:00
John Maguire 18bfa12042 Add the beginnings of an ICE socket implementation.
Currently, it can be demoed using --stun-test and the icedemo from pjsip as the other client.
TODOs:
Add ability to do a full demo using only 2 clementine instances.
Complete session initiation over XMPP.
Add local & port forwarded sockets as options.
2011-04-07 13:38:27 +00:00
John Maguire cb763213bf Add missing Q_OBJECT macro. 2011-04-07 13:29:42 +00:00
Paweł Bara 2b22dfaaee download only large covers from google
add cover size tooltip (see issue #1704)
cover search window is now a grid and not a long list with vertical scrollbar
2011-04-06 15:24:56 +00:00
John Maguire 41ef30151a Remove debug output. 2011-04-04 13:16:13 +00:00
John Maguire ab363a54ea Fix free space & capacity counts for MTP devices on Mac. 2011-04-04 13:15:56 +00:00
Andrea Decorte e57d988f5d oops, it seems that MidButton is a better choice... 2011-04-02 18:15:20 +00:00
Andrea Decorte d29aa81a3b disable double middle click in playlist tabbar and activate elide mode
in sidebar
2011-04-02 17:28:43 +00:00
Paweł Bara 3c61fbdade terminate the search for covers immediately if there are no providers
if there's a search timeout, send back the results gathered so far (if any)
fixing the previous commit
2011-04-02 15:31:28 +00:00
Andrea Decorte 886f3d4d6f Double click on a tab to rename it and visual improvements to tab bar.
Fixes issue 1651
2011-04-02 14:46:56 +00:00
Paweł Bara f86b671272 fixing the minimal build 2011-04-02 14:43:50 +00:00
Paweł Bara 032b5f7e48 initial commit of "multiple covers providers" feature:
- simple API for cover providers (both C++ and SIP)
- a new "package" for cover related code
2011-04-02 13:34:06 +00:00
David Sansome a10d396f22 Fix the InsertUrls dbus method so it inserts tracks at the end of the playlist and plays them again. 2011-03-31 18:47:25 +00:00
Andrea Decorte 55b2d30959 added a button to remove items and keyboard shortcuts in the Queue
Manager. Fixes issue 1646
2011-03-30 18:41:34 +00:00
David Sansome c6bd3cbb30 Fix an uninitialised variable error with gcc 4.6.0. Fixes issue 1659 2011-03-30 15:00:00 +00:00
Andrea Decorte 9c2f0e7d8f Ask before creating Jamendo database. Fixes issue 1440 2011-03-30 13:47:06 +00:00
David Sansome e5bc2be85f Add some more debugging output for deciding when to scrobble a song 2011-03-29 21:12:49 +00:00
David Sansome e8101273f0 Set a minimum size on the visualisation window. Fixes issue 1643 2011-03-29 19:12:58 +00:00
David Sansome 96b9321d3b Fix --seek-to and --seek-by. Fixes issue 1654 2011-03-29 19:05:09 +00:00
David Sansome f416c27483 Fix a compiler warning in mpris1.cpp 2011-03-29 19:05:04 +00:00
David Sansome e69970709e Add an option to turn off -Werror. Thanks ssuominen@unk.fi 2011-03-29 18:51:16 +00:00
David Sansome 7d6eee590a Don't force the track to stop at the end of a section unless it's part of a cue sheet. Fixes issue 1610. Fixes issue 1636. 2011-03-28 22:11:07 +00:00
David Sansome 9f04aa7bb2 Remove an unused variable. 2011-03-28 12:52:20 +00:00
David Sansome 31a2b8779d Oops 2011-03-27 13:00:50 +00:00
David Sansome e4a5820488 Update Portugese translations, thanks smarquesPT. Fixes issue 1625 2011-03-27 12:04:06 +00:00
Arnaud Bienner 900cbcf001 Using trUf8 instead of classic tr. Now displays the already translated strings (utf8) correctly. Fixes issue 1620 2011-03-26 19:03:59 +00:00
David Sansome 7c0569f2ae Merge translations from Launchpad 2011-03-26 17:37:09 +00:00
David Sansome f2ddc92a0d Maybe fix the mac build without breakpad 2011-03-26 17:36:13 +00:00
David Sansome 0968e6680b Oops, Fix a compile error 2011-03-25 21:52:56 +00:00