Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.0.0 #1615

Merged
merged 43 commits into from Mar 23, 2019
Merged

8.0.0 #1615

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
28e0d4d
GUI for web streams/feeds management (#1603)
SubJunk Oct 10, 2018
d922862
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Dec 20, 2018
8934269
Merge cleanup
SubJunk Dec 20, 2018
5c5065e
Fixed size of web content panel
SubJunk Dec 20, 2018
6ffde66
Formatting
SubJunk Dec 20, 2018
d935e5b
Fix subs recognition squishy (#1728)
SubJunk Dec 20, 2018
f4e8f5e
Weak squishy (#1729)
SubJunk Dec 20, 2018
e0c7db9
Replaced defaults for web content (#1730)
SubJunk Dec 20, 2018
e3cd102
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Dec 21, 2018
2f3a6d2
8.0.0-a1
SubJunk Dec 21, 2018
60a7b86
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Dec 26, 2018
8e59c3d
Bumped MediaInfo to 18.12
SubJunk Dec 26, 2018
d880870
Latest changes from the rebased_fixed_subs_recognition branch
SubJunk Dec 26, 2018
73b5d34
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Dec 26, 2018
7f23eb4
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Dec 27, 2018
48d6742
Bump to 8.0.0-a2
SubJunk Dec 27, 2018
8584e94
Updated changelog
SubJunk Dec 27, 2018
4725787
8.0.0-a2
SubJunk Dec 27, 2018
c694f62
Fixed not respecting the "off" audio/subs language option
SubJunk Dec 30, 2018
44ea806
Bump
SubJunk Dec 30, 2018
f0ea192
Fix NPE on loading web conf because of race condition in loading
SubJunk Jan 2, 2019
8d04fcc
Bump version to b1
SubJunk Jan 2, 2019
1b8d9bc
Changes:
SubJunk Jan 3, 2019
82b7f1b
Fixed setting clash on the subtitles settings tab
SubJunk Jan 3, 2019
86e49d6
Fixed missing translation on the first time language chooser
SubJunk Jan 3, 2019
ded2dbb
Minor formatting/safety
SubJunk Jan 3, 2019
bc85041
Updated changelog
SubJunk Jan 3, 2019
09c2f71
Add option to disable FFMpeg GPU acceleration
valib Jan 5, 2019
2f41b40
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Jan 12, 2019
7dc5603
Fixed merge
SubJunk Jan 12, 2019
887a99c
Fixed merge
SubJunk Jan 12, 2019
ff3627a
8.0.0-b1
SubJunk Jan 12, 2019
477b63c
Updated changelog
SubJunk Jan 12, 2019
934de1d
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Feb 5, 2019
04a70a7
Formatting
SubJunk Feb 5, 2019
4c52855
Database cleanup removes files that are no longer shared
SubJunk Feb 5, 2019
981ea6e
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Feb 8, 2019
13fab1d
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Feb 21, 2019
47100a5
Merge branch 'master' of https://github.com/UniversalMediaServer/Univ…
SubJunk Feb 21, 2019
c60d047
8.0.0-RC1
SubJunk Feb 21, 2019
6b193f3
ID and web interface fixes (#1765)
SubJunk Mar 1, 2019
e366470
Fixed music info (artist, album, genre, album artist, and year) not b…
SubJunk Mar 2, 2019
d226a0a
Merge branch 'master' into 8.0.0
SubJunk Mar 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.txt
@@ -1,3 +1,10 @@
8.0.0-RC1 - 2019-2-22

General
Database cleanup step removes files that are no longer shared
Cleanup of new config settings
All changes in 7.9.0

7.9.0 - 2019-2-22

General:
Expand All @@ -21,6 +28,19 @@
Swedish translation updated
Turkish translation updated

8.0.0-b1 - 2019-01-12

General:
Added option to disable FFmpeg GPU acceleration
Fixed too much transcoding due to not respecting language priority settings
Fixed failure to store audio stream information
Fixed failure to start
Fixed missing text when adding web content
Fixed missing text on the first time language chooser
Fixed text clash on the Subtitles settings subtab of the Transcoding settings tab
Fixed logspam
All changes in 7.8.0

7.8.0 - 2019-01-12

General:
Expand Down
27 changes: 21 additions & 6 deletions pom.xml
Expand Up @@ -30,7 +30,7 @@
<artifactId>ums</artifactId>
<name>Universal Media Server</name>
<packaging>jar</packaging>
<version>7.9.1-SNAPSHOT</version>
<version>8.0.0-RC1</version>
<url>http://www.universalmediaserver.com/</url>
<inceptionYear>2012</inceptionYear>

Expand Down Expand Up @@ -63,7 +63,7 @@
</issueManagement>
<properties>
<!-- NSIS needs a version without "-SNAPSHOT" or "-b1" -->
<project.version.short>7.9.1</project.version.short>
<project.version.short>8.0.0</project.version.short>
<cuelib-version>1.2.1-2008-06-13</cuelib-version>

<!-- In versions after 1.6.0, they removed code that the MovieInfo plugin relies on -->
Expand All @@ -75,14 +75,14 @@
<!-- Skip 4.65-1.05-RC because it doesn't work, author is working on fixing it -->
<sevenzip-version>9.20-2.00beta</sevenzip-version>

<twelvemonkeys-imageio-version>3.3.2</twelvemonkeys-imageio-version>
<twelvemonkeys-imageio-version>3.4.1</twelvemonkeys-imageio-version>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.external-resources>${project.basedir}/src/main/external-resources</project.external-resources>
<project.binaries>${project.basedir}/target/bin</project.binaries>

<project.binaries-base>http://universalmediaserver.com/svn/binaries</project.binaries-base>
<binary-revision>81</binary-revision>
<binary-revision>82</binary-revision>

<maven-javadoc-plugin-version>2.10.4</maven-javadoc-plugin-version>
<git-commit-id-plugin-version>2.2.3</git-commit-id-plugin-version>
Expand Down Expand Up @@ -245,9 +245,24 @@
<version>2.1</version>
</dependency>
<dependency>
<groupId>net.java.dev.rome</groupId>
<groupId>com.rometools</groupId>
<artifactId>rome</artifactId>
<version>1.0.0</version>
<!--
org.slf4j:slf4j-api is shared with
- ch.qos.logback:logback-classic
- su.litvak.chromecast
- fm.last:coverartarchive-api
- com.github.oshi:oshi-core

Check the org.slf4j:slf4j-api version of the other libraries before upgrading
-->
<version>1.9.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.coobird</groupId>
Expand Down
28 changes: 28 additions & 0 deletions src/main/external-resources/UMS.conf
Expand Up @@ -366,6 +366,18 @@ hide_extensions =
# Default: true
hide_enginenames =

# Add subtitles information to video names
# ----------------------------------------
# Choose what level of subtitles information that should be added to video
# names. The following options are available:
#
# none = Don't show subtitles information
# basic = Show only basic subtitles information
# full = Show full subtitles information
#
# Default: basic
subs_info_level =

# Hide empty folders
# ------------------
# Choose whether or not to show folders which contain no viewable content.
Expand Down Expand Up @@ -850,6 +862,13 @@ use_embedded_subtitles_style =

# ---< General settings >-----------------------------------------------------

# Disable connection to external entities
# ---------------------------------------
# Whether to disable connection to external entities to prevent the XML External
# Entity vulnerability.
# Default: true
disable_external_entities =

# Enable multithreading
# ---------------------
# Whether FFmpeg should use multithreading
Expand Down Expand Up @@ -1324,6 +1343,15 @@ web_port =
# Default: true
web_enable =

# Use HTTPS (SSL) for web connection
# ----------------------------------
# Whether the web interface should use HTTPS.
# To enable HTTPS, a self-signed keystore file called \"UMS.jks\" with password
# \"umsums\" must be generated using the Java 'keytool' commandline utility.
# The file must be placed in the profile folder (where this file resides).
# Default: false
web_https =

# Web path
# --------
# Path to where the UMS web files (like javascripts etc) are to be found.
Expand Down
31 changes: 22 additions & 9 deletions src/main/external-resources/WEB.conf
Expand Up @@ -26,19 +26,32 @@
##########################################################################################################

# image feeds
imagefeed.Web,Pictures=http://api.flickr.com/services/feeds/photos_public.gne?id=29142919@N07&lang=en-en&format=rss_200
imagefeed.Web,Pictures=http://api.flickr.com/services/feeds/photos_public.gne?format=rss2
imagefeed.Web,Pictures=http://api.flickr.com/services/feeds/photos_public.gne?id=39453068@N05&format=rss2
imagefeed.Web,Pictures=http://api.flickr.com/services/feeds/photos_public.gne?id=14362684@N08&format=rss2
imagefeed.Web,Pictures=http://picasaweb.google.fr/data/feed/base/user/nefuisalbum/albumid/5218433104757705489?alt=rss&kind=photo&hl=en_US
imagefeed.Web,Pictures=http://picasaweb.google.fr/data/feed/base/user/cookiejarconfessionals/albumid/5229065014037788129?alt=rss&kind=photo&hl=en
imagefeed.Web,Pictures,Albums=http://picasaweb.google.com/data/feed/base/user/FenderStratRocker?alt=rss&kind=album&hl=en_US&access=public
imagefeed.Web,Pictures=http://picasaweb.google.com/data/feed/base/user/FenderStratRocker?alt=rss&kind=album&hl=en_US&access=public

# audio feeds
audiofeed.Web,Podcasts=http://podcasts.engadget.com/rss.xml
audiofeed.Web,Podcasts=https://rss.art19.com/caliphate
audiofeed.Web,Podcasts=https://www.nasa.gov/rss/dyn/Gravity-Assist.rss
audiofeed.Web,Podcasts=http://podcasts.joerogan.net/feed
audiofeed.Web,Podcasts=http://wakingup.libsyn.com/rss
audiofeed.Web,Podcasts=https://rss.art19.com/wolverine-the-long-night

# video feeds
videofeed.Web,TED=http://feeds.feedburner.com/tedtalks_video
videofeed.Web,The Onion=http://feeds.theonion.com/onionnewsnetwork
videofeed.Web,Vodcasts=http://feeds.feedburner.com/tedtalks_video
videofeed.Web,Vodcasts=https://www.nasa.gov/rss/dyn/nasax_vodcast.rss
videofeed.Web,Vodcasts=https://www.unicef.org/rss/unicef_television_vodcast.xml
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UC0PEAMcRK7Mnn2G1bCBXOWQ
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UCccjdJEay2hpb5scz61zY6Q
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UCOiUKJ6lMU3yHbVNtNXJyfw
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UCqFzWxSCi39LnW1JKFR3efg
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UCfAOh2t5DpxVrgS9NQKjC7A
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UC8-Th83bH_thdKZDJCrn88g
videofeed.Web,YouTube Channels=https://www.youtube.com/feeds/videos.xml?channel_id=UCzRBkt4a2hy6HObM3cl-x7g

# video streams
videostream.Web,TV=France 24,mms://stream1.france24.yacast.net/f24_liveen,http://www.france24.com/en/sites/france24.com.en/themes/france24/logo-fr.png
videostream.Web,TV=BFM TV (French TV),mms://vipmms9.yacast.net/bfm_bfmtv,http://upload.wikimedia.org/wikipedia/en/6/62/BFMTV.png
videostream.Web,Webcams=View of Shanghai Harbour,mmst://www.onedir.com/cam3,http://media-cdn.tripadvisor.com/media/photo-s/00/1d/4b/d8/pudong-from-the-bund.jpg
# videostream.Web,TV=France 24,mms://stream1.france24.yacast.net/f24_liveen,http://www.france24.com/en/sites/france24.com.en/themes/france24/logo-fr.png
# videostream.Web,TV=BFM TV (French TV),mms://vipmms9.yacast.net/bfm_bfmtv,http://upload.wikimedia.org/wikipedia/en/6/62/BFMTV.png
# videostream.Web,Webcams=View of Shanghai Harbour,mmst://www.onedir.com/cam3,http://media-cdn.tripadvisor.com/media/photo-s/00/1d/4b/d8/pudong-from-the-bund.jpg
2 changes: 1 addition & 1 deletion src/main/external-resources/renderers/Kodi.conf
Expand Up @@ -69,5 +69,5 @@ Supported = f:wavpack m:audio/x-wavpack
Supported = f:wma m:audio/x-ms-wma

# Supported subtitles formats:
SupportedExternalSubtitlesFormats = ASS,MICRODVD,PGS,SAMI,SUBRIP,TEXT,UFS,VOBSUB,WEBVTT
SupportedExternalSubtitlesFormats = ASS,PGS,SAMI,SUBRIP,TEXT,UFS,WEBVTT
SupportedInternalSubtitlesFormats = ASS,MICRODVD,PGS,SAMI,SUBRIP,TEXT,UFS,VOBSUB,WEBVTT
42 changes: 7 additions & 35 deletions src/main/java/net/pms/PMS.java
Expand Up @@ -28,9 +28,7 @@
import java.io.*;
import java.net.BindException;
import java.nio.charset.Charset;
import java.nio.charset.IllegalCharsetNameException;
import java.nio.charset.StandardCharsets;
import java.nio.charset.UnsupportedCharsetException;
import java.nio.file.Paths;
import java.security.AccessControlException;
import java.sql.SQLException;
Expand Down Expand Up @@ -374,9 +372,6 @@ private void displayBanner() throws IOException {
dbgPack = new DbgPacker();
tfm = new TempFileMgr();

// This should be removed soon
OpenSubtitle.convert();

// Start this here to let the converison work
tfm.schedule();

Expand Down Expand Up @@ -909,7 +904,7 @@ private synchronized static void createInstance() {
}
} catch (Exception e) {
LOGGER.error("A serious error occurred during {} initialization: {}", PMS.NAME, e.getMessage());
LOGGER.trace("", e);
LOGGER.debug("", e);
}
}

Expand Down Expand Up @@ -1142,7 +1137,7 @@ public String getSimilarTVSeriesName(String title) {
return title;
}

title = getSimplifiedShowName(title);
title = FileUtil.getSimplifiedShowName(title);
title = StringEscapeUtils.escapeSql(title);

if (getConfiguration().getUseCache()) {
Expand All @@ -1155,22 +1150,6 @@ public String getSimilarTVSeriesName(String title) {
return "";
}

/**
* This reduces the incoming title to a lowercase, alphanumeric string
* for searching in order to prevent titles like "Word of the Word" and
* "Word Of The Word!" from being seen as different shows.
*
* @param title
* @return
*/
public String getSimplifiedShowName(String title) {
if (title == null) {
return null;
}

return title.toLowerCase().replaceAll("[^a-z0-9]", "");
}

/**
* Retrieves the {@link net.pms.configuration.PmsConfiguration PmsConfiguration} object
* that contains all configured settings for DMS. The object provides getters for all
Expand Down Expand Up @@ -1352,20 +1331,10 @@ private static boolean verifyPidName(String pid) throws IOException, IllegalAcce
Process p = pb.start();
String line;

Charset charset = null;
int codepage = WinUtils.getOEMCP();
String[] aliases = {"cp" + codepage, "MS" + codepage};
for (String alias : aliases) {
try {
charset = Charset.forName(alias);
break;
} catch (IllegalCharsetNameException | UnsupportedCharsetException e) {
charset = null;
}
}
Charset charset = WinUtils.getOEMCharset();
if (charset == null) {
charset = Charset.defaultCharset();
LOGGER.warn("Couldn't find a supported charset for {}, using default ({})", aliases, charset);
LOGGER.warn("Couldn't find a supported charset for {}, using default ({})", WinUtils.getOEMCP(), charset);
}
try (BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream(), charset))) {
try {
Expand Down Expand Up @@ -1769,6 +1738,9 @@ public static boolean getLogDB() {
private CredMgr credMgr;

public static CredMgr.Credential getCred(String owner) {
if (instance == null || instance.credMgr == null) {
return null;
}
return instance.credMgr.getCred(owner);
}

Expand Down