I implemented the method to fully resolve a stream url (follow redirections). When casting, this method is used, otherwise the redirect URL from the DC.tv API is passed directly to vitamino (it could be used for that too, but there's more exception handling involved with the extra method)
Also a bit of refactoring and fixes, see commit messages for details
Tested with the 24/7 channel and frogpants over MuffinCDN, with phone and chromecast
I implemented the method to fully resolve a stream url (follow redirections). When casting, this method is used, otherwise the redirect URL from the DC.tv API is passed directly to vitamino (it could be used for that too, but there's more exception handling involved with the extra method)
Also a bit of refactoring and fixes, see commit messages for details
Tested with the 24/7 channel and frogpants over MuffinCDN, with phone and chromecast