commit
3fd5b4f335
@ -6,7 +6,7 @@
|
||||
</h4>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/sschueller/peertube-android/develop/Screenshot2.png" alt="screenshot" />
|
||||
<img src="https://raw.githubusercontent.com/sschueller/peertube-android/develop/Screenshot2.jpg" alt="screenshot" />
|
||||
<img src="https://raw.githubusercontent.com/sschueller/peertube-android/develop/Screenshot1.png" alt="screenshot" />
|
||||
</p>
|
||||
|
||||
|
BIN
Screenshot2.jpg
Normal file
BIN
Screenshot2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
BIN
Screenshot2.png
BIN
Screenshot2.png
Binary file not shown.
Before Width: | Height: | Size: 272 KiB |
23
app/src/main/java/net/schueller/peertube/model/Category.java
Normal file
23
app/src/main/java/net/schueller/peertube/model/Category.java
Normal file
@ -0,0 +1,23 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class Category {
|
||||
|
||||
private Integer id;
|
||||
private String label;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class File {
|
||||
private Integer resolution;
|
||||
private Resolution resolution;
|
||||
private String resolutionLabel;
|
||||
private String magnetUri;
|
||||
private Integer size;
|
||||
private String torrentUrl;
|
||||
private String fileUrl;
|
||||
|
||||
public Integer getResolution() {
|
||||
public Resolution getResolution() {
|
||||
return resolution;
|
||||
}
|
||||
|
||||
public void setResolution(Integer resolution) {
|
||||
public void setResolution(Resolution resolution) {
|
||||
this.resolution = resolution;
|
||||
}
|
||||
|
||||
|
23
app/src/main/java/net/schueller/peertube/model/Language.java
Normal file
23
app/src/main/java/net/schueller/peertube/model/Language.java
Normal file
@ -0,0 +1,23 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class Language {
|
||||
|
||||
private Integer id;
|
||||
private String label;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
}
|
23
app/src/main/java/net/schueller/peertube/model/Licence.java
Normal file
23
app/src/main/java/net/schueller/peertube/model/Licence.java
Normal file
@ -0,0 +1,23 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class Licence {
|
||||
|
||||
private Integer id;
|
||||
private String label;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
}
|
23
app/src/main/java/net/schueller/peertube/model/Privacy.java
Normal file
23
app/src/main/java/net/schueller/peertube/model/Privacy.java
Normal file
@ -0,0 +1,23 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class Privacy {
|
||||
|
||||
private Integer id;
|
||||
private String label;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package net.schueller.peertube.model;
|
||||
|
||||
public class Resolution {
|
||||
|
||||
private Integer id;
|
||||
private String label;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
|
||||
public void setLabel(String label) {
|
||||
this.label = label;
|
||||
}
|
||||
}
|
@ -8,12 +8,9 @@ public class Video {
|
||||
private Integer id;
|
||||
private String uuid;
|
||||
private String name;
|
||||
private String category;
|
||||
private String categoryLabel;
|
||||
private String licence;
|
||||
private String licenceLabel;
|
||||
private String language;
|
||||
private String languageLabel;
|
||||
private Category category;
|
||||
private Licence licence;
|
||||
private Language language;
|
||||
private Boolean nsfw;
|
||||
private String description;
|
||||
private Boolean isLocal;
|
||||
@ -27,8 +24,8 @@ public class Video {
|
||||
private Date createdAt;
|
||||
private Date updatedAt;
|
||||
|
||||
private String privacyLabel;
|
||||
private Integer privacy;
|
||||
private Privacy privacy;
|
||||
|
||||
private String support;
|
||||
private String descriptionPath;
|
||||
|
||||
@ -67,54 +64,30 @@ public class Video {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getCategory() {
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
}
|
||||
|
||||
public void setCategory(String category) {
|
||||
public void setCategory(Category category) {
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
public String getCategoryLabel() {
|
||||
return categoryLabel;
|
||||
}
|
||||
|
||||
public void setCategoryLabel(String categoryLabel) {
|
||||
this.categoryLabel = categoryLabel;
|
||||
}
|
||||
|
||||
public String getLicence() {
|
||||
public Licence getLicence() {
|
||||
return licence;
|
||||
}
|
||||
|
||||
public void setLicence(String licence) {
|
||||
public void setLicence(Licence licence) {
|
||||
this.licence = licence;
|
||||
}
|
||||
|
||||
public String getLicenceLabel() {
|
||||
return licenceLabel;
|
||||
}
|
||||
|
||||
public void setLicenceLabel(String licenceLabel) {
|
||||
this.licenceLabel = licenceLabel;
|
||||
}
|
||||
|
||||
public String getLanguage() {
|
||||
public Language getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
public void setLanguage(String language) {
|
||||
public void setLanguage(Language language) {
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
public String getLanguageLabel() {
|
||||
return languageLabel;
|
||||
}
|
||||
|
||||
public void setLanguageLabel(String languageLabel) {
|
||||
this.languageLabel = languageLabel;
|
||||
}
|
||||
|
||||
public Boolean getNsfw() {
|
||||
return nsfw;
|
||||
}
|
||||
@ -211,19 +184,11 @@ public class Video {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
public String getPrivacyLabel() {
|
||||
return privacyLabel;
|
||||
}
|
||||
|
||||
public void setPrivacyLabel(String privacyLabel) {
|
||||
this.privacyLabel = privacyLabel;
|
||||
}
|
||||
|
||||
public Integer getPrivacy() {
|
||||
public Privacy getPrivacy() {
|
||||
return privacy;
|
||||
}
|
||||
|
||||
public void setPrivacy(Integer privacy) {
|
||||
public void setPrivacy(Privacy privacy) {
|
||||
this.privacy = privacy;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user