mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 07:53:37 +00:00
Added ability to scan library in SettingsFragment
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user