Giter Site home page Giter Site logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Umm... DSF/DFF? What are these?

Does the song duration/progress appear for other MPD clients?

Original comment by [email protected] on 13 Aug 2012 at 9:27

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Those are ripped SACD files.
You can download free samples at http://www.2l.no/hires/index.html
ncmpc works fine as attached with MPD 0.18git.

Original comment by [email protected] on 13 Aug 2012 at 9:47

Attachments:

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
So, do other file types work ok? ie do the durations/progress appear for MP3 
files with MPD 0.18git?

Which version of ncmpc is this? Is it a release version?

Original comment by [email protected] on 13 Aug 2012 at 9:56

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Other files are fine as well and I'm using ncmpc 0.17 which is included in 
Ubuntu 12.04.

Original comment by [email protected] on 13 Aug 2012 at 10:00

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
My guess is that Cantata thinks these files are streams, and therefore disables 
the progressbar.

Can you edit mpd/mpdconnection.cpp and change (about line 41) from:

---------------8<------------------

// #define DBUG qWarning() << "MPDConnection" << QThread::currentThreadId()
#define DBUG qDebug()

---------------8<------------------

to:

---------------8<------------------

#define DBUG qWarning() << "MPDConnection" << QThread::currentThreadId()
// #define DBUG qDebug()

---------------8<------------------

And the recompile Cantata. When you restart Cantata, it will logs *lots* of 
debug. Please play the DFF, file, the in the Cantata debug you should see 
something like:

---------------8<------------------

MPDConnection 2905250624 0xa089248 sendCommand: "currentsong" true true 
MPDConnection 2905250624 0xa089248 Waiting for read data. 
MPDConnection 2905250624 0xa089248 Read: "file: A.S.A.P./Silver And Gold/01 The 
Lion.mp3
Last-Modified: 2012-06-07T07:43:16Z
Time: 234
Artist: A.S.A.P

---------------8<------------------

Where the file/song details should be that of you DFF file. Can you send me 
this section? (e.g. the parts after 'sendCommand: "currentsong" true true')

Original comment by [email protected] on 13 Aug 2012 at 10:04

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
MPDConnection 2925321024 0x966a770 sendCommand - sent 
MPDConnection 2925321024 0x966a770 sendCommand: "currentsong" true true 
MPDConnection 2925321024 0x966a770 Waiting for read data. 
MPDConnection 2925321024 0x966a770 Read: "file: 
cPlay/Etc/2L50SACD_tr1_DSD_stereo.dff
Last-Modified: 2008-03-31T10:27:30Z
Pos: 20
Id: 20
OK
" 
MPDConnection 2925321024 0x966a770 sendCommand - sent 


Original comment by [email protected] on 13 Aug 2012 at 10:17

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Ah, so there are no song details - no artist, album, and no 'Time'? This is 
what is probably causing the issue.

Seeing as I cant access git from here, could you email me you're pre-compiled 
(32-bit) mpd?

Original comment by [email protected] on 13 Aug 2012 at 10:26

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
No artist, album but time I think since I can see the time at ncmpc.
Please find the attached file for my humble mpd.
Thanks for your support as always!

Original comment by [email protected] on 13 Aug 2012 at 10:30

Attachments:

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
Thanks for the MPD build.

Strange, but this works for me - using the folders list I can add 
2L-056_stereo_01_01.dff to my play queue, the song plays, and the 
duration/position IS updated.

However, the MPD seems a bit 'flakey' - after a while all communication seems 
to fail. And even using just 'mpc' hangs.

Original comment by [email protected] on 13 Aug 2012 at 10:57

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
This is a pre-release, development version of MPD. And as I stated above, it 
seems to work for me. In tour output MPD was not sending cantata a 'Time', 
therefore cantata cannot no the duration, etc - so cant display this.

Original comment by [email protected] on 21 Aug 2012 at 9:18

  • Changed state: Invalid

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I see however song duration for DSF as already added to the official 0.7.1 
release.

Original comment by [email protected] on 21 Aug 2012 at 10:02

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024
I tried again and it works fine. It's indeed 'invalid'.

Original comment by [email protected] on 21 Aug 2012 at 10:22

from cantata.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 22, 2024

Original comment by [email protected] on 21 Aug 2012 at 10:27

Attachments:

from cantata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.