15
edits
Line 36: | Line 36: | ||
====Relevant Source Code==== | ====Relevant Source Code==== | ||
Source code can be found at https://github.com/mozilla-b2g/gaia/tree/master/apps/music | |||
Application code: | |||
* index.html - The UI for the application | |||
* open.html - The UI for the view that is shown for the 'open' Activity | |||
* pick.html - The UI for the view that is shown for the 'pick' Activity | |||
* js/app.js - The code for the main application | |||
* js/db.js - Code for musicdb API to manage audio files and metadata | |||
* js/endpoint.js - Code for music service API | |||
* js/nfc_share.js - Code for sharing songs via NFC | |||
* js/queue.js - Code for Playback Queue | |||
* js/remote.js – Code for updating remote playback status and metadata (synchronize) | |||
* js/view.js - Code to share with all diferent views | |||
* js/shims/device-storage.js - Code for device storage | |||
* js/metadata/ - Code for metadata parser that supports different formats of metadata | |||
* js/services/ - Code for different services like database service, playlist service, etc. | |||
* components/ | |||
* elements/ | |||
* views/ - Code for different views like albums, artists, playlists, songs,..etc | |||
* sw.js - Service worker code | |||
Shared code: | |||
* shared/js/media/remote_controls.js | |||
* shared/js/async_storage.js | |||
* shared/js/bluetooth_helper.js | |||
* shared/js/image_utils.js | |||
* shared/js/intl_helper.js | |||
* shared/js/intl/l20n-client.js | |||
* shared/js/intl/l20n-service.js | |||
* shared/js/lazy_loader.js | |||
* shared/js/mediadb.js | |||
* shared/js/moz_intl.js | |||
* shared/js/omadrm/fl.js | |||
* shared/js/text_normalizer.js | |||
====Permissions==== | ====Permissions==== |
edits