Commit Graph

49 Commits

Author SHA1 Message Date
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
craig.p.drummond
173712493c Device sync support for Qt-only builds. To support this, a cut-down version of Solid is included. 2012-09-17 18:39:01 +00:00
craig.p.drummond
9a4b322dfb Remove KIO device support - it never worked, was slow, and not useable in its current state. 2012-06-27 17:18:58 +00:00
craig.p.drummond
4aecafef4c Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond@gmail.com
8594783c02 Better error text. 2012-05-04 11:07:45 +00:00
craig.p.drummond@gmail.com
f7ae678282 Add support for using KIO to access music collections. This is currently disabled as it is VERY slow. For example, accessing my android phone (via wifi) with 17 albums took ~60 seconds with webdav, and only ~10 when using sshfs!!!! 2012-05-03 20:07:28 +00:00
craig.p.drummond@gmail.com
168bd92744 s/RemoteDevice/RemoteFsDevice/g 2012-05-02 19:42:19 +00:00