Skip to content

u/Jam0864

In this archive from Jun 2013 to Aug 2025

5
posts
52
comments
0
media
114
score

Interesting.

mpd on success:

player: played "Elysian/2012 - Wires Of Creation/11. A Cry From The Helplessness.mp3"
output: closed plugin=alsa name="default detected output"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "playid "25""
playlist: play 24:"Elysian/2012 - Wires Of Creation/11. A Cry From he Helplessness.mp3"
client: [0] command returned 0
playlist: queue song 25:"Elysian/Unknown Album/00 - Conquest.mp3"
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "stop"
playlist: stop
decoder_thread: probing plugin mad
player: played "Elysian/2012 - Wires Of Creation/11. A Cry From The Helplessness.mp3"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1

mpd on failure:

playlist: play 28:"Elysian/Unknown Album/00 - The Machine.mp3"
client: [0] command returned 0
playlist: queue song 29:"Slice the Cake/Slice The Cake 2012 - The Man With No Face/01 - Intro.mp3"
client: [0] process command "idle"
client: [0] command returned 1
decoder_thread: probing plugin mad
decoder: audio_format=48000:24:2, seekable=true
client: [0] process command "status"
alsa_output: opened default type=PLUG
alsa_output: format=S24_LE (Signed 24 bit Little Endian)
alsa_output: buffer: size=97..190217 time=2020..3962855
alsa_output: period: size=48..95109 time=1020..1981429
alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
alsa_output: Failed to open "default detected output" [alsa]: Error opening ALSA device "default" (snd_pcm_hw_params): Invalid argument
output: Failed to open audio output
player: problems opening audio device while playing "Elysian/Unknown Album/00 - The Machine.mp3"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1
client: [0] process command "status"
client: [0] command returned 0
client: [0] process command "idle"
client: [0] command returned 1

mpg123 on success: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.22.1; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: media/Music/Elysian/2012 - Wires Of Creation/
Playing MPEG stream 1 of 1: 01. Man's Design.mp3 ...

MPEG 1.0 layer III, 192 kbit/s, 44100 Hz joint-stereo
Title:   Man's Design                    Artist: Elysian
Comment:                                 Album:  Wires Of Creation
Year:    2012                            Genre:  Melodic Death Metal
^C
[0:03] Decoding of 01. Man's Design.mp3 finished.

mpg123 on failure: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.22.1; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: media/Music/Elysian/Unknown Album/
Playing MPEG stream 1 of 1: 00 - Conquest.mp3 ...

[alsa.c:118] error: initialize_device(): cannot set hw params

[audio.c:643] error: failed to open audio device

[mpg123.c:547] error: failed to reset audio device: Success

One thing I'm noticing is that ncmpcpp is not displaying track numbers for tracks that don't work... will look into it when I get a chance. EDIT: I added a track number to the tags, it was just a coincidence. ncmpcpp now shows the track numbers.

1 points

file <filename> does output "Audio file with ID3..."

ffmpeg on a song that works produces a song that works. ffmpeg on a song that doesn't work produces a song that also doesn't work. Again both versions will work in VLC. Strange. I'm even more lost in that case, but it sounds like you may have been expecting that? Hopefully...

1 points

Should have mentioned:

  • The files play fine in VLC
  • Often the offending files are all part of one album, which makes me think they're all likely of the same format.

I didn't think of the names. They don't appear to be weird. I just tested some other files with the same symbols in the name (mainly dashes, underscores, spaces) and there's some examples of each of those working. Names could definitely feasibly break it, but it's not in this case.

1 points

I mentioned that, but it may not have been clear, sorry. The ones I've noticed are mp3 files, but most mp3 files will play fine; it's only particular mp3 files. Is there a command I can run on these files to get more information and try and establish a pattern?

1 points

They'll have separate IP addresses, so that would require some serious magic.

You could possibly have a background download running on one while browsing the web on the other or something though. Configure different applications to work through different interface. Don't know how to configure it, though it is likely possible.

1 points

I left the stock bios, didn't see the point in taking it apart and flashing it just to avoid pressing Ctrl+l on boot. Setup is similar to other laptops, chrome os specific stuff at the start was dead simple, about 5 minutes worth, then installation went as normal. You do need linux-mainline-chromebook from the aur to get the touchpad working. Sound and horizontal scroll required simple config options. I used sxhkd to bind the backlight and volume keys. There's a detailed article on the model on the arch wiki, as it's very popular. Overall very easy setup, but slightly more involved than my old lenovo.

1 points

I have a similar use case. My solution isn't perfect but works well enough.

All my work is in Dropbox and NixNote. I keep a list of packages installed and my config files in a git repository, so I can make modifications and pull them when I want them on other computers. I use BTSync to sync my larger files, such as my music collection. BTSync is P2P and I use it on my LAN so it doesn't tax my internet connection as much, but it does require both machines to be on concurrently so I don't use it for everything.

1 points

You're right, powerpill turned out to be arduous. I ended up ditching it and just using pacserve. I have four arch machines in my household and a slow internet connection, so it's very helpful.

Also, pacmatic adds a large delay while it checks for news on every operation. I wrongly assumed it'd only be on an -Syu.

As a result, I ended up just adding Include = /etc/pacman.d/pacserve to all of my repositories in /etc/pacman.conf to force pacman to use pacserve.

It is still useful to have pacmatic call pacaur, as I can do a full system upgrade in one shot, but it's too slow to use all the time.

Thanks for your help!

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.