skip transcoding for flac files, avoid tripling up
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 1
- Joined: Sat Dec 14, 2013 3:30 am
skip transcoding for flac files, avoid tripling up
v 3.30 build date 12/8/13, Win 7 SP1, renderers: Onkyo receiver, Google Nexus 7 (2012) tablet, Samsung Galaxy 4.0 Music Player (not a phone)
I'm having a problem suppressing the transcoding of flac files. Each of the above devices has native support for flac. I've entered "flac" (no quotes) in the "Skip transcoding..." field on the Transcoding Settings screen. The Onkyo receiver, HTRC360, gets recognized under the Onkyo TX-NR717 profile, the two other devices under the generic Android profile. On the receiver I seem to have a choice between the transcode pseudo-directory and the native files. On the two Android devices only the transcode pseudo-directory appears. When I check the Hide Transcode box on the Navigation and Share screen no files are visible on the two Android devices. Both profiles include flac in the StreamExtensions list and all three have a blank entry in the TranscodeExtensions list.
In some directories containing flac files Transcode pseudo-directory containes 3 instances of each file. All 3 will play, one at a time. Some of the directories contain cue files or playlists, but some don't. Needless to say this makes playing music more than inconvenient.
Any help would be appreciated
I'm having a problem suppressing the transcoding of flac files. Each of the above devices has native support for flac. I've entered "flac" (no quotes) in the "Skip transcoding..." field on the Transcoding Settings screen. The Onkyo receiver, HTRC360, gets recognized under the Onkyo TX-NR717 profile, the two other devices under the generic Android profile. On the receiver I seem to have a choice between the transcode pseudo-directory and the native files. On the two Android devices only the transcode pseudo-directory appears. When I check the Hide Transcode box on the Navigation and Share screen no files are visible on the two Android devices. Both profiles include flac in the StreamExtensions list and all three have a blank entry in the TranscodeExtensions list.
In some directories containing flac files Transcode pseudo-directory containes 3 instances of each file. All 3 will play, one at a time. Some of the directories contain cue files or playlists, but some don't. Needless to say this makes playing music more than inconvenient.
Any help would be appreciated
Re: skip transcoding for flac files, avoid tripling up
I too am having a similar problem, only with an Oppo-105 blu-ray player. I am running UMS with 64-bit Fedora 19 and Oracle Java 1.7.0_40. The important thing I see is in the debug log. Whenever I access a folder containing flac files, UMS throws a Null Pointer Exception for each flac file in the folder. I am getting the same unwanted transcoding with the triple version of the original file. Each triple file set is in its own transcode folder. This makes it impossible to play a list of files.
I am attaching the debug zip from UMS 3.3.0.
I do have to say that with the Oppo, UMS has always been weird with flac files. Up through version 2.6.5, I was able to play more than one flac file at a time. However, it always displayed a 2nd file that had the same name with an mpeg type designation and icon. It was unable to play these files and just skipped to the next flac file in the list. This behaviour occurred on both Windows 7 and Linux.
I really want to be able to skip transcoding for flacs and a number of video file types. Any help would be greatly appreciated.
I am attaching the debug zip from UMS 3.3.0.
I do have to say that with the Oppo, UMS has always been weird with flac files. Up through version 2.6.5, I was able to play more than one flac file at a time. However, it always displayed a 2nd file that had the same name with an mpeg type designation and icon. It was unable to play these files and just skipped to the next flac file in the list. This behaviour occurred on both Windows 7 and Linux.
I really want to be able to skip transcoding for flacs and a number of video file types. Any help would be greatly appreciated.
- Attachments
-
- ums-3.3.0_flac_error_dbg.zip
- Debug info for flac NPE problem.
- (7.14 KiB) Downloaded 413 times
Re: skip transcoding for flac files, avoid tripling up
I finally got around to pulling the latest 3.3.1 source from gitHub and then built the UMS project and debugged the problem (I've been doing Java and Swing for many years). It turned out to be a simple typo in a logging statement. The error is in net.pms.dlna.DLNAResource on line 745 where child.getPlayer().name() is used instead of newChild.getPlayer().name(). A NPE is thrown as the child object doesn't have a player assigned to it, but the newChild should be the object that is used.
I will also post this as a new issue along with the suggested fix. I am still getting two instances of each flac track, one as a flac file and one as an mpeg file. However this was the way it was working for an Oppo device under 2.6.5 and it does allow the tracks to be played in sequence just as in 2.6.5.
I will also post this as a new issue along with the suggested fix. I am still getting two instances of each flac track, one as a flac file and one as an mpeg file. However this was the way it was working for an Oppo device under 2.6.5 and it does allow the tracks to be played in sequence just as in 2.6.5.
-
- Posts: 7
- Joined: Sat Feb 23, 2013 10:30 am
Re: skip transcoding for flac files, avoid tripling up
well done. squashing bugs is the best. hope subjunk gets this in there.