DSteve595 / Put.io

Put.io for Android!
MIT License
142 stars 30 forks source link

Android TV Support #28

Closed sregg closed 9 years ago

sregg commented 9 years ago

Hi Steve,

Here is the first version of the Android TV support. I tried to keep it isolated from your code using a "tv" package name but I had to add some equals and hashCode in PutioFile.java. The imls also got somehow changed by Android Studio. And I added some leanback stuff in AndroidManifest.xml and build.gradle.

Right now it lists the folders and video files only. Only MP4 files (original or converted) are supported for now. We'll see if people ask for MP3 audio support.

Some colouring could be done too.

Here are some screenshots:

Icon in TV Launcher: tv_screenshot_launcher

Grid of Folders: tv_screenshot_folders

Grid of Videos: tv_screenshot_videos

Video Playing: tv_screenshot_playing

DSteve595 commented 9 years ago

This is amazing, thank you so much for the time you've put into this. It looks great! I'll add a credit in About. Will merge ASAP.

DSteve595 commented 9 years ago

Merging into tv branch. Will upload to beta today.

sregg commented 9 years ago

Great. Make sure to Opt-In to Android TV in the Developer Console: https://developer.android.com/distribute/googleplay/tv.html

f1vefour commented 9 years ago

Nice work.

sregg commented 9 years ago

I fixed issues #1 #2 and #3 from Bryan's feedback (https://plus.google.com/105808556258081643168/posts/H7WHpvcXyWL)

rgbk commented 9 years ago

Where does one start if the videos aren't playing back. I get all the screens above, I have totally regular videos on my put.io. Clealry since I'm using the app, and an android tv, it can't be anything I'm doing wrong. I'm on a 4K UHD Bravia 2015, good WIFI. Any suggestions welcome and happy to help debug. Thanks.

DSteve595 commented 9 years ago

I'm not super familiar with the TV functionality (@sregg implemented it) but I'll see if I can find what's wrong when I can.