Commit Graph

1395 Commits

Author SHA1 Message Date
David Sansome f2e13a0cb7 Create a real unique ID for each WMDM device 2010-08-22 16:11:14 +00:00
David Sansome 8c3b16a93d Properly shut down the WMDM lister 2010-08-22 15:42:21 +00:00
David Sansome 6790b43e62 Register for WMDM device notifications 2010-08-22 15:26:59 +00:00
David Sansome 160879327f Pick gstreamer codecs and muxers for transcoding automatically instead of having a hardcoded list 2010-08-22 00:27:14 +00:00
John Maguire 831c5221bb Add header to fix build on Linux. 2010-08-20 12:30:42 +00:00
John Maguire 59233f5192 Disable FFT when no analyzer in use. 2010-08-20 12:14:43 +00:00
John Maguire acc71de1d9 Silence some warnings. 2010-08-20 11:25:19 +00:00
John Maguire 652f09b926 Fix memory leak from spectrum element.
Fixes issue #638
2010-08-19 10:14:56 +00:00
John Maguire 3b6fda9627 Yay Qt! 2010-08-18 19:28:07 +00:00
John Maguire 2db2354e0b Move spectrum before volume element.
Tweak new analyzer.
2010-08-18 19:12:28 +00:00
John Maguire 9ca0870268 Fix slowdown of block analyzer. 2010-08-18 18:40:52 +00:00
John Maguire 459a134201 Remove FHT and use gstreamer's FFT for all analyzers. 2010-08-18 18:21:30 +00:00
John Maguire 7147dec69f Missing files! ^&%^#@ SVN. 2010-08-18 16:26:36 +00:00
John Maguire 03274b0831 Add new analyzer API and example using gstreamer spectrum element. 2010-08-18 16:09:45 +00:00
David Sansome c86f7ff1f1 Get free space information from WMDM devices 2010-08-17 21:09:28 +00:00
John Maguire f077e33091 Fix playlist loading. 2010-08-16 18:58:26 +00:00
David Sansome 78db71c02c Semi-working WMDM device lister 2010-08-15 23:26:04 +00:00
David Sansome 164d4f6f6f Throw away the WPD lister and add a WMDM lister 2010-08-15 18:08:09 +00:00
David Sansome ec22230f3c Add a WPD lister. Doesn't do anything yet, other than compile 2010-08-14 22:43:19 +00:00
David Sansome a3b29406e6 Use pkg-config to find libraries on windows, and explicitly link to zlib for libgpod 2010-08-14 18:56:05 +00:00
John Maguire 871a853ff7 Fix compile on mac. 2010-08-14 18:37:16 +00:00
David Sansome ff19d31403 Support removing files from MTP devices 2010-08-14 17:06:38 +00:00
David Sansome 9fda03aa60 Support copying files to MTP devices 2010-08-14 16:39:45 +00:00
David Sansome 3f5e188045 Initial support for MTP devices 2010-08-14 15:57:05 +00:00
David Sansome 9c4282c61c Fix a bug where forgotten devices couldn't be unmounted 2010-08-14 12:42:16 +00:00
David Sansome 39132c4dcd In the organise dialog, prompt before connecting a device that hasn't been connected before 2010-08-14 12:30:51 +00:00
David Sansome c0ea45a9c9 Show an error dialog when copying or deleting files failed. 2010-08-14 11:51:50 +00:00
David Sansome 0faa81253f Keep the same iPod connection when copying or removing multiple files, instead of connecting and disconnecting for each one. Also fix the lockdownd hack. 2010-08-14 11:16:11 +00:00
David Sansome 1d25ee78ed Support removing files from ipods 2010-08-14 10:32:47 +00:00
David Sansome 1dbb1817e8 Codereview comments from r1685 2010-08-12 16:35:43 +00:00
David Sansome 2e646494aa Update a device's free space after copying or removing files from it 2010-08-11 18:47:53 +00:00
David Sansome a1332a2c05 Support multiple selections in the devices view 2010-08-11 18:18:58 +00:00
David Sansome 8e11c8b29e Update translations 2010-08-11 18:18:14 +00:00
David Sansome b74f853446 Merge translations from launchpad 2010-08-11 17:46:01 +00:00
David Sansome b27238a480 Test whether we can still talk to afc before freeing the lockdownd client (fixes usbmuxd errors once and for all), report afc copy errors, keep track of files that failed to copy to a device, don't attempt to write the itunesdb if there were errors during copying. 2010-08-10 19:42:43 +00:00
David Sansome 9d2a4783ff Don't show empty rows in the Hardware Information view 2010-08-10 18:45:34 +00:00
David Sansome 5e00eb11de Pass shared_ptrs to music storage things to the organiser thread so they won't get deleted if the device is disconnected 2010-08-09 21:50:46 +00:00
David Sansome 43a27979dc Keep a shared_ptr on connected devices during the lifetime of their background processing threads 2010-08-09 21:32:25 +00:00
David Sansome 4e12ef71c8 Remove old header 2010-08-09 21:14:03 +00:00
David Sansome 0ccc3a5f0a Remove dependency on libplist++ 2010-08-09 20:22:55 +00:00
John Maguire 46fe33b300 Add new icons to device properties list. 2010-08-09 20:15:12 +00:00
John Maguire 9e9d33165f * Add green ipod pngs.
* Fix transparency on ipod touch/iphone.
2010-08-09 20:06:53 +00:00
David Sansome e65c710b5f Improve error handling while transferring the iTunes database to/from the iPod 2010-08-09 19:24:17 +00:00
John Maguire f078edf0db Add ipod touch/iphone icon. 2010-08-09 19:14:42 +00:00
John Maguire 4d0cf9aafe update translations
bah
2010-08-09 18:42:36 +00:00
John Maguire 8f9492a975 bah 2010-08-09 18:42:17 +00:00
John Maguire 9ddba7251a * Get the given name for an iDevice.
* Clean up device information code & get a few more interesting values.
2010-08-09 18:40:20 +00:00
John Maguire cef7e2a69e Fix free space bar rendering on mac. 2010-08-09 14:20:33 +00:00
John Maguire b1a96fd54d Fix encoding of tags we get from gstreamer. 2010-08-09 13:12:54 +00:00
David Sansome 5739dbf1f0 Make copying to afc devices work :D 2010-08-08 19:11:34 +00:00
David Sansome 58506b0469 strdup to the rescue! 2010-08-08 17:45:57 +00:00
David Sansome a228e2b806 Copy files to afc devices. Doesn't quite work yet 2010-08-08 17:41:06 +00:00
David Sansome d29fb119a4 Don't rewrite the paths of songs on afc devices, and mark them as streams in the playlist so they won't get re-read on startup 2010-08-08 13:27:36 +00:00
David Sansome 68d7156071 Add Copy to device... to the playlist context menu 2010-08-08 13:06:52 +00:00
David Sansome d81db5f255 Reload playlist items in the background after editing 2010-08-08 12:36:07 +00:00
David Sansome 49da0eee27 Put a mutex around all the taglib stuff 2010-08-08 12:35:23 +00:00
David Sansome 23c02830de Don't display ssh mounts in the devices list 2010-08-07 16:30:42 +00:00
David Sansome 296b2099ae Install an svg icon on Linux. Fixes issue #604 2010-08-07 10:41:42 +00:00
David Sansome 42139fe92f Append to, not replace, CFLAGS and CXXFLAGS. Fixes issue #609 2010-08-07 10:03:26 +00:00
David Sansome aadd38708f Fix an overflow when calculating free space and capacity. Thanks YellowOnion. Fixes issue #584 2010-08-07 10:00:20 +00:00
John Maguire b37949628a Use filename if no title in now playing widget.
Fixes issue #535
Thanks to arthur.murauskas
2010-08-06 14:15:14 +00:00
David Sansome 0b85797e45 Fix a crash when the gst state change takes ages 2010-08-04 20:32:53 +00:00
David Sansome 6f63dcc37f Remove some debug output 2010-08-04 18:31:18 +00:00
John Maguire 67eb9770c4 Code review comments for r1631 2010-08-04 12:37:46 +00:00
John Maguire 35e87b2a77 Start gstreamer playing from a separate thread. 2010-08-04 12:13:43 +00:00
David Sansome 1cbd0af8fb Fix compilation with gcc 2010-08-04 08:17:31 +00:00
John Maguire 16d50b29d8 Nice typedefs. 2010-08-03 19:40:54 +00:00
John Maguire 36264e0b2b Separate out UniversalEncodingHandler. 2010-08-03 19:29:49 +00:00
John Maguire 78371a5d3a Remove debug 2010-08-03 19:08:05 +00:00
John Maguire e67f9a66c8 Load playlist in separate threads on startup. 2010-08-03 18:57:17 +00:00
John Maguire f5449b9f8d Move playlist loading off the GUI thread. 2010-08-03 14:59:18 +00:00
John Maguire 812a91214e Add a warning if Song::InitFrom{Query,File}() is called from the GUI thread. 2010-08-03 13:37:47 +00:00
David Sansome 6604e97493 Make it possible to change the language with --language, or an option in the settings dialog. Fixes issue #583 2010-08-02 19:02:21 +00:00
David Sansome aad6093b63 Give each gstreamer element a unique name 2010-08-02 18:13:40 +00:00
John Maguire 93f4fca324 Do bulk tag updates in "parallel".
Update issue #542
2010-08-02 15:07:26 +00:00
John Maguire f45ec1a43e Push more tag saving off the GUI thread.
Update issue #542
2010-08-02 14:22:05 +00:00
John Maguire 8166a50b2a Use persistent model index. 2010-08-02 14:07:34 +00:00
John Maguire 992e0fb95e Add support for saving songs in a separate thread.
Updates issue #542
2010-08-02 14:00:43 +00:00
John Maguire be389a12f3 Also check for usbmuxd. 2010-08-02 12:42:59 +00:00
David Sansome 1dcdbfd7d6 Link gstasfsrc with the library rather than the executable 2010-08-01 18:53:55 +00:00
David Sansome 2a7c6de273 Register gstafcsrc properly, and use it when playing songs from an afcdevice 2010-08-01 18:09:38 +00:00
David Sansome 3535e5b954 Compile the afc plugin statically 2010-08-01 17:41:04 +00:00
John Maguire 73657ccaaa Remove debug + Mac typo. 2010-08-01 17:38:58 +00:00
David Sansome 7a6499abde Copy the iTunes database off a libimobiledevice device and load it from the local file 2010-08-01 14:13:27 +00:00
John Maguire 7fce4ada7d AFC QIODevice for talking to iThings. 2010-08-01 12:19:21 +00:00
David Sansome 3c6f48bd4c Ignore mounted samba shares and CDs from the GIO lister 2010-08-01 12:00:50 +00:00
David Sansome 6faa1aa1a6 Merge iLister devices with GIO devices 2010-08-01 11:55:01 +00:00
David Sansome 01b6d39341 Oops, don't read the device info while holding the mutex 2010-08-01 11:29:04 +00:00
David Sansome 9c19bfd218 Make iLister threadsafe 2010-08-01 11:24:25 +00:00
David Sansome 5517e2a503 Oops, don't need this hack any more 2010-08-01 11:05:14 +00:00
David Sansome 02783b1d5d Unmount devices from the main thread instead of the organiser thread - fixes a crash when unmounting after copying 2010-08-01 11:01:07 +00:00
David Sansome a207a3def5 Make pressing return in the library view the same as double clicking 2010-07-31 17:29:52 +00:00
David Sansome 51b5e7d607 Fix an assert when the library is grouped by file type 2010-07-31 16:13:50 +00:00
David Sansome 1f2b69c6bc Add support for deleting files from the filesystem, devices, and ipods. 2010-07-31 16:12:16 +00:00
David Sansome 5a1fe772ac Fix the ordering of tracks in the library view, again 2010-07-31 15:00:31 +00:00
David Sansome a236861dfa Option to group the library by file type 2010-07-31 14:14:03 +00:00
David Sansome 7ca3612bea Friendly names for the iPod Touch and iPad 2010-07-31 14:13:37 +00:00
David Sansome 7e29c772af Use the playlist's name as the default filename when saving it 2010-07-31 13:10:08 +00:00
David Sansome a21b7541e5 Sort items in the library model that don't have track/disc information in a more deterministic way 2010-07-31 12:50:00 +00:00
David Sansome 18f95c205c Don't show the device capacity text in the device properties dialog any more 2010-07-31 12:48:55 +00:00
David Sansome 6dc81851bf Juggle translations 2010-07-31 12:47:40 +00:00
David Sansome cb2ae56949 Disable the OK button on the organise dialog when the destination device doesn't have enough free space. Fixes issue #539 2010-07-30 22:25:32 +00:00
David Sansome 06ce5e5253 Fix a crash when a device can't be connected, and remove some debug noise 2010-07-30 22:19:28 +00:00
John Maguire 24837741e5 Add support for capacity/free space to iDevices.
Fix code review comments for r1585
2010-07-30 22:08:47 +00:00
John Maguire e39a4a889b Fix build without libimobiledevice 2010-07-30 21:51:26 +00:00
David Sansome 4a096b69ee Make the free space widget prettier 2010-07-30 21:47:38 +00:00
John Maguire 23044bf702 Add basic support for libimobiledevice. 2010-07-30 21:10:34 +00:00
David Sansome e54f0a18d9 Add an implementation of FileSystemCapacity and FileSystemFreeSpace for windows 2010-07-29 22:58:23 +00:00
David Sansome 6f259d4ecc Show a free space bar in the organise dialog, and also show how much space would be taken up after copying files. 2010-07-29 22:16:12 +00:00
David Sansome 3ad30d14a8 Display device free space information in the device properties dialog 2010-07-29 20:03:24 +00:00
David Sansome af0a9ac79b Use statvfs instead of statfs 2010-07-29 19:06:27 +00:00
David Sansome 87b8c3ce69 Detect symlinks in music library. Patch by Knuckster 2010-07-29 18:40:10 +00:00
David Sansome 7c974d66da Get free space for DeviceKit devices 2010-07-29 18:14:26 +00:00
David Sansome a95f9aecd8 Juggle translations 2010-07-29 18:13:30 +00:00
John Maguire 124ceb2db9 Fix compiling with Clang. 2010-07-27 13:21:28 +00:00
John Maguire fe26c8bb8f Fix crash when expanding last.fm tree.
Fixes issue #463
2010-07-26 17:32:16 +00:00
John Maguire 14dd723e3a Connect up signals for queuing tracks so that the view is updated correctly.
Fixes issue #548
2010-07-26 15:53:06 +00:00
John Maguire b3d3bca314 Add shortcut for queue/dequeue track.
Fix other context menu shortcuts.

Fixes issue #259
Fixes issue #547
2010-07-26 15:21:56 +00:00
John Maguire 7235194016 Hack font size down to 11pt on Mac.
Fixes issue #546
2010-07-26 12:55:33 +00:00
John Maguire a55ee16c3d Disable Cmd+H shortcut for shuffle on Mac as it conflicts with the default hide action.
I haven't replaced the shortcut with anything else yet as it's not obvious what it should be.

Fixed issue #523
2010-07-26 12:05:50 +00:00
John Maguire 41d1facd9f Fix compile on Leopard & support correct icons on Mac. 2010-07-26 11:01:36 +00:00
John Maguire 6358198b06 Use correct icon for Nexus One. 2010-07-25 13:32:47 +00:00
John Maguire 39b72e2b9c Fix compiler warning. 2010-07-25 13:09:23 +00:00
David Sansome b2aba2bac2 Add an option to eject a device after copying files to it. Now with bonus multiple virtual inheritance. 2010-07-25 09:52:29 +00:00
David Sansome 4ffc118468 Give the organise dialog a more sensible size 2010-07-25 09:32:44 +00:00
David Sansome eeafce66bc Show devices in the organise dialog that are connected but not open 2010-07-25 09:27:41 +00:00
David Sansome b13aa47e97 Juggle translations 2010-07-25 09:27:18 +00:00
John Maguire 95d5906995 Handle GLib logs ourself. 2010-07-25 01:44:46 +00:00
John Maguire c010a66e3f D'oh. 2010-07-25 01:41:06 +00:00
John Maguire 8ffc77e5b4 Unmount support on Mac. 2010-07-25 01:29:22 +00:00
David Sansome a9d75e628b Remove the connect/disconnect actions and replace them with an eject device action. Implement eject on devicekit and gio. 2010-07-25 01:07:51 +00:00
John Maguire 7b1ea18621 Fix compile without libgpod. 2010-07-25 00:43:41 +00:00
John Maguire fa923a254e iPod colour/model detection -> icon name. 2010-07-25 00:20:18 +00:00
David Sansome 94a9d520b5 Show the mount path of connected devices 2010-07-24 23:20:34 +00:00
David Sansome d13c909674 When copying songs to an iPod, add them to our LibraryBackend as well so they get shown in the model. Also support deleting the originals. 2010-07-24 20:43:51 +00:00
John Maguire ad5c51f3d5 Possibly fix crash on device disconnect. 2010-07-24 20:31:09 +00:00
John Maguire de2eb79d3c Fix crash on device removal. 2010-07-24 19:41:30 +00:00
John Maguire a0fc3e3633 Fix code review comments from r1530 2010-07-24 19:02:49 +00:00
John Maguire 3cc30db7d4 Support mass storage devices on Mac. 2010-07-24 18:34:22 +00:00
David Sansome 81a1a9926e Disable the "copy to device" action if there are no devices connected 2010-07-24 18:31:05 +00:00
David Sansome 21ee5ba01f Make the Organise dialog look better when copying to an iPod 2010-07-24 18:12:47 +00:00
David Sansome c935d00986 Fix compilation without libgpod 2010-07-24 17:53:40 +00:00
David Sansome bc97872bc4 Destroy the gpodloader, only load the itunes database once, ensure only one Organiser thread can write to the ipod at once, make Organiser threads wait for the device to be loaded before they start writing. 2010-07-24 17:41:18 +00:00
David Sansome 1d5cef0f0d Set the organise progress to 100% when all files have been copied, but before the device is finalised 2010-07-24 17:40:19 +00:00
David Sansome b624be9800 Add almost-working support for writing to ipods 2010-07-24 16:58:14 +00:00
David Sansome c35bd8779a Make sure -1 and "" get stored in the database instead of NULL for song metadata. Thanks YellowOnion. Fixes issue #396. Fixes issue #479. 2010-07-24 15:13:09 +00:00
John Maguire 3f78df5725 Fix the parsing of Finder command line options.
Fixes issue #537
2010-07-24 14:57:56 +00:00
David Sansome f3491add62 Load albumartist from flac and ogg metadata. Thanks YellowOnion 2010-07-24 14:49:49 +00:00
David Sansome 6a03641079 Don't replace the whole selection when autoscrolling.
Update issue #496
Status: Fixed
I think the autoscroll is useful even when the selected song isn't the
currently playing song.  I've changed it slightly now though so it won't
replace the selection when it scrolls, so you'll be able to press up or
down to go back to where you were before.
2010-07-24 14:37:11 +00:00
David Sansome 77b4ec54bd Look at the file extension as well as magic when loading a local playlist. Fixes issue #507 2010-07-24 14:09:27 +00:00
David Sansome 692e5715e3 Replace slashes with underscores when organising files. Fixes issue #503 2010-07-24 13:56:49 +00:00
David Sansome 990127e5e8 Merge translations from launchpad 2010-07-24 12:41:37 +00:00
David Sansome 60eb5a34f8 Add global shortcuts for show/hide and show osd.
Update issue #533
Status: Fixed
Thanks for the patch :)
2010-07-24 12:39:09 +00:00
David Sansome 4b96395e7f Add an option to use the system qxt library 2010-07-24 12:35:21 +00:00
John Maguire dd3182ad70 Messy mac device listing code using three different APIs. At least the IOKit one will probably go away. 2010-07-23 13:46:30 +00:00
David Sansome a6b3aa07e1 Initialise gobject - maybe fix issue #519 2010-07-20 09:25:20 +00:00
David Sansome 9f2d610e9d Add a menu item for copying songs to devices. Only filesystem devices supported so far 2010-07-19 21:16:22 +00:00
David Sansome 62616304d8 Add a MusicStorage interface that can be used to abstract away the details of copying a file to a device. 2010-07-19 19:56:29 +00:00
David Sansome d108841e36 Fix a build failure with mingw 2010-07-19 19:33:13 +00:00
David Sansome 0d0f1521f2 Show embedded cover art in the album cover manager too, but only for the first file in an album 2010-07-19 18:08:25 +00:00
David Sansome f64cdb23e9 Make the AlbumCoverLoader read embedded album cover art when it's available. Fixes issue #516 2010-07-19 17:55:02 +00:00
John Maguire 0bf454ab60 Case insensitive search in playlist.
Fixes issue #460
2010-07-19 15:52:38 +00:00
David Sansome 2f11ee5d2b Load embedded album art from id3v2 tags 2010-07-19 11:40:30 +00:00
David Sansome c43d695d8b Add a menu item for copying songs off devices to the library 2010-07-18 17:13:43 +00:00
David Sansome 1a5f865d53 Bundle an empty font file and pass it to projectM so it doesn't crash when FTGL is turned on. 2010-07-18 13:26:01 +00:00
David Sansome 94b1edde2f Add more song-related things to the device menu 2010-07-17 22:53:27 +00:00
David Sansome fc5929b79b Enable drag from the device view to the playlist 2010-07-17 22:19:02 +00:00
David Sansome d704680579 Show some more information for GIO devices 2010-07-17 22:06:19 +00:00
David Sansome a2fe094bbe Improve device icon loading slightly 2010-07-17 21:48:09 +00:00
David Sansome 7845a243c2 Oops, link against gio 2010-07-17 21:29:41 +00:00
David Sansome 43a73555db Implement the rest of the GIO backend. Devices are now keyed off "mount URLs" as well as backend-specific device IDs, if two or more devices share the same mount URL then the metadata gets taken from the most reliable backend. 2010-07-17 17:18:02 +00:00
David Sansome 0dcdf36535 Start of work on a GIO/GVFS device backend. 2010-07-17 14:22:07 +00:00
David Sansome 40a2302311 Support dragging and dropping between playlists 2010-07-17 12:47:59 +00:00
John Maguire 95bb4eccea Unpack artist/title from SomaFM streams correctly.
Fixes issue #497
2010-07-15 12:59:14 +00:00
John Maguire 579c7cc592 Fix some Latin1 encoding guessing. 2010-07-15 12:46:08 +00:00
John Maguire 90fc1481e6 Show song information when Hypnotoad is hypnotising. 2010-07-14 13:44:45 +00:00
John Maguire 31a726789a Code review comments for r1476. 2010-07-14 11:43:23 +00:00
John Maguire 41ab99e62e Generate Hypnotoad rather than streaming it. 2010-07-14 11:16:56 +00:00
David Sansome d612e8468d Make the mute shortcut toggle 2010-07-13 22:22:04 +00:00
David Sansome 36604f7ec8 Oops, fix the preamp 2010-07-12 21:00:15 +00:00
David Sansome 553184c7db Remove amarok's equalizer and use gstreamer's one instead for vastly reduced CPU usage. Fixes issue #494 2010-07-12 20:55:09 +00:00
David Sansome aff234b8a4 Translation noise 2010-07-12 20:52:29 +00:00
John Maguire 5c2364ee25 Use update(), not repaint() 2010-07-12 20:00:42 +00:00
John Maguire 6c18691755 Make Hypnotoad disable-able. 2010-07-12 19:58:47 +00:00
John Maguire d03bdda5f7 Fixes issu...
,'``.._   ,'``.
              :,--._:)\,:,._,.:       All Glory to
              :`--,''   :`...';\      the HYPNO TOAD!
               `,'       `---'  `.
               /                 :
              /                   \
            ,'                     :\.___,-.
           `...,---'``````-..._    |:       \
             (                 )   ;:    )   \  _,-.
              `.              (   //          `'    \
               :               `.//  )      )     , ;
             ,-|`.            _,'/       )    ) ,' ,'
            (  :`.`-..____..=:.-':     .     _,' ,'
             `,'\ ``--....-)='    `._,  \  ,') _ '``._
          _.-/ _ `.       (_)      /     )' ; / \ \`-.'
         `--(   `-:`.     `' ___..'  _,-'   |/   `.)
             `-. `.`.``-----``--,  .'
               |/`.\`'        ,','); SSt
                   `         (/  (/
2010-07-12 19:51:23 +00:00
David Sansome 8b36f12cc3 Stop the old decodebin after starting the new one to (hopefully) fix an occasional race condition/deadlock. 2010-07-12 19:10:32 +00:00
David Sansome fbd6b46e20 Only take notice of the first segment start event, to fix seeking 2010-07-12 19:09:59 +00:00
David Sansome 6b43e22e68 Remove a stray \r from el.po. Fixes issue #499 2010-07-11 22:59:09 +00:00
David Sansome 81b2e40d30 Set a more appropriate text and icon for the queue/dequeue action depending on how many of the selected tracks are queued. 2010-07-11 21:52:00 +00:00
David Sansome 4bf9ee0a8e Change the queue manager to use a QTreeView instead of QListView so it doesn't repaint on drop. 2010-07-11 21:27:36 +00:00
David Sansome 9bc8d914af Fix some occasional crashes when deleting the current playlist 2010-07-11 20:23:34 +00:00
John Maguire dc47c96024 Make sure Qt loads plugins from the correct place on mac even when it decides to ignore qt.conf. 2010-07-11 20:14:25 +00:00
John Maguire bcc84911b8 Hack out silly mac command line when Clementine is opened via "open" or GUI. 2010-07-11 19:20:21 +00:00
David Sansome aa2d69f1bf Make the player actually use the queue order. Fixes issue #24. 2010-07-11 19:02:31 +00:00
David Sansome cbc6169ea8 Make the "stop after this track" box look nicer 2010-07-11 18:37:42 +00:00
David Sansome e625deed33 Enable drag and drop from the playlist to the queue 2010-07-11 18:11:47 +00:00
David Sansome 89fffcc37f Support internal drag and drop in the queue 2010-07-11 18:04:35 +00:00
David Sansome 38ea733e18 Oops, fix broken visualisations from yesterday 2010-07-11 17:44:55 +00:00
David Sansome 4b81a86d1d Implement moving items in the queue 2010-07-11 17:39:11 +00:00
David Sansome 1f9e72f971 Add icons to the move up/move down/clear buttons, and implement the clear button 2010-07-11 16:58:22 +00:00
David Sansome f750ac1351 Display an indicator next to each playlist item showing its position in the queue 2010-07-11 16:17:38 +00:00
David Sansome 41183107d2 Start of work on a queue manager 2010-07-11 15:37:40 +00:00
David Sansome b62263540f Use the segment start time when calculating the timestamp of data buffers in the scope. Fixes a memory leak and makes the scope work again when playing ogg streams. Fixes issue #495. 2010-07-11 13:31:03 +00:00
David Sansome 0c123d58e8 Use a system QtIoCompressor if it's available 2010-07-11 12:02:30 +00:00
David Sansome 9be9a7cc0a Add a cmake option to use a system install of QtSingleApplication 2010-07-10 20:33:28 +00:00
David Sansome acf9ff5fd3 Add a cmake option to use a system install of libprojectM. No, gentoo users, you shouldn't use this. 2010-07-10 20:21:06 +00:00
David Sansome 91f801639a Unpack "Artist - Title" from icycast metadata. Fixes issue #425 2010-07-10 19:51:34 +00:00
David Sansome fca4fb8264 On second thoughts, use temporary metadata for all playlist items. 2010-07-10 19:45:29 +00:00
David Sansome d8cce6a343 Make temporary metadata work for SongPlaylistItems too. Fixes issue #487 2010-07-10 19:40:16 +00:00
David Sansome d8cc037446 Don't grab global shortcuts while the global shortcut grabber is open. Fixes issue #462 2010-07-10 19:17:21 +00:00
David Sansome 384ff16f2b Add a parser for a weird playlist format that looks like a cross between ASX and PLS. I don't know what it's called... 2010-07-10 18:39:41 +00:00
David Sansome f8da25a3a0 Filtering the playlist keeps the current track focused. Fixes issue #466 2010-07-10 17:47:27 +00:00
David Sansome 4760210b2f Show a warning message instead of asserting if no projectM presets could be loaded. 2010-07-10 17:21:23 +00:00
David Sansome d620779696 Add an option to disable directory watchers 2010-07-10 17:03:28 +00:00
David Sansome b12db6357e Make the commandline interface work even without a running X server. Fixes issue #489 2010-07-10 16:20:09 +00:00
David Sansome 783ad54b68 Only create the OpenGL graphics context when you first open the visualisations window. Fixes issue #491 2010-07-10 15:48:46 +00:00
David Sansome f151df00b0 Blur behind the pretty OSD on Windows Vista and above 2010-07-07 23:03:35 +00:00
David Sansome e9525e8ec3 Very basic support for reading iPods with libgpod. Uses a hardcoded ~/.gvfs path for now. 2010-07-04 20:52:45 +00:00
David Sansome 48a2e3dc33 Disable the "connect device" menu item if the device isn't plugged in 2010-07-04 16:10:58 +00:00
David Sansome 919f80a811 Mount points makes more sense than mount paths 2010-07-04 15:57:09 +00:00
David Sansome 2762d80722 Show the scanning progress in the device view 2010-07-04 15:56:08 +00:00
David Sansome 6c51858554 Change the capacity field to a label, and make double clicking a device actually connect it 2010-07-04 15:25:11 +00:00
David Sansome aa49082952 Save changes made in the device properties dialog 2010-07-04 15:18:37 +00:00
David Sansome b3af9fa7d7 Add a device properties dialog 2010-07-04 15:01:24 +00:00
David Sansome a892489de7 Add a menu option to forget a device, and add some helpful information dialogs 2010-07-04 12:56:49 +00:00
David Sansome 4a8bff5f4e Cope with removable media changing mount point 2010-07-04 12:10:44 +00:00
David Sansome 8c0b714791 Fix some warnings 2010-07-04 11:46:42 +00:00
David Sansome 2b58a1e19a Pass dataChanged through MergedProxyModel 2010-07-04 11:43:17 +00:00
David Sansome 88474551d5 Make the device view prettier 2010-07-04 11:34:25 +00:00
David Sansome 8c26c61b0b Sort the device libraries properly 2010-07-04 00:58:01 +00:00
David Sansome 545d28428c Use the library delegates in the devices view 2010-07-04 00:37:41 +00:00
David Sansome 71a1cf3c41 Disconnecting devices works 2010-07-04 00:33:34 +00:00
David Sansome b9be6eba5f Fix a crash on shutdown 2010-07-03 23:33:31 +00:00
David Sansome db5409b66b Store devices in the main database 2010-07-03 23:00:07 +00:00
David Sansome 6654182032 Don't connect new devices automatically, put them in a list model. Add icons for ipods, android phones and USB memory sticks. 2010-07-03 21:05:55 +00:00
David Sansome d3e3d04fe1 Prune the gstreamer scope at a much lower interval 2010-07-02 19:23:08 +00:00
John Maguire b4fa694847 Fix crash in file organiser. 2010-07-01 19:10:48 +00:00
David Sansome b35392d60d Don't query the track position and length quite so often. Might reduce CPU usage for issue #246 2010-06-30 20:36:16 +00:00
David Sansome a1fbd65f68 Test whether sqlite3 has the FTS3 at compile time, and use the static sqlite3 module if not 2010-06-30 19:55:46 +00:00
John Maguire 88be9986f1 Catch Enter key events & ignore events we don't understand.
Fixes issue #443
2010-06-29 18:44:36 +00:00
David Sansome 2d64703ee8 Merge translations from Launchpad 2010-06-28 18:35:00 +00:00
David Sansome 8d3ca44d14 moc doesn't know about config.h, so these slots need to always be declared. 2010-06-26 15:09:32 +00:00
David Sansome 751f2bbd43 Merge translations from Launchpad 2010-06-26 13:27:12 +00:00
David Sansome 0404ecec70 Fix compilation without gstreamer. Fixes issue #440 2010-06-26 13:20:08 +00:00
David Sansome 7c09e39d41 Only compile the DeviceKit bits on Linux 2010-06-26 12:57:00 +00:00
David Sansome 61e1f1b680 Fix a release mode compilation error 2010-06-26 12:52:27 +00:00
David Sansome 2deca7fd61 Add a DeviceManager which holds all the listers and connected devices. Make FilesystemDevices use their own LibraryWatcher. 2010-06-26 12:41:18 +00:00
David Sansome 28ea240eb8 ConnectedDevices have a LibraryModel 2010-06-25 23:38:21 +00:00
David Sansome b750df38ce Rename the DeviceEngines to DeviceListers 2010-06-25 22:36:21 +00:00
David Sansome 2b17a8ee1f Revert r1344 (the timer tracing), it didn't help 2010-06-25 22:04:24 +00:00