-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing music from cache if player is far away from them
- Loading branch information
Showing
5 changed files
with
89 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
function onPlayStart(name, delegate) | ||
function onPlayStart(name, delegate, imporant) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Xogy
Author
Owner
|
||
globalOptionsCache[name].onPlayStart = delegate | ||
globalOptionsCache[name].imporant = imporant | ||
end | ||
|
||
exports('onPlayStart', onPlayStart) | ||
|
@@ -26,4 +27,8 @@ function onPlayResume(name, delegate) | |
globalOptionsCache[name].onPlayResume = delegate | ||
end | ||
|
||
exports('onPlayResume', onPlayResume) | ||
exports('onPlayResume', onPlayResume) | ||
|
||
function onPlayStartSilent(name, delegate) | ||
globalOptionsCache[name].onPlayStartSilent = delegate | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Typo important?