File tree Expand file tree Collapse file tree
src/main/java/com/danikula/videocache Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ repositories {
1212 maven { url 'https://dl.bintray.com/alexeydanilov/maven' }
1313}
1414dependencies {
15- compile 'com.danikula:videocache:2.1.1 '
15+ compile 'com.danikula:videocache:2.1.2 '
1616}
1717```
1818
@@ -59,7 +59,9 @@ More preferable way is use some dependency injector like [Dagger](http://square.
5959See ` sample ` app for details.
6060
6161## Whats new
62- ### 2.1
62+ ### 2.1.2
63+ - fix offline work
64+ ### 2.1.1
6365- fix for too long cache file name
6466- url redirects support (thanks [ ongakuer] ( https://github.com/ongakuer ) for [ PR] ( https://github.com/danikula/AndroidVideoCache/pull/12 ) )
6567
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ publish {
2626 userOrg = ' alexeydanilov'
2727 groupId = ' com.danikula'
2828 artifactId = ' videocache'
29- publishVersion = ' 2.1.1 '
29+ publishVersion = ' 2.1.2 '
3030 description = ' Cache support for android VideoView'
3131 website = ' https://github.com/danikula/AndroidVideoCache'
3232}
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ private void fetchContentInfo() throws ProxyCacheException {
9999 inputStream = urlConnection .getInputStream ();
100100 Log .i (LOG_TAG , "Content info for `" + url + "`: mime: " + mime + ", content-length: " + available );
101101 } catch (IOException e ) {
102- throw new ProxyCacheException ( "Error fetching Content-Length from " + url );
102+ Log . e ( LOG_TAG , "Error fetching info from " + url , e );
103103 } finally {
104104 ProxyCacheUtils .close (inputStream );
105105 if (urlConnection != null ) {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ dependencies {
3939// compile project(':library')
4040 compile ' com.android.support:support-v4:23.0.1'
4141 compile ' org.androidannotations:androidannotations-api:3.3.2'
42- compile ' com.danikula:videocache:2.1.1 '
42+ compile ' com.danikula:videocache:2.1.2 '
4343 compile ' com.viewpagerindicator:library:2.4.2-SNAPSHOT@aar'
4444 apt ' org.androidannotations:androidannotations:3.3.2'
4545}
You can’t perform that action at this time.
0 commit comments