mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-14 09:55:53 -07:00
Added ability to scan library in SettingsFragment
This commit is contained in:
parent
0c30e95c31
commit
c1d10e6ed0
11 changed files with 239 additions and 22 deletions
|
|
@ -1,39 +1,27 @@
|
|||
package com.cappielloantonio.play.subsonic.models;
|
||||
|
||||
public class ScanStatus {
|
||||
protected boolean scanning;
|
||||
protected Long count;
|
||||
import com.tickaroo.tikxml.annotation.Attribute;
|
||||
import com.tickaroo.tikxml.annotation.Xml;
|
||||
|
||||
/**
|
||||
* Gets the value of the scanning property.
|
||||
*/
|
||||
@Xml
|
||||
public class ScanStatus {
|
||||
@Attribute
|
||||
protected boolean scanning;
|
||||
@Attribute
|
||||
protected Long count;
|
||||
|
||||
public boolean isScanning() {
|
||||
return scanning;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the scanning property.
|
||||
*/
|
||||
public void setScanning(boolean value) {
|
||||
this.scanning = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the count property.
|
||||
*
|
||||
* @return possible object is
|
||||
* {@link Long }
|
||||
*/
|
||||
public Long getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the count property.
|
||||
*
|
||||
* @param value allowed object is
|
||||
* {@link Long }
|
||||
*/
|
||||
public void setCount(Long value) {
|
||||
this.count = value;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import com.tickaroo.tikxml.annotation.Xml;
|
|||
public class SubsonicResponse {
|
||||
@Element
|
||||
private Error error;
|
||||
@Element(name = "scanStatus")
|
||||
private ScanStatus scanStatus;
|
||||
@Element(name = "topSongs")
|
||||
private TopSongs topSongs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue