Compare commits
1 commit
master
...
ekinzie/ek
Author | SHA1 | Date | |
---|---|---|---|
|
8d8d4a99c1 |
4 changed files with 7 additions and 8 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -28,8 +28,6 @@ twitterConsumerKey=XXXXXX
|
||||||
twitterConsumerSecret=XXXXXX
|
twitterConsumerSecret=XXXXXX
|
||||||
```
|
```
|
||||||
|
|
||||||
Copy the file 'google-services.sample.json' to 'google-services.json' in the app/ folder.
|
|
||||||
|
|
||||||
Click the Sync button and when process finishes, the Run button to launch the app on your simulator or connected debugging device after the build process is complete.
|
Click the Sync button and when process finishes, the Run button to launch the app on your simulator or connected debugging device after the build process is complete.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
|
@ -384,10 +384,12 @@ public class Claim {
|
||||||
long feeAmount = searchResultObject.isNull("fee") ? 0 : searchResultObject.getLong("fee");
|
long feeAmount = searchResultObject.isNull("fee") ? 0 : searchResultObject.getLong("fee");
|
||||||
String releaseTimeString = !searchResultObject.isNull("release_time") ? searchResultObject.getString("release_time") : null;
|
String releaseTimeString = !searchResultObject.isNull("release_time") ? searchResultObject.getString("release_time") : null;
|
||||||
long releaseTime = 0;
|
long releaseTime = 0;
|
||||||
try {
|
if (releaseTimeString != null) {
|
||||||
releaseTime = Double.valueOf(new SimpleDateFormat(RELEASE_TIME_DATE_FORMAT).parse(releaseTimeString).getTime() / 1000.0).longValue();
|
try {
|
||||||
} catch (ParseException ex) {
|
releaseTime = Double.valueOf(new SimpleDateFormat(RELEASE_TIME_DATE_FORMAT).parse(releaseTimeString).getTime() / 1000.0).longValue();
|
||||||
// pass
|
} catch (ParseException ex) {
|
||||||
|
// pass
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GenericMetadata metadata = (duration > 0 || releaseTime > 0 || feeAmount > 0) ? new StreamMetadata() : new GenericMetadata();
|
GenericMetadata metadata = (duration > 0 || releaseTime > 0 || feeAmount > 0) ? new StreamMetadata() : new GenericMetadata();
|
||||||
|
|
|
@ -51,7 +51,7 @@ public final class Lbry {
|
||||||
|
|
||||||
public static final int TTL_CLAIM_SEARCH_VALUE = 120000; // 2-minute TTL for cache
|
public static final int TTL_CLAIM_SEARCH_VALUE = 120000; // 2-minute TTL for cache
|
||||||
public static final String SDK_CONNECTION_STRING = "http://127.0.0.1:5279";
|
public static final String SDK_CONNECTION_STRING = "http://127.0.0.1:5279";
|
||||||
public static final String LBRY_TV_CONNECTION_STRING = "https://api.na-backend.odysee.com/api/v1/proxy";
|
public static final String LBRY_TV_CONNECTION_STRING = "https://api.lbry.tv/api/v1/proxy";
|
||||||
public static final String TAG = "Lbry";
|
public static final String TAG = "Lbry";
|
||||||
|
|
||||||
// Values to obtain from LBRY SDK status
|
// Values to obtain from LBRY SDK status
|
||||||
|
|
Loading…
Reference in a new issue