NAD C446 Media Player not "playing"

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

NAD C446 Media Player not "playing"

Post by ums-space »

I try to configure an older client. It's a Stereo NAD C 446 Media Tuner.
This device supports the following audio medias:WAV up to 1,536 mbit/s. FLAC up to 1,5 mbit/s. AAC up to 320 kbit/s. MP3 up to 320 kbit/s. WMA up to 320 kbit/s.
The client is recognized at the home-screen of the the web-interface. I then followed the UMS-FAQ to create a custom render-file. (Although I want to run UMS headless, I have activated a GUI on the server to start the UMS JAVA configuration program). I changed the render-file like described in the FAQ..
I tried to play some audio files. I navigated to the album, then "transcode", then the song titles are displayed, but if I want to play them, the display-output of the C 446 is "no items". I checked the debug.log, but i could not find a line with "[New I/O server worker ....."
Now I am at a loss as to how to proceed.
What do you suggest next?
Attachments
ums_dbg_2024-06-13-07-30.zip
(172.88 KiB) Downloaded 246 times
User avatar
mik_s
Moderator
Posts: 1430
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: NAD C446 Media Player not "playing"

Post by mik_s »

I think you have misunderstood how to set up a conf as you have copied the whole DefaultRenderer.conf, that only documents what the options do and is not functional.

You should use an existing conf of a similar device as a template to set up the supported formats as shown in the manual. Yamaha-AV.conf looks like one that is similar so there is not much to change.

UMS will run headless and you can use the webUI to set it up instead of the Java GUI.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

Re: NAD C446 Media Player not "playing"

Post by ums-space »

Hello mik,
thanks for the tip, I have now used the Yamha-AV.conf as a template and checked all audio files beforehand with mediainfo. The mime types are correct. The renderer is recognized. But the behavior has not changed. I can browse through the directories, no problem. But I can only see the file names in the "transcoded" directory. If I select a file name and want to play it, the display output on the NAD C446 is "No items". There are messages about this in the log file, but I don't have the know-how to understand and interpret them. For example, I don't understand why the files are displayed with their names in the transcode (?) folder, they should be streamed directly. And if i select a file, it cannot be played. Somehow I thought/hoped that I would find out how to "feed" the NAD from the UMS, but I'm not getting any further.... :-(
Attachments
_ums_dbg_2024-06-14-14-18.zip
(22.4 KiB) Downloaded 235 times
trace_mode_ums_dbg_2024-06-14-14-20.zip
(68.65 KiB) Downloaded 327 times
User avatar
mik_s
Moderator
Posts: 1430
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: NAD C446 Media Player not "playing"

Post by mik_s »

You should not need to play from the #--TRANSCODE--# folder as all your your files should show up outside this.
Playing from the transcode folder will force them to be transcoded instead of streamed but you have not defined the format to use and the default is not supported.
You should set

Code: Select all

TranscodeAudio = WAV
One thing may help if no files are showing up is the SearchCaps option, as you say it is an old device it may not support this so set this to false

Code: Select all

# If UpnpSearchCapsEnabled is set to true, UMS will notify Media Renderer of available
# UPnP search capabilities. In case a renderer has issues browsing or searching
# content, set this property to false.
# Default: true
UpnpSearchCapsEnabled = 
You probably don't need to use the bitrate (b:) for audio, I don't see any other device conf using this for audio and I see that for sample-1.wma this is higher than what you have it set to so this would be transcoded.
Once you get it set up so your files are showing then test to see if this plays without transcoding. If not then you can add those limits back so it can transcode automatically.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

Re: NAD C446 Media Player not "playing"

Post by ums-space »

Hi mik
here I'm again ;-)
There is one thing I don't understand... Why are the titles of the songs displayed in a transcode folder?
They are supposed to be streamed directly. Strange. Anyway: Have a nice weekend and thank you for your help so far

The File-System:
Musik/Fischer-X/Album/Song.mp3
Musik/flac/flacsong.flac
Musik/wav/wavsong.wav
Musik/wma/wmasong.wma

Display at NAD C446:
Media Library -> Audio -> All Audio tracks -> #--TRANSCODE--# -> List of all songs. Every song can be selected but not played:
Display-output: "No items"
Media Library -> Photo
Media Library -> Video
Musik -> Folder -> #--TRANSCODE--# -> Song. Song can be selected but not played: Display-output: "No items"

NADC446002261a381f0.conf

Code: Select all

RRendererName = NAD C446 002261a381f0
UserAgentSearch = 
UpnpDetailsSearch = NAD Electronics , Media Tuner
UpnpSearchCapsEnabled = false
Video = false
Image = false
TranscodeAudio = WAV
MediaInfo = true
Supported = f:flac m:audio/x-flac n:2
Supported = f:mp3  m:audio/mpeg   n:2
Supported = f:wav  m:audio/vnd.wave n:2
Supported = f:wma  m:audio/x-ms-wma n:2
User avatar
mik_s
Moderator
Posts: 1430
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: NAD C446 Media Player not "playing"

Post by mik_s »

As you are sharing the folder "/media/localmedia/Musik" and if it has the structure

Code: Select all

Musik/Fischer-X/Album/Song.mp3
Musik/flac/flacsong.flac
Musik/wav/wavsong.wav
Musik/wma/wmasong.wma
Then when you access it in UMS it should show as

Code: Select all

Musik/
	Fischer-X/
			Album/
			         	#--TRANSCODE--#
					Song.mp3
	flac/
		#--TRANSCODE--#
		flacsong.flac
	wav/
		#--TRANSCODE--#
		wavsong.wav
	wma/
		#--TRANSCODE--#
		wmasong.wma
The #--TRANSCODE--# folders can be turned off once it is working properly but playing the files inside will force transcode them,
or you can chose "No transcoding" to force it to stream which is a good way of testing is a format is supported.
Playing outside this folder will let UMS automatically chose what to do by using the conf.

I don't know much about the how the file-list is sent to a renderer but checking through what I do know it looks like it is being sent correctly.
It just might be that your device cannot parse this correctly.

A few other options that may help are

Code: Select all

# Whether to send DLNA ORG flags (ORG_PN and ORG_OP) with the file descriptions.
# Some renderers like them, other renderers are fine with just MIME types, and
# some renderers like them to be very exact, which we may not always get right.
# Default: true
SendDLNAOrgFlags = 

# PN is defined for every file sent to the renderer via DLNAOrgPN value. If
# this value is wrong, the renderer may refuse listing or playing this file.
# When it is set to false, no DLNAOrgPN is sent to renderer, which can help
# with troubleshooting.
# The PN is a description of the file, e.g. AVC_TS_NA_ISO
# Default: true
DLNAOrgPN = 

# Spends a longer time analyzing the contents of files to determine the most accurate information to send renderers.
# Some renderers like Sony TVs need the extra accuracy.
# Warning: This can cause significantly slower browse times.
# Default: false
AccurateDLNAOrgPN = 
If you do more logs trying these and attempting to play a file then I might be able to see why its not working.
Might be better to set up a test folder and put a load of files in there as it will make it easier to find in the logs, its hard to keep track if you have to navigate many folders.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

Re: NAD C446 Media Player not "playing"

Post by ums-space »

Hello mik, yes, you're right. I created a music folder with 2 mp3 files for easier testing and tried all 8 variants of your last options (SendDLNAOrgFlags, DLNAOrgPN and AccurateDLNAOrgPN ). Start server, test, stop server, change conf file, start server etc.
Here is the result: (all above options have no effect, always the same test-result)
Media library->Audio->All audio tracks->#--TRANSCODE--#->list of songs. Select to play: "No items"
Music->#--TRANSCODE--#->>list of songs. Select to play: "No items".
After selecting "All audio tracks" and "Music" only the one option is offered, #--TRANSCODE--#, after which you get to the list of songs but you can't play them.
That means UMS thinks all files have to be transcoded. After selecting #--TRANSCODE--# you can see all the file names but they cannot be played.
Are they really transcoded? Where are transcoded files stored?
The support lines in NADC446002261a381f0.conf probably don't fit, so UMS might need to transcode ...
That's all for today ;-)
User avatar
mik_s
Moderator
Posts: 1430
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: NAD C446 Media Player not "playing"

Post by mik_s »

Its not that UMS thinks they need transcoded, it is because you are going in the #--TRANSCODE--# folder.
Looking at the "final verdict" in the last logs, UMS will be streaming all those files if played outside this folder.

The files inside this folder is not real files themselves but virtual folders containing options like "no transcoding" and various other transcoding options.
There is probably only 2 options there for audio files but there can be a lot for video as every combination of subs, audio track, and transcoding engine need to be listed.
Selecting a file here should start to play.

I think the problem is your device is not displaying the file list that is sent by UMS so no files (real or virtual) are showing up (just folders) so there is nothing to play.

When files are transcoded they are not stored anywhere as it is done in real-time then immediately sent to the device.

I should say the "446002261a381f0" in the filename for the conf is not needed, nor in the renderer name, so you can change this to whatever you want.

I don't think there is much else I can help with as I can't do any testing myself so you will just have to experiment with the various options to see if any will work.
Don't forget about UpnpSearchCapsEnabled along with those in my previous post. Have a good read of the DefaultRenderer.conf to see if there is any other option that I have missed.

If you do some more logs I might be able to see better now when there are several files in a single folder.
Also do different logs with different options so I can compare and see if it changes anything.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

Re: NAD C446 Media Player not "playing"

Post by ums-space »

Hi mik,
Thanks for the info. I have to switch to the #--TRANSCODE--# folder because that's the only place where the file names are displayed. If I select Media library->Audio->All audio tracks, the only other option that is displayed is #--TRANSCODE--#. Only when I then switch to the #--TRANSCODE--# folder are the file names displayed.
I have just created trace log files again with the minimal test configuration.
I have carried out the following test steps:
1.) Start the NAD C446 client
2.) Start UMS in TRACE mode
3.) Go through all the folders on the client until you get to the file display. Then select all the files one after the other to play. (as "always" output "no items")
4.) Create trace log files
debug.log also contains the XML protocol information. But I can't interpret it. I think the XML protocol information is the key to knowing how to configure the UMS with the knowledge of the internal UMS functions.
Have a nice Sunday... :-)
Attachments
ums_dbg_2024-06-16-08-47.zip
(274.19 KiB) Downloaded 289 times
ums-space
Posts: 12
Joined: Thu Jun 13, 2024 7:08 am

Re: NAD C446 Media Player not "playing"

Post by ums-space »

Yes, i think UMS will be streaming all those files if played outside this folder. They can be played with the web-player but not with NAD C446 (They are not offered outside the transcode folder)
I will check again UpnpSearchCapsEnabled along with those options in your previous post. And I have to study DefaultRenderer.conf to see if there is any other options.
It is strange that
net.pms.store.StoreResource adds "01-Song.mp3" to transcode folder for engine: "null.
.... I would get further if I could understand that and the reason for it ;-)

here is an excerpt from the log:

Code: Select all

TRACE 2024-06-16 08:45:20.515 [Media Scanner] net.pms.formats.FormatFactory Matched format MP3 to "/media/localmedia/music/01-Song.mp3"
TRACE 2024-06-16 08:45:20.516 [Media Scanner] net.pms.store.MediaInfoStore Store do not yet contains MediaInfo for /media/localmedia/music/01-Song.mp3
TRACE 2024-06-16 08:45:20.528 [Media Scanner] net.pms.database.MediaTableAudiotracks Adding audio from the database: Audio Id: 0, Codec: MP3, Bitrate: 131862, Channels: 2, Sample Frequency: 48000 Hz
TRACE 2024-06-16 08:45:20.530 [Media Scanner] net.pms.database.MediaTableAudioMetadata Searching AUDIO_METADATA with "HikariProxyPreparedStatement@583000094 wrapping prep193: SELECT * FROM AUDIO_METADATA WHERE FILEID = ? LIMIT 1 {1: CAST(208 AS BIGINT)}"
TRACE 2024-06-16 08:45:20.530 [Media Scanner] net.pms.database.MediaTableVideoMetadata Searching VIDEO_METADATA with "HikariProxyPreparedStatement@938642096 wrapping prep194: SELECT * FROM VIDEO_METADATA WHERE VIDEO_METADATA.FILEID = ? AND (VIDEO_METADATA.IMDBID IS NOT NULL OR VIDEO_METADATA.TMDBID IS NOT NULL) LIMIT 1 {1: CAST(208 AS BIGINT)}"
TRACE 2024-06-16 08:45:20.531 [Media Scanner] net.pms.store.StoreResource Adding new child "01-Song.mp3" with class "RealFile"
TRACE 2024-06-16 08:45:20.533 [Media Scanner] net.pms.store.StoreResource Adding "01-Song.mp3" to transcode folder for engine: "null" 
P.S: could it be that one of the developers could have a crucial tip?
Post Reply