Commit Graph

224 Commits

Author SHA1 Message Date
Andreas Muttscheller 652f38ac84 Fix C:\data cache directory for portable builds
Lastfm needs a NetworkAccessManager which is created during the
initialization of lastfm in main.cpp, it also sets a cache directory.

For the portable version, GetConfigPath uses
QCoreApplication::applicationDirPath() to get the current directory of
Clementine. If no QApplication (or QtSingleApplication in Clementines
case) was instantiated, it returns /data on Linux or C:\data on Windows
for the cache config path.

This commit changes the order so lastfm will be initialized after
QtSingleApplication was created and the correct cache config path will be
returned.

Fixes #5354
2017-02-26 11:20:10 +01:00
John Maguire a8a0f2e4fd Remove echonest and update songkick concert fetcher.
#5416
2016-06-27 14:47:42 +01:00
Alex 11670e1760 Fix playlist behaviour (#5330)
* Do not restore playback state on application start if overwritten by command line options

This also fixes unwanted pausing if a new instance is started with commandline URL combined with playback restore.
Note that the actual buggy code (MainWindow::ResumePlayback()) is not fixed here.

* Fix for commandline URLs for new instances are always appended to playlist.
2016-04-12 15:53:43 +01:00
John Maguire affb215a52 Move cover providers initialisation later in startup. 2016-02-12 16:25:01 +00:00
John Maguire e94ec8d119 Add Equifax root cert after Apple removed it.
Fixes #4942
2015-07-07 19:15:23 +01:00
John Maguire e1ea116bfb Remove Grooveshark support.
Well that was nice while it lasted.
2015-05-01 11:57:59 +01:00
John Maguire 319b8a5824 Use SHA512 signatures for the spotify blob.
SHA512 is unsupported by reasonable QCA versions so we must use
libcrypto++ instead.
2015-04-28 12:27:07 +01:00
Arnaud Bienner 20583b8b0a Correct typo 2015-04-25 18:01:32 +02:00
Arnaud Bienner 99521ac15f Add missing certificate for api.soundcloud.com
Fixes #4794.
2015-04-25 17:51:08 +02:00
John Maguire 1a01b825da Remove Discogs support.
Fixes #4735
Downloading album covers now requires per-user access tokens.
2015-02-03 13:10:13 +01:00
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
David Sansome 0b97a29aa1 Set log levels after commandline options are parsed. Fixes --verbose, --quiet and --log-levels 2014-10-04 21:22:29 +10:00
David Sansome d5617c0daf Set the media role for pulse audio 2014-06-19 22:51:58 +10:00
David Sansome 93a0f160df Add Configure items to the context menus for cloud file services. 2014-03-30 16:46:16 +11:00
John Maguire 0a67a00ec0 Initialise logging earlier. 2014-03-12 19:06:00 +01:00
John Maguire fc9c983e2c Put global functions used for startup in namespace 2014-02-13 18:59:59 +01:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire acfc7e6d21 Add missing header for _exit()
Fixes #4188
2014-02-07 13:41:26 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
John Maguire 4c23072bef Link dynamically against sqlite3 but still use a copy of QSqlLiteDriver 2013-11-22 16:31:41 +00:00
Andreas 10369cdbbb revert last commit. 2013-10-30 22:36:44 +01:00
Andreas 9bc605dc58 Try to fix the config path in windows. 2013-10-30 22:27:08 +01:00
John Maguire 981bbdce72 D'oh 2013-10-28 17:39:18 +01:00
John Maguire b08898bf2d Add workaround for weird font issue in 10.9. 2013-10-28 17:12:23 +01:00
Andreas 8b8d3e2849 Rearrange main.cpp, so no GetConfigPath() is called before instanciating QApplication and CheckPortable(). 2013-10-10 18:36:12 +02:00
Andreas 4584b50d18 Fix wrong networkcache dir. 2013-10-10 10:00:57 +02:00
Andreas acb18cdcde First tries on a portable version. 2013-09-29 10:43:34 +02:00
David Sansome 65b8e147ed Make the Spotify downloader optional again on Windows and Mac
(cherry picked from commit 4e8dba16d4)
2013-09-18 01:25:02 +02:00
David Sansome 96a8c5a9fe Make the GPL spotify code non-optional
(cherry picked from commit 2c55688601)
2013-09-18 01:24:49 +02:00
David Sansome 1a3f6af1bd Clean up the network remote settings page, add a "Get it on Google Play" button. 2013-07-27 15:27:08 +10:00
David Sansome eb20fb5945 Remove all the soruce for WMDM devices. Fixes issue 3748 2013-06-30 08:25:12 +00:00
John Maguire 2cdbe9ea82 Do not use deprecated function in glib 2.36+
Fixes issue #3596
2013-04-06 13:45:40 -07: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
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
David Sansome d9ea96033a Print the version number on startup 2012-12-26 12:37:57 +11:00
John Maguire ea8655af83 Add Dropbox service and settings page. 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 6c5e831a7d Remove tag encoding detection as we don't really use it anymore. 2012-11-29 13:41:20 +01:00
John Maguire d1845bc70e ifdef WmdmThread::StaticInit() in main() 2012-11-19 18:56:35 +01:00
John Maguire 80d35ef128 Merge remote branch 'origin/mingw-w64' 2012-11-19 18:17:19 +01:00
David Sansome 141bdc6888 Try parsing a message in main(), both in the main thread and in a QtConcurrent thread.
(cherry picked from commit 4446b277814ae4afe7d4aba85eb4fd5475843880)

Fixes issue 3265
2012-11-18 09:44:03 +11:00
John Maguire 8501ac0d96 Do WMDM static init in main() to avoid static mutex. 2012-11-15 22:08:04 +00:00
Arnaud Bienner 4fd45e0028 uiLanguages returns strings with "-" as separators for language/region; however QTranslator needs "_" separators 2012-11-05 19:36:13 +01:00
John Maguire 6cadc9321d Remove legacy config file migration code for mac. 2012-10-29 12:47:59 +00:00
John Maguire a56947e356 Add support for new musicbrainz cover art archive.
See: http://blog.musicbrainz.org/?p=1616
2012-10-10 14:45:13 +02:00
John Maguire a1361dfa7e Enable fullscreen support for OS X 10.7+
Fixes issue #2329
2012-10-09 14:56:17 +02:00
John Maguire f98f1ff6df Fix Qt 4.7 compilation. 2012-09-26 12:38:55 +02:00