Skip to content

Commit

Permalink
updated version number
Browse files Browse the repository at this point in the history
  • Loading branch information
isanvicente committed Sep 13, 2017
1 parent 74b2e3a commit 39139fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/elh/eus/MSM/FeedReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.net.URLConnection;
import java.nio.charset.Charset;
import java.nio.charset.UnsupportedCharsetException;
import java.nio.file.Paths;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
Expand Down Expand Up @@ -509,7 +510,7 @@ private void getMultimediaFeed (Feed f, String store, String ffmpeg){

}
else{
stream = new FileInputStream(f.getFeedURL());
stream = new FileInputStream(Paths.get(f.getFeedURL()).toFile());
}
// try to read a feed.
try {
Expand All @@ -527,7 +528,7 @@ private void getMultimediaFeed (Feed f, String store, String ffmpeg){
}
} catch (IOException cpe) {
System.err.println(
"FeadReader::getFeed -> HTTP ERROR with" + f.getFeedURL() + " : " + cpe.getMessage());
"FeadReader::getFeed -> HTTP ERROR with " + f.getFeedURL() + " : " + cpe.getMessage());
cpe.printStackTrace();
}

Expand Down

0 comments on commit 39139fa

Please sign in to comment.