package org.xbmc.api.object;
import org.xbmc.android.util.Crc32;
import org.xbmc.api.type.MediaType;
public class Actor extends Artist {
public final static String THUMB_PREFIX = "special://profile/Thumbnails/Video/";
public Actor(
int id, String name) {
super(id, name);
}
public Actor(
int id, String name, String role) {
super(id, name);
this.role = role;
}
return getThumbUri(this);
}
final String hex = Crc32.formatAsHexLowerCase(cover.getCrc());
return THUMB_PREFIX + hex.charAt(0) + "/" + hex + ".tbn";
}
return MediaType.VIDEO;
}
if (thumbID == 0) {
thumbID = Crc32.computeLowerCase("actor" + name);
}
return thumbID;
}
public String role = null;
private static final long serialVersionUID = -7026393902334967838L;
}