Project

General

Profile

Feature #1476

Updated by cpg almost 7 years ago

With the information I have right now about the metadata server, here is how I propose to be implemented. Please provide feedback.
Api call: GET /md?f=filename&h=hint

Here is my take on the implementation.
1. The shares API will Indicate which share have tags content that indicate requires meta data
- User will long press a share and "CAB":http://developer.android.com/design/patterns/actionbar.html#contextual will be shown
- In
the content "CAB":http://developer.android.com/design/patterns/actionbar.html#contextual there will be spinner where you can select content. The options will be : None, Movies, TV
- After selection is done it will be saved in shared preferences


2. If content is none, the folder listing will be shown(this is the default option for all shares)

3. If content is movies
- When user touches the share, the files and folders list will be retrieved and metadata will be called for EVERY file and folder with the hint "movie"
- Each file/folder will be displayed on multiple lines with the artwork of the movie, title and cast.
- When user touches the a movie, if it is a file it will play the movie. If it is a folder it will look inside it and play the first video file in alphabetical order. This should be transparent to the user (not listing of the folder will be shown)

3. If content is TV
- When user touches the share, the files and folders list will be retrieved and metadata will be called for EVERY file and folder with the hint "TV"
- Each file/folder will be displayed on multiple lines with the artwork and description
- When user touches a TV show if it is a file it will just play. If it is a folder that folder will be listed as follows. The header will be the Artwork and description as on the previous screen. The files and folders will be displayed as a list (probably not the best way but I don't see a good way to do it now).
- Browsing deeper within the folder should keep the header.

Back