Commit Graph

57 Commits

Author SHA1 Message Date
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
3b700eefb8 REduce KDE differences 2014-03-26 19:34:28 +00:00
craig.p.drummond
d4fdb05ea0 Use a class to hide KConfig/QSettings differences - as opposed to using #defines 2014-03-25 19:47:36 +00:00
craig.p.drummond
3c6b7a3bb5 Show Music folder in settings dialog accessed from action dialog 2014-03-18 19:46:52 +00:00
craig.p.drummond
cd686e8189 Allow setting of custom device name for UMS and MTP devices. 2014-02-17 20:09:49 +00:00
craig.p.drummond
0b110cd0fb Fix potential crash 2014-01-18 18:14:56 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
a9cf9d8051 Unify desktop detection code. 2013-12-14 12:43:31 +00:00
craig.p.drummond
1088e63708 Fix build when remote device support is enabled 2013-07-19 18:27:45 +00:00
craig.p.drummond
f0bad94c9c 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
7b7f35aa95 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond
c2a3e47289 Add ability to specify extra options for sshfs. 2013-03-27 21:49:57 +00:00
craig.p.drummond
d3452f4b21 Show codec details in action dialog 2013-03-08 21:04:42 +00:00
craig.p.drummond
2c8e8a371b Set configured flag 2013-02-25 18:59:09 +00:00
craig.p.drummond
e0a4c1c6fb Service stuff is only for avahi 2013-02-22 20:36:24 +00:00
craig.p.drummond
a93ee0d20b If building remote device support, include mounter support 2013-02-20 16:49:55 +00:00
craig.p.drummond
448648defe 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
c4ed8da46d Remove debug 2013-02-18 19:08:43 +00:00
craig.p.drummond
0971591fde Set initial state 2013-02-18 19:06:31 +00:00
craig.p.drummond
1c2b3154f4 Indicate if service is availabl or not 2013-02-18 18:13:38 +00:00
craig.p.drummond
1698949af3 Use Avahi to detect SMB host/port 2013-02-18 17:27:40 +00:00
craig.p.drummond
fd85ee30f7 'port' is not used - its part of url! 2013-02-17 16:11:33 +00:00
craig.p.drummond
02ee6d5702 Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +00:00
craig.p.drummond
c05b29e002 Allow updating of folder-device path 2013-02-02 19:56:19 +00:00
craig.p.drummond
6d1a6bddd9 - 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
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
ce17b5ade5 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
2d8a613c24 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond
c28087852e Prompt for samba password, if entry has - 2012-12-19 20:33:02 +00:00
craig.p.drummond
6992f88027 - 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
ca03e17495 Remove file buttons - not used for Samba, or sshfs (qt) 2012-12-11 20:08:44 +00:00
craig.p.drummond
ac49557e68 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
c003643597 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
de823fa17c Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
a0511adf25 - 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
28600f6694 Stop scanner before disconnect device 2012-11-08 19:26:31 +00:00
craig.p.drummond
b43e563d22 - 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
a2ea4f3a6f Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond@gmail.com
8e01530cda Strip leading trailing / when checking mountpoints. 2012-11-01 12:15:54 +00:00
craig.p.drummond
d874f0d926 Fix windows build 2012-10-24 18:20:46 +00:00
craig.p.drummond
92c92d0e15 Fix compiler warning 2012-10-20 10:43:38 +00:00
craig.p.drummond@gmail.com
b973442117 Newer versions of OpenSSH can report freespace info. 2012-10-18 11:07:53 +00:00
craig.p.drummond
21824a6571 - 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
fc6190e6f1 Remove mount-point folder when we forget sshfs device. 2012-10-10 11:33:40 +00:00
craig.p.drummond
d29096854b - 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
7bf04bf2f4 When a mont point is removed, clear the music list. 2012-10-09 19:10:34 +00:00
craig.p.drummond
32e85f3a24 Fix build 2012-10-08 20:10:19 +00:00
craig.p.drummond@gmail.com
c325a9ed28 Move cacheDir/configDir helpers into Utils 2012-10-08 11:35:29 +00:00
craig.p.drummond
a8f540abfb Fix remote devices 2012-09-18 18:27:15 +00:00