Page 1 of 3

Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 1:20 am
by NRB
Hi there,

I've found that a huge number of my video files (.avi container) don't fill the screen when running under Serviio to my Sony BRAVIA KDL-32EX600, but fill the screen on my Pioneer 507 when played through my PS3 connected to Serviio. Renderer is set to "Automatic detection"

I've attached 2 photos to show the amount of screen left unfilled on the Sony.

The second problem I've noticed is serving music - Serviio reports no files in my music directories that have been added to my library, the audio checkbox is ticked and I've forced refresh. Music is in .MP3, .AAC, and .FLAC formats. Serviio has been running for weeks so there's been ample opportunity to have it add files to the library.

Thanks!

Nick
Pioneer 2.jpg
Pioneer 507 - plays full screen
Pioneer 2.jpg (131.92 KiB) Viewed 18460 times
Sony 2.jpg
Sony KDL-32EX600 - plays restricted screen. Red area is actual screen area.
Sony 2.jpg (138.71 KiB) Viewed 18460 times

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 9:26 am
by zip
Only mp3 and wma is supported ATM. Will look into the aspect ratio.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 9:54 am
by NRB
Thanks for looking in to the aspect ratio.

As for the music - the majority is in MP3 and they're not shown.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 10:09 am
by zip
I assume you are in the TV's Audio menu category? You could also check serviio.log to see if the files have been added.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 10:24 am
by NRB
zip wrote:I assume you are in the TV's Audio menu category?


Hehe, yes.

zip wrote:You could also check serviio.log to see if the files have been added.


The log is continually rewritten, yes? Well mine is anyway. How do I check? I've looked at the log file and it doesn't contain very much at all.

It's actually full of multiple instances of the following:
2010-12-20 21:12:34,434 WARN [DiscoveryAdvertisementNotifier] Problem during DiscoveryAdvertisementNotifier, will try again
java.net.SocketException: The requested address is not valid in its context
at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.setOption(Unknown Source)
at java.net.MulticastSocket.setInterface(Unknown Source)
at org.serviio.util.MultiCastUtils.startMultiCastSocket(MultiCastUtils.java:34)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAlive(DiscoveryAdvertisementNotifier.java:117)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.run(DiscoveryAdvertisementNotifier.java:87)
at java.lang.Thread.run(Unknown Source)


I've shutdown and restarted Serviio:

2010-12-20 21:18:07,905 INFO [MediaServer] ------------------------------------------------------------------------
2010-12-20 21:18:07,906 INFO [MediaServer] Serviio DLNA media streaming server v 0.4.2 (rev. 683706a96104)
2010-12-20 21:18:07,906 INFO [MediaServer] Petr Nejedly 2009-2010
2010-12-20 21:18:07,906 INFO [MediaServer] http://www.serviio.org
2010-12-20 21:18:07,906 INFO [MediaServer]
2010-12-20 21:18:07,906 INFO [MediaServer] Java 1.6.0_22-Sun Microsystems Inc.
2010-12-20 21:18:07,906 INFO [MediaServer] OS Windows 7 amd64 6.1
2010-12-20 21:18:07,906 INFO [MediaServer] File encoding: windows-1252
2010-12-20 21:18:07,906 INFO [MediaServer] ------------------------------------------------------------------------
2010-12-20 21:18:08,112 INFO [RestletServer] Starting Restlet server exposed on localhost:23423
2010-12-20 21:18:08,156 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2010-12-20 21:18:09,873 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2010-12-20 21:18:10,139 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2010-12-20 21:18:10,194 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2010-12-20 21:18:10,243 INFO [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2010-12-20 21:18:10,263 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2010-12-20 21:18:10,288 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2010-12-20 21:18:10,306 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2010-12-20 21:18:10,326 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C-series)' (id=7)
2010-12-20 21:18:10,340 INFO [ProfilesDefinitionParser] Added profile 'LG BD player' (id=8)
2010-12-20 21:18:10,389 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2010-12-20 21:18:10,450 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player' (id=10)
2010-12-20 21:18:10,517 INFO [VideoDeliveryEngine] Cleaning transcode engine and its data
2010-12-20 21:18:10,564 INFO [WebServer] WebServer starting on port 8895
2010-12-20 21:18:10,739 INFO [Device] Created UPnP Device with UUID: 30c5cfc3-66bd-375d-8032-a6e554d10f06, bound address: 10.1.1.4
2010-12-20 21:18:10,902 INFO [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2010-12-20 21:18:11,047 INFO [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2010-12-20 21:18:11,049 INFO [CompositeCacheConfigurator] Setting default auxiliaries to null
2010-12-20 21:18:11,049 INFO [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2010-12-20 21:18:11,050 INFO [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-12-20 21:18:11,050 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2010-12-20 21:18:11,050 INFO [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1292840291050, LastAccessTime = 1292840291050, getTimeToLiveSeconds() = -1, createTime = 1292840291050 ]
2010-12-20 21:18:11,052 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2010-12-20 21:18:11,061 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2010-12-20 21:18:11,061 INFO [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-12-20 21:18:11,061 INFO [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2010-12-20 21:18:11,061 INFO [LRUMemoryCache] initialized LRUMemoryCache for local_default
2010-12-20 21:18:11,061 INFO [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-12-20 21:18:11,061 INFO [CompositeCacheConfigurator] Parsed regions [local_resetafterplay, local_default]
2010-12-20 21:18:11,061 INFO [CompositeCacheConfigurator] Finished configuration in 13 ms.
2010-12-20 21:18:11,062 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2010-12-20 21:18:11,062 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface 10.1.1.4
2010-12-20 21:18:11,062 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2010-12-20 21:18:11,063 INFO [EventDispatcher] Starting EventDispatcher
2010-12-20 21:18:20,949 INFO [ServiioConsole] Starting Serviio Console
2010-12-20 21:18:21,274 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2010-12-20 21:18:22,581 INFO [UpdateChecker] Checking if a new version is available
2010-12-20 21:18:31,064 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2010-12-20 21:18:31,068 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files


No list of all added files?

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 11:12 am
by zip
First of all, is 10.1.1.4 your IP address? I assume it's not, add it as bound address in the console.

Try renaming one of your mp3 files and wait for it to be reindexed, then you should see an entry in the log.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 11:50 am
by NRB
That IP address is correct at the time. I'm usually 10.1.1.2 though, but router has been dropping out a bit tonight and IP has changed.

I renamed a file, it's been re-indexed, but doesn't appear on the TV menu when I browse to it. No music is listed at all in any folder.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 12:10 pm
by zip
Can you try step 1) from here: viewtopic.php?f=5&t=38
See if your files are visible in the tool.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 12:33 pm
by NRB
Hi Petr,

Thanks for helping troubleshoot. I've run the tool, and although the complete directory structure is recognised, there's no media in the the music folders, despite the log showing it recognised the new file added to a directory from the previous posts.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 12:39 pm
by zip
The tool is a bit tricky, try opening the folders slowly, ie click on the + icon after 10-20 seconds, depending on how many files there should be in the folder (it tries to get contents of a lot of folders at the same time and sometimes gets confused).

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 12:44 pm
by NRB
Folders with music are all empty. Video files all listed as expected.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 2:06 pm
by zip
Can you turn on detailed logging (link in signature) and rename a file again? Post the bit in the log around the time when it indexes it.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Mon Dec 20, 2010 11:28 pm
by NRB
Hi Petr,

I've turned on detailed logging, but the log keeps getting overwritten when it reaches approximately 500kB, meaning I need to time my access to the log to find the entry of indexing. I've tried it twice but each time I've not been able to see the entry as it's either gone or not occurred. I've waited until all activity has apparently ceased, but the entries we're interested in have been removed.

Is there another way?

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Tue Dec 21, 2010 8:20 pm
by zip
You could edit log4j.xml and change line

  Code:
<param name="MaxFileSize" value="500KB" />
to something like

  Code:
<param name="MaxFileSize" value="5MB" />

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Tue Dec 21, 2010 11:29 pm
by NRB
Ok, here's our log

Seviio Log wrote:2010-12-22 10:24:06,801 DEBUG [LibraryAdditionsCheckerThread] Found file 'SERVIIO TEST INDEX.mp3', checking if it's already in the Library
2010-12-22 10:24:06,801 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item SERVIIO TEST INDEX.mp3
2010-12-22 10:24:06,805 DEBUG [MediaItemDAOImpl] Media item SERVIIO TEST INDEX.mp3 doesn't exist in DB yet
2010-12-22 10:24:06,806 DEBUG [LibraryAdditionsCheckerThread] File not in Library, will add it
2010-12-22 10:24:06,806 DEBUG [AudioExtractionStrategy] Extracting metadata of audio file: D:\****\Music\SERVIIO TEST INDEX.mp3
2010-12-22 10:24:06,807 DEBUG [LibraryManager] Metadata found via extractor EMBEDDED: AudioMetadata [album=null, albumArtist=null, bitrate=192, channels=2, coverImage=null, duration=3640, genre=Other, releaseYear=null, trackNumber=null, author=null, date=Wed Jul 23 09:06:40 EST 2008, filePath=D:\****\Music\SERVIIO TEST INDEX.mp3, fileSize=87383481, container=MP3, title=SERVIIO TEST INDEX]
2010-12-22 10:24:06,815 DEBUG [AudioService] Adding music track into database: SERVIIO TEST INDEX
2010-12-22 10:24:06,817 DEBUG [MusicAlbumDAOImpl] Finding a MusicAlbum (title = Unknown, artist=Unknown)
2010-12-22 10:24:06,826 DEBUG [AudioService] Album Unknown found, attaching the music track to it
2010-12-22 10:24:06,826 DEBUG [GenreDAOImpl] Reading a Genre (name = Other)
2010-12-22 10:24:06,826 DEBUG [GenreService] Genre Other found
2010-12-22 10:24:06,829 DEBUG [MusicTrackDAOImpl] Creating a new MusicTrack (title = SERVIIO TEST INDEX)
2010-12-22 10:24:06,844 DEBUG [MediaItemDAOImpl] Getting file of media item 3200
2010-12-22 10:24:06,844 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 3200) and extractor EMBEDDED
2010-12-22 10:24:06,913 DEBUG [PersonDAOImpl] Adding a Person Unknown to media item 16048 as ARTIST
2010-12-22 10:24:06,913 DEBUG [PersonDAOImpl] Reading a Person (name = Unknown)
2010-12-22 10:24:06,923 DEBUG [PersonDAOImpl] Checking if person 1 has a role ARTIST for media item 16048
2010-12-22 10:24:06,944 DEBUG [MediaItemDAOImpl] Getting file of media item 3201
2010-12-22 10:24:06,946 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 3201) and extractor EMBEDDED
2010-12-22 10:24:06,979 DEBUG [MetadataDescriptorDAOImpl] Creating a new MetadataDescriptor (type = EMBEDDED, mediaItemId = 16048)
2010-12-22 10:24:06,990 INFO [LibraryAdditionsCheckerThread] Added file 'SERVIIO TEST INDEX.mp3' to Library


So it's apparently added to the library, but is not fed to TV?

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Wed Dec 22, 2010 7:40 pm
by zip
So you can't get to it via Genres for example (Unknown)? This particular file has no album not artist.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Wed Dec 22, 2010 11:00 pm
by NRB
I don;t have any of them showing. I removed all that according to the "hack" http://forum.serviio.org/viewtopic.php?f=5&t=738&p=5670&hilit=folders+hack#p5670, as I find it all cluttered, and not how I use my players. I guess I'm an old school directory man, it's how my music is organised.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Wed Dec 22, 2010 11:43 pm
by zip
well there you go. the hack only displays videos in folder structure, not images or audio files.

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Wed Dec 22, 2010 11:46 pm
by NRB
Damn, I didn't realise when I implemented it in October! I thought it simply removed the guff and left me with my folder structure only!

Sorry to waste your time Petr!

Re: Sony KDL-32EX600 aspect ratio & music

PostPosted: Tue Jul 12, 2011 2:08 am
by NRB
zip wrote:Only mp3 and wma is supported ATM. Will look into the aspect ratio.


Hi Petr,

Since the update to 0.5.2 I've forgone the hack that prevented me from seeing music files etc., and I'm happy with the implementation of what to display - thanks!

Unfortunately a LOT of my video files are still incorrectly displayed on the Sony Bravia TV, they don't fill it but appear as per the picture in the first post of the thread. They're fine playing on my Pioneer 507 through PS3 filling the entire screen.