Commit Graph

57 Commits

Author SHA1 Message Date
craig.p.drummond
d29d9a8781 Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
8b19eaf390 REduce KDE differences 2014-03-26 19:34:28 +00:00
craig.p.drummond
b7268e16ab Use a class to hide KConfig/QSettings differences - as opposed to using #defines 2014-03-25 19:47:36 +00:00
craig.p.drummond
7d2be10b22 Show Music folder in settings dialog accessed from action dialog 2014-03-18 19:46:52 +00:00
craig.p.drummond
ca7c42b244 Allow setting of custom device name for UMS and MTP devices. 2014-02-17 20:09:49 +00:00
craig.p.drummond
54629d9f2b Fix potential crash 2014-01-18 18:14:56 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
e14bde9dbe Unify desktop detection code. 2013-12-14 12:43:31 +00:00
craig.p.drummond
7330e10bce Fix build when remote device support is enabled 2013-07-19 18:27:45 +00:00
craig.p.drummond
72cd22161c Use i18n is a more KDE-like manner, other wise debug builds of kdelibs produce (I18N_ARGUMENT_MISSING)
BUG: 254
2013-07-18 14:52:45 +00:00
craig.p.drummond
2ab48f4b37 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond
5123cce73a Add ability to specify extra options for sshfs. 2013-03-27 21:49:57 +00:00
craig.p.drummond
a99cb421c4 Show codec details in action dialog 2013-03-08 21:04:42 +00:00
craig.p.drummond
fe7addc2b9 Set configured flag 2013-02-25 18:59:09 +00:00
craig.p.drummond
92ccf39888 Service stuff is only for avahi 2013-02-22 20:36:24 +00:00
craig.p.drummond
5d046146ed If building remote device support, include mounter support 2013-02-20 16:49:55 +00:00
craig.p.drummond
89b4928a36 Set scanned to false when disconnect - so that we dont perform a full scan when reconnected! 2013-02-18 20:02:28 +00:00
craig.p.drummond
f792223805 Remove debug 2013-02-18 19:08:43 +00:00
craig.p.drummond
3fc89aaf82 Set initial state 2013-02-18 19:06:31 +00:00
craig.p.drummond
906b0ed949 Indicate if service is availabl or not 2013-02-18 18:13:38 +00:00
craig.p.drummond
b9a1512640 Use Avahi to detect SMB host/port 2013-02-18 17:27:40 +00:00
craig.p.drummond
c4c31f8499 'port' is not used - its part of url! 2013-02-17 16:11:33 +00:00
craig.p.drummond
9cb785017e Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +00:00
craig.p.drummond
60906e6dc5 Allow updating of folder-device path 2013-02-02 19:56:19 +00:00
craig.p.drummond
2fce393d66 - Read/write cache files in non-gui thread
- Show progress when reading/writing cache
2013-02-01 18:29:57 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
73dcf5cb84 Rename RemoteFsDevice::connectionStateChanged signal to RemoteFsDevice::connectionStateHasChanged so as to not interfere with Device::connectionStateChanged 2012-12-21 17:24:46 +00:00
craig.p.drummond
0d3303edc0 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond
a43fc1318c Prompt for samba password, if entry has - 2012-12-19 20:33:02 +00:00
craig.p.drummond
1c68ec39c8 - Store properties on remote device
- If no music items, delete cache
- If properties are all default, remove file
2012-12-18 19:38:28 +00:00
craig.p.drummond
881da0dff5 Remove file buttons - not used for Samba, or sshfs (qt) 2012-12-11 20:08:44 +00:00
craig.p.drummond
7f462db07e Fix auto-start issues of dbus service (looks like calling mount.cifs directly causes some forking?) 2012-12-11 19:27:42 +00:00
craig.p.drummond
379d44a404 Add a simple system debus helper to allow user mounts of samba shares. This is intended to allow Cantata to connect to an Android device via NASDroid. Requires cantata be built with remote device support.
NOTE: Currently the system service does not seem to auto-start correctly, and needs to be started by hand. This needs to be / will be fixed before release...
2012-12-10 21:50:09 +00:00
craig.p.drummond
d174384739 Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
e61ebd6f8f - Also need to copy covers if we are transcoding tracks!
- Initial work to support cover-scaling to devices
2012-11-20 21:34:44 +00:00
craig.p.drummond
39adfefe77 Stop scanner before disconnect device 2012-11-08 19:26:31 +00:00
craig.p.drummond
456ad135fc - Remove MediaDeviceCache - as was not really being used as a cache.
- Move Solid device code into DevicesModel
- When list of mount-points changes, rescan devices. /Might/ help with BUG:127
2012-11-05 20:08:10 +00:00
craig.p.drummond
e8ff4df665 Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond@gmail.com
1f535c9485 Strip leading trailing / when checking mountpoints. 2012-11-01 12:15:54 +00:00
craig.p.drummond
b10ff6582a Fix windows build 2012-10-24 18:20:46 +00:00
craig.p.drummond
4963d5ec8f Fix compiler warning 2012-10-20 10:43:38 +00:00
craig.p.drummond@gmail.com
50ea12c7d4 Newer versions of OpenSSH can report freespace info. 2012-10-18 11:07:53 +00:00
craig.p.drummond
e2a4f2ba9a - Create class to store contents of /proc/mounts
- Only update on changes
- Use this in RemoteFsDevice to check if device is connected
2012-10-16 21:04:18 +00:00
craig.p.drummond@gmail.com
c8aad16bf4 Remove mount-point folder when we forget sshfs device. 2012-10-10 11:33:40 +00:00
craig.p.drummond
c844635293 - Move clear() into RemoteFsDevice, as only used by this class
- Set audioFolder in cacheFileName() if it is not already set
- Listen for changes to mtab, and load list of songs if connected and none already loaded. Likewise, clear list if not connected.
2012-10-09 19:46:36 +00:00
craig.p.drummond
09fb8a2265 When a mont point is removed, clear the music list. 2012-10-09 19:10:34 +00:00
craig.p.drummond
bf0f9aaf71 Fix build 2012-10-08 20:10:19 +00:00
craig.p.drummond@gmail.com
d697b4dc06 Move cacheDir/configDir helpers into Utils 2012-10-08 11:35:29 +00:00
craig.p.drummond
09566205f1 Fix remote devices 2012-09-18 18:27:15 +00:00