FAQ  •  Register  •  Login

Can't play music on Xbox 360 or WDTV Live

<<

billregal

Serviio newbie

Posts: 3

Joined: Thu Mar 20, 2014 7:54 pm

Post Thu Mar 20, 2014 8:13 pm

Can't play music on Xbox 360 or WDTV Live

Hello, ever since I updated to the latest Serviio release, I'm not able to play any music files on either of my devices (Xbox 360 & WDTV Live). I'm able to play videos just fine on both devices and while my music appears on both devices, they will not play. I also reinstalled Serviio but it still won't work.

I think I did the whole debugging and found the log correctly, but seeing as I'm barely computer literate, I can't make heads or tails of any of it and I'm not sure what is relevant to post here.
<<

snowflake7

User avatar

DLNA master

Posts: 120

Joined: Fri Nov 30, 2012 9:19 pm

Location: South Dakota USA

Post Fri Mar 21, 2014 3:47 am

Re: Can't play music on Xbox 360 or WDTV Live

Have the same issue.

All was working with v1.4.1. Upgraded to v1.4.1.1 and can't play any mp3s with WDTV Live. Servigo and Media Browser are fine. Symptoms: Using WDTV browser select a folder (album); select a mp3 file. It quickly scrolls thru each song and then reports that the files are not in an appropriate format consult the user manual for supported formats. These are the same files that I have been using for some time. There have been no firmware upgrades on the WDTV between v1.4.1 and v1.4.1.1. And none available or applied subsequently.

The attached log shows the start up of serviio, the attempt to play a folder of mp3s on the WDTV (which fails) and then playing a small snipet of a .mpg (works fine). I then shut down serviio.
Attachments
serviio.log
(272.71 KiB) Downloaded 273 times
Sony XBR55X850A | Synology DS412+ DS214Play DS918+| QNAP TS-451 | Buffalo TS3400D | VM 6.5 ESXi | Server 2016, Server 2012 | Samsung Note 9
Samsung s9 | Samsung Tablets | Onkyo TX-NR656 | Sony BDP-S3700 | Multiple Harmony Hubs | Multiple Echo Devices | Firesticks | Toshiba FireTV | Sling/AirTV
Lutron Lighting and Honeywell Environmental Bridges | Amcrest 1080p Cameras
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Mar 21, 2014 10:16 am

Re: Can't play music on Xbox 360 or WDTV Live

I have made the switch to Linux and installed 1.4.1.1 today. Videos play on Xbox 360, but no music. I'm getting the status code 19-04-80070032. I have compiled ffmpeg from the link on the Serviio download page. I installed lame and rtmpdump from Debian (stable) since these are similar versions. Is something broken in this release?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

billregal

Serviio newbie

Posts: 3

Joined: Thu Mar 20, 2014 7:54 pm

Post Fri Mar 21, 2014 12:53 pm

Re: Can't play music on Xbox 360 or WDTV Live

snowflake7 wrote:Have the same issue.

All was working with v1.4.1. Upgraded to v1.4.1.1 and can't play any mp3s with WDTV Live. Servigo and Media Browser are fine. Symptoms: Using WDTV browser select a folder (album); select a mp3 file. It quickly scrolls thru each song and then reports that the files are not in an appropriate format consult the user manual for supported formats. These are the same files that I have been using for some time. There have been no firmware upgrades on the WDTV between v1.4.1 and v1.4.1.1. And none available or applied subsequently.

The attached log shows the start up of serviio, the attempt to play a folder of mp3s on the WDTV (which fails) and then playing a small snipet of a .mpg (works fine). I then shut down serviio.


This happened for me as well. The WDTV Live just scrolls through the songs and says that the format isn't supported (when MP3 definitely is).

While I don't really understand anything to do with the log, it's clear that all the files in my music folder were added to the Serviio library, the files themselves just won't play.

grolschie wrote:I have made the switch to Linux and installed 1.4.1.1 today. Videos play on Xbox 360, but no music. I'm getting the status code 19-04-80070032. I have compiled ffmpeg from the link on the Serviio download page. I installed lame and rtmpdump from Debian (stable) since these are similar versions. Is something broken in this release?


As he said, I don't know if it has to do with Serviio or ffmpeg or something else. With the 360, you can see the music files but they are labelled with "no symbols" and will bring up an error message after a while. Initially I thought that it had to do with the latest podcasts I'd downloaded but ordinary songs that I've played on the console a billion times wouldn't work either. Xbox 360 can be a bit finicky with Serviio from my experience but my usual solutions of restarting Serviio, my computer, and my router resolved nothing. As I said, videos play just fine (or as well as they can on the 360), it's just the music that won't play.

I'm going to go back to v.1.4.0 but hopefully this can be sorted out for v1.4.1 and future releases.
<<

EsquireXII

Serviio newbie

Posts: 3

Joined: Sun Apr 21, 2013 4:00 pm

Post Fri Mar 21, 2014 2:31 pm

Re: Can't play music on Xbox 360 or WDTV Live

I have the same problem with WDTV when using Serviio. WDTV plays music fine when using Playon or my other media server programs with WDTV. So it is only serviio and it happened with 1.4.1.1. I don't get a message that says it cannot play the format, it just goes through each file and ends with the page down and page up arrows. I just pleased that it is not something that I did
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri Mar 21, 2014 7:55 pm

Re: Can't play music on Xbox 360 or WDTV Live

billregal wrote:... With the 360, you can see the music files but they are labelled with "no symbols" and will bring up an error message after a while. ...

I'm going to go back to v.1.4.0 but hopefully this can be sorted out for v1.4.1 and future releases.


I see the same symbols for music files. Please let us know if reverting to an earlier version solves this.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 21, 2014 11:57 pm

Re: Can't play music on Xbox 360 or WDTV Live

try 1.4.1.2, there was a typo in the mp3 profile name :roll:
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sat Mar 22, 2014 2:13 am

Re: Can't play music on Xbox 360 or WDTV Live

Thanks zip. However, after downloading 1.4.2.2, running and adding files to library. After restarting, serviio exits leaving this in the log:

  Code:
014-03-22 14:59:25,526 INFO  [ServiioConsole] Initializing Serviio Console
2014-03-22 14:59:25,556 INFO  [ServiioConsole] Starting Serviio Console
2014-03-22 14:59:26,367 INFO  [ServiioConsole] Connecting to Serviio REST on localhost:23423
2014-03-22 14:59:30,805 WARN  [ServiioConsole] Cannot connect to the server to get DB initialization info
2014-03-22 14:59:34,830 WARN  [ServiioConsole] Cannot connect to server: Connection Error (1000) - Connection refused
2014-03-22 14:59:34,843 INFO  [Messages] Loaded console message bundle for locale: en
2014-03-22 14:59:37,842 INFO  [ServiioConsole] Exitting Serviio Console
2014-03-22 14:59:55,104 INFO  [MediaServer] ------------------------------------------------------------------------
2014-03-22 14:59:55,106 INFO  [MediaServer] Serviio DLNA media streaming server v 1.4.1.2 (rev. 3753eff81a2f+)
2014-03-22 14:59:55,106 INFO  [MediaServer] Petr Nejedly 2009-2014
2014-03-22 14:59:55,106 INFO  [MediaServer] http://www.serviio.org
2014-03-22 14:59:55,106 INFO  [MediaServer]
2014-03-22 14:59:55,106 INFO  [MediaServer] Java 1.6.0_27-Sun Microsystems Inc.
2014-03-22 14:59:55,107 INFO  [MediaServer] OS Linux i386 3.2.0-4-686-pae
2014-03-22 14:59:55,107 INFO  [MediaServer] File encoding: UTF-8
2014-03-22 14:59:55,107 INFO  [MediaServer] Headless mode enabled: true
2014-03-22 14:59:55,108 INFO  [MediaServer] User: serviio
2014-03-22 14:59:55,108 INFO  [MediaServer] User home dir: /home/pc5dczcbl5yt
2014-03-22 14:59:55,108 INFO  [MediaServer] Temp dir: /tmp
2014-03-22 14:59:55,108 INFO  [MediaServer] ------------------------------------------------------------------------
2014-03-22 14:59:55,348 INFO  [WebServer] Socket buffer set to 65535 bytes
2014-03-22 14:59:55,352 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2014-03-22 14:59:55,426 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2014-03-22 14:59:55,427 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2014-03-22 14:59:55,449 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2014-03-22 14:59:55,468 INFO  [DatabaseManager] Using DERBY database language
2014-03-22 14:59:55,978 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:620)
   at java.sql.DriverManager.getConnection(DriverManager.java:222)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)
Caused by: java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 20 more
Caused by: java.sql.SQLException: Directory /media/ntfsdrive/serviio/library//media/ntfsdrive/serviio/library/db already exists.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   ... 17 more
Caused by: ERROR XBM0J: Directory /media/ntfsdrive/serviio/library//media/ntfsdrive/serviio/library/db already exists.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   ... 17 more
2014-03-22 14:59:57,987 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null
java.lang.NullPointerException
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:59)
   at org.serviio.MediaServer.main(MediaServer.java:116)


So instead, I will try 1.4.1.1 but editing the profiles.xml:

replace:
<MediaFormatProfile mime-type="audio/1.4.1.1-SNAPSHOTmpeg">MP3</MediaFormatProfile>
with:
<MediaFormatProfile mime-type="audio/mpeg">MP3</MediaFormatProfile>

I'm not sure why 1.4.1.2 isn't crashing out like this for me.

UPDATE: Restarted PC and Serviio is running with 1.4.1.1 and the mod to the profiles.xml.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sat Mar 22, 2014 2:39 am

Re: Can't play music on Xbox 360 or WDTV Live

Videos and MP3's now play on the Xbox using 1.4.1.1 and modified profiles.xml file. However, iTunes .m4a (AAC) files won't play though:

  Code:
2014-03-22 15:35:38,400 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
creation_time   : 2027-07-11 14:25:11
Stream mapping:
Stream #0:1 -> #0:0 (mjpeg -> ?)
Stream #0:0 -> #0:1 (aac -> ?)
Encoder (codec none) not found for output stream #0:0
2014-03-22 15:35:48,290 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:49)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:134)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:110)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:151)
   at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:121)
   at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
   at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:132)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:81)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:196)



Output of ffmpeg -i:
  Code:
ffmpeg -i ../iTunes/Music/John\ Goulart/Aranjuez/02\ Concierto\ de\ Aranjuez\ _\ II.\ Adagi.m4a
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 22 2014 13:53:00 with gcc 4.7 (Debian 4.7.2-5)
  configuration:
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9becdc0] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9becdc0] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../iTunes/Music/John Goulart/Aranjuez/02 Concierto de Aranjuez _ II. Adagi.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2027-07-11 14:25:11
    title           : Concierto de Aranjuez : II. Adagio
    artist          : John Goulart
    album_artist    : John Goulart
    album           : Aranjuez
    genre           : Classical
    track           : 2/10
    disc            : 1/1
    gapless_playback: 0
    date            : 2009-12-17T08:00:00Z
    copyright       : ℗ 2009 Independent
    media_type      : 1
  Duration: 00:11:04.58, start: 0.000000, bitrate: 273 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 265 kb/s
    Metadata:
      creation_time   : 2027-07-11 14:25:11
    Stream #0:1: Video: mjpeg, yuvj444p, 600x600 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified


zip, is this enough info, or is detailed logging needed?
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Mar 22, 2014 11:17 am

Re: Can't play music on Xbox 360 or WDTV Live

yes, detailed log of playing the file.

Re 1.4.1.2 - not sure, it looks like the db file is write protected or held by another Serviio process?
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sat Mar 22, 2014 12:16 pm

Re: Can't play music on Xbox 360 or WDTV Live

Thanks, zip. Please forget about the .m4a problem. I didn't realize that I needed --enable libmp3lame when going through the process of compiling FFMPEG. Xbox 360 transcodes them to MP3. :oops: Our TV can play both file types natively, so I thought it was something Xbox related.

And now that you mention, possibly my file permissions could be at fault with my 1.4.1.2 install.

Sorry about all that, zip. :oops:
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

billregal

Serviio newbie

Posts: 3

Joined: Thu Mar 20, 2014 7:54 pm

Post Sat Mar 22, 2014 5:16 pm

Re: Can't play music on Xbox 360 or WDTV Live

grolschie wrote:
billregal wrote:... With the 360, you can see the music files but they are labelled with "no symbols" and will bring up an error message after a while. ...

I'm going to go back to v.1.4.0 but hopefully this can be sorted out for v1.4.1 and future releases.


I see the same symbols for music files. Please let us know if reverting to an earlier version solves this.


Yes, it worked.

Forgive my ignorance, but grolschie's posts have confused me. Does the latest Serviio version crash? I'd like to be up to date, especially if the MP3 typo has been fixed (cheers), but if that's the case, I'll just stick with the version that works for me (v.1.4.0).
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sat Mar 22, 2014 9:49 pm

Re: Can't play music on Xbox 360 or WDTV Live

Hello. I would think that 1.4.1.2 should be good to go. Possibly the only introduced problem with 1.4.1.1 in this particular scenario was the MP3 line in the profiles.xml file. Problems at my end confused me, as one of them seemed to be related to this problem - and also possibly I didn't set my file permissions correctly with 1.4.1.2. Anyways, I briefly ran 1.4.1.2 binary just now and it ran and I could see the mediabrowser. Sorry for the confusion.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 59 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.