mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-26 22:20:24 +00:00
update dummyObjects
This commit is contained in:
parent
f1b55d9476
commit
06fcb2831a
4 changed files with 15 additions and 9 deletions
|
@ -92,6 +92,10 @@ public class LiveConference {
|
|||
LiveConference dummyCon = new LiveConference("DummyCon", "Conference McConferenceface");
|
||||
dummyCon.setGroups(new ArrayList<>());
|
||||
dummyCon.getGroups().add(Group.getDummyObject());
|
||||
dummyCon.setSlug("duco");
|
||||
dummyCon.setAuthor("");
|
||||
dummyCon.setDescription("A placeholder conference");
|
||||
dummyCon.setKeywords("");
|
||||
return dummyCon;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -104,11 +104,13 @@ public class Room implements Parcelable {
|
|||
|
||||
public static Room getDummyObject(){
|
||||
Room dummy = new Room();
|
||||
dummy.setStreams(new ArrayList<>());
|
||||
dummy.getStreams().add(Stream.getDummyObject());
|
||||
dummy.setDisplay("Dummy Room");
|
||||
dummy.setSlug("dummy_room");
|
||||
dummy.setShedulename("Dummy Room");
|
||||
dummy.setThumb("https://static.media.ccc.de/media/unknown.png");
|
||||
dummy.setLink("");
|
||||
dummy.setDisplay("Dummy Room");
|
||||
dummy.setStreams(new ArrayList<>());
|
||||
dummy.getStreams().add(Stream.getDummyObject());
|
||||
return dummy;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -104,13 +104,13 @@ public class Stream implements Parcelable {
|
|||
|
||||
public static Stream getDummyObject(){
|
||||
Stream dummy = new Stream();
|
||||
dummy.setDisplay("Dummy");
|
||||
dummy.setSlug("dummy");
|
||||
dummy.setDisplay("Dummy");
|
||||
dummy.setType("video");
|
||||
dummy.setTranslated(false);
|
||||
HashMap<String, StreamUrl> streamMap = new HashMap<>();
|
||||
streamMap.put("dummy",StreamUrl.getDummyObject());
|
||||
dummy.setUrls(streamMap);
|
||||
dummy.setVideoSize(new int[]{1, 1});
|
||||
dummy.setUrls(new HashMap<>());
|
||||
dummy.getUrls().put("hls",StreamUrl.getDummyObject());
|
||||
dummy.setType("dummy");
|
||||
return dummy;
|
||||
}
|
||||
|
|
|
@ -80,8 +80,8 @@ public class StreamUrl implements Parcelable {
|
|||
public static StreamUrl getDummyObject(){
|
||||
StreamUrl dummy = new StreamUrl();
|
||||
dummy.setUrl("https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8");
|
||||
dummy.setTech("dummy");
|
||||
dummy.setDisplay("DummyStream");
|
||||
dummy.setTech("");
|
||||
dummy.setDisplay("HLS");
|
||||
return dummy;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue