<peterm6881>
I emailed it to you. Interestingly, i actually use mplayer for Paradise
<peterm6881>
mpg123 was for the ICE streams
<peterm6881>
and none of my urls actually use vlc, although i install it. It might have been for W.O.L.D The Renegade, from Marion Virginia. They went off the air permanently
<Xogium>
ah
<peterm6881>
Harry Chapin wrote a famous song about the station
<peterm6881>
Unfortunately Harry, like the station, is also dead. Its a great record though
<Xogium>
buildroot has mpv which seems to be marginally better than vlc in terms of how its packaged
<Xogium>
mpv being the actual successor of the now dead mplayer
<peterm6881>
lol its still in the Debian repos
<Xogium>
oh yeah, its still in arch too… Just no longer maintained I believe
<peterm6881>
interesting
<peterm6881>
i see i needed mpc and mpd at one point.....
<peterm6881>
no recollection why
<peterm6881>
what you find it that some streams will play with with one player but not others, hence i needed a collection. But vlc with the appropriate additional codecs could maybe have got there. What about just using Chromium?
<Xogium>
you don't have a display though, do you ?
<peterm6881>
There was some other issue with vlc, even for the urls i still use................something to do with jumping or skipping...best avoided
<peterm6881>
noooo
<Xogium>
you'd also need a mouse and keyboard unless you have a touchscreen lcd panel
<peterm6881>
just OPi0 in a standard expansion case
<peterm6881>
ok a misunderstanding on my part, i thought you were just using its codecs
<Xogium>
no no
<Xogium>
the touchscreen is required otherwise Simon couldn't control the playback
<peterm6881>
im only using 2, mpg123 or mplayer
<peterm6881>
if you have one that can play both, great
<Xogium>
mpv should be able to do that… But you will have the same issue with random disconnects
<peterm6881>
theres stuff about modifying mpc, thats obsolete since i dont use it any more
<Xogium>
unless there'd be a way I can run mpv when you press the user button
<peterm6881>
mpd i meant , theres a typo there
<Xogium>
but I don't like how the user button was placed on the odyssey board, too cloe to the power button imo
<peterm6881>
na just power is all i need
<peterm6881>
so i can , ummm... switch it off ;)
<Xogium>
yeah but meh, its annoying to have to constantly reboot the board at every tiny disconnect
<peterm6881>
yeah surely theresa player that doesnt do that
<peterm6881>
theres a
<Xogium>
well, most players do that, because they simply time out
<Xogium>
but you can usually just restart the playback… Except that, its not doable without a keyboard
<peterm6881>
i thought it was the infamous xr819 untill i realised there wasa pattern to it, contention on the bandwidth
<peterm6881>
its never cut out while ive been listening to it, but restarting the player with the user button is a logical idea
<peterm6881>
but not important, at all
<peterm6881>
do you think you could throw something together that pretty much replicates what I did there, minus the redundant tweaks and apps
<peterm6881>
would be nice to use the Odyssey
<Xogium>
yeah probably
<peterm6881>
I know if i get rid of it, I'll wish I hadn't some day. But its wasted at the minute
<Xogium>
yeah I reckon I could most likely make that work
<Xogium>
and give you a way to access it over ssh so you can just dd the keyboard shortcut to skip between the url
<Xogium>
er do
<Xogium>
not dd lol
<peterm6881>
tell you what, a similar defconfig for the MangoPi-R3c would be very interesting. Since it has an amplified audio output for a direct speaker connection....
<peterm6881>
No WiFi though....forget that
<peterm6881>
:)
<Xogium>
I was about to say that
<peterm6881>
skipping through the urls would be a better use of the user button...
<peterm6881>
lol cant win em all
<peterm6881>
only problem is whithout a display, no way of knowing which obne you're actually playing lol
<peterm6881>
without
<peterm6881>
one, ffs
<peterm6881>
meh, ssh is fine. I use Juice ssh on my phone
<Xogium>
hmmm I don't know if I could control mpv with that button
<peterm6881>
mpv is half the size of mplayer but 4 times the size of mpg123
<peterm6881>
2480 KB
<peterm6881>
the arch version might be a bit more ;)
<peterm6881>
:)
<peterm6881>
ICY stream no problem, nice
<peterm6881>
in other words, MP3
<peterm6881>
plays KRML from Carmel, California. Thats the station that featured in Play Misty For Me, Clint Eastwood played a DJ
<peterm6881>
thats AAC
<peterm6881>
BBC HD plays ok, thats AAC but at 48000 Hz
<peterm6881>
flac ok
<peterm6881>
out fucking standing
<peterm6881>
im seriously impressed by mpv
<peterm6881>
Brilliant Xogium
<Xogium>
actually no surprise there ;) it uses ffmpeg for decoding audio
<peterm6881>
interestingly, they are all 44100 Hz, except the BBC stream, which is 48000 Hz
<peterm6881>
thats BBC Radio 2 in the UK
<peterm6881>
how did I not know about mpv...
<peterm6881>
its a thing of beauty
<peterm6881>
it plays all my lovely streams, so thats our player
<Xogium>
if you give it a file with a list of url it should add all of them as a playlist
<Xogium>
then you can cycle between radios using > and <
<peterm6881>
sweet
<peterm6881>
sounds great on the Sony headphones, I can only dream what it sounds like on your Beyers
<Xogium>
one url per like should do it
<Xogium>
er per line
<peterm6881>
WSM AM is the radio station of the Grand Ole Opry, Nashville Tennessee
<peterm6881>
but ive never actually stayed up till 3am to hear it broadcast live
<peterm6881>
Started by the National Life and Accident Insurance Company in 1925, WSM has been one of the most influential and exceptional radio stations in the history of broadcasting and country music. ... They chose the call letters “WSM” to reflect National Life's motto: 'We Shield Millions
<Xogium>
hmm
<peterm6881>
what can I say, i loved the radio as a child. It never insulted me
<Xogium>
yep I confirmed, if you give mpv a list of urls one per line, it will add all of them and you can cycle between those
<peterm6881>
niceness :)
<peterm6881>
this is how internet radio SHOULD be done
<Xogium>
well yes and no… If your connection explodes it will quit
<peterm6881>
would there be a famous radio station in Canada or France?
<peterm6881>
we could add
<Xogium>
no idea, I haven't bothered with radio in years. Most modern music is trash
<peterm6881>
Behind every beautiful thing, there's been some kinda pain
<peterm6881>
some lyrics glow like burning coals
<peterm6881>
I aint looking for nothing, in anyones eyes
<peterm6881>
this record touched me somewhere i didnt know was a place
<peterm6881>
anyway, im being a bore. Ok back down to earth
<Xogium>
hm well if he did, then why hasn't he commented in the discussion I opened ?
<peterm6881>
no indeed. He's probably thinking wtf, they want me to do ALL the work lol
<Xogium>
hell no, if I did think that, I wouldn't have bothered with the discussion let alone giving ideas
<peterm6881>
but we've made a statement, hopefully he'll take the bait and do what needs to be done, if he wants to sell any R£C's
<peterm6881>
R3C's
<peterm6881>
besides, maybe he chills on the weekends
<Xogium>
yeah, I guess so
<Xogium>
I don't have work or anything so weekends barely matter to me
<peterm6881>
also, its the Chinese New Year. They party for like a fortnight
<peterm6881>
anyway sorry for being a music bore
<peterm6881>
its very bad manners
<Xogium>
nah its fine, I was actually listening to it, washing the dish
<peterm6881>
those guys say stuff i wish id said
<peterm6881>
they certainly sing how i feel
<peterm6881>
you have speakers too?
<peterm6881>
it would not be cool for the Beyers to be dipped in dish water
<Xogium>
hmm tiny usb speakers yeah
<peterm6881>
Gonna have to sort you out with a decent set of speakers
<peterm6881>
which are the best?
<Xogium>
no idea… I don't us speakers often, unless I have to move away from the computer
<Xogium>
so they don't really matter to me
<peterm6881>
which model of RPi is the Seeed Odyssey compatible with hardware wise?
<Xogium>
hmm not sure
<peterm6881>
i wanna order a case
<Xogium>
let me find the one I ordered
<peterm6881>
have you a link for the sandwish one you got?
<peterm6881>
sandwich
<Xogium>
yeah
<Xogium>
let me find it again
<peterm6881>
could be Pi3 or a Pi4
<peterm6881>
they may even be the same
<peterm6881>
im fairly confident they have the same dimensions
<peterm6881>
and screw mounting holes
<peterm6881>
itll be a Pi 3 case
<peterm6881>
they have the acryllic sandwich types for Pi 3, but not it appears for the Pi 4, even though the mounting holes are in the same place. I can only find box enclosures for the Pi 4
<peterm6881>
did you have to whack a piece of acryllic off to get at the reset button?
<peterm6881>
mpv irc suggested adding the commands to ~/.bash_profile
<peterm6881>
the guy said that doesnt require autologin
<peterm6881>
so is ~/.profile different to ~./profile in that way
<Xogium>
I don't see how that wouldn't require autologin given bash profile is read when you log in…
<peterm6881>
obviously i fucked up that question
<Xogium>
my case has the single fan it came with mounted on top, yes
<Xogium>
temp1: +37.5°C (crit = +120.0°C)
<peterm6881>
ive queried what he was saying about autologin
<peterm6881>
perhapso you should jump in the channel
<peterm6881>
perhaps *
<Xogium>
hmm
<peterm6881>
~/.profile it is then
<peterm6881>
do you accept ffmpeg dictates behaviour when the stream is interrupted?
<Xogium>
well we kind of don't have a choice
<peterm6881>
you would think there would be some way around that, but given the number of shops ive walked into and the big stupid pointless advertising screen says "media player has stopped working", its not surprising
<peterm6881>
they are all live streamed
<peterm6881>
theres a ton of scripts for mpv
<peterm6881>
its a great player
<peterm6881>
im annoyed i didnt know about it
<peterm6881>
so, in summary, we just need mpv, with a playlist, and an autologin user account
<peterm6881>
agreed?
<peterm6881>
bingo
<Xogium>
yeah sounds okay to me
<peterm6881>
we'll worry about interrupted streams another time. That would be a cool thing to fix, a script which handles interruptions
<peterm6881>
most players have that problem
<peterm6881>
why they dont build that kind of handing into players I dont know. Live streaming is everywhere
<peterm6881>
Netflix must have it, could be just a shit load of buffering i suppose
<peterm6881>
remember buffering :)
<peterm6881>
its dumb that it times out
<Xogium>
yeah ffmpeg does that
<peterm6881>
lol im not going near their irc channel :)
<peterm6881>
lets just deal with the reality we have
<Xogium>
yeah I tried the reload script… It doesn't work once ffmpeg gave up on the stream
<Xogium>
I think they don't care about resuming playback automatically. Simply put, most player give you a gui, you can just restart playback like that with them
<Xogium>
but mpv doesn't do that unless you add a keybinding and prevent it from exitting at the slightest error
<Xogium>
for my own use case it's not a big deal if the internet goes out… Simon can just tap the play icon again in chromium and off it goes
<peterm6881>
its an interesting challenge for an internet radio. I think the Pure Contour used buffering
<peterm6881>
could we do something on that?
<Xogium>
how so ?
<peterm6881>
no idea :)
<Xogium>
I'm not sure what you mean
<peterm6881>
its like anti skip for portable cd players. They use to load so many seconds of content into memory and play from that. If there was an interruption from the read head, it would load stored content to avoid skipping
<peterm6881>
typicall about 6 seconds worth
<peterm6881>
typically
<peterm6881>
id love to be able to type, but since you cant either i dont feel so bad ;)
<peterm6881>
im teasing!
<Xogium>
yeah mpv is supposed to buffer stream, but ffmpeg simply gives up on it after one minute
<peterm6881>
to be fait, 1 minute is a lot
<peterm6881>
fair
<Xogium>
yeah
<peterm6881>
actually thats quite impressive. If its gone after a minute, its probably not coming back any time soon, on balance
<peterm6881>
so yeah, dont worry about it. It great knowledge, thanks for that
<peterm6881>
also, with a power button I wont be leaving the device on all the time, so I probably wont ever even notice if there was an outtage
<peterm6881>
its only cos the OPi0 is on 24/7
<peterm6881>
and even then, its a minor inconvenience
<peterm6881>
if it ever happens while im listening, ill just hit rst
<peterm6881>
on the Odyssey
<peterm6881>
im gonna go out for a walk, give you peace. Wish you were coming with me
peterm6881 has quit [Remote host closed the connection]
<peterm6881>
cool, wifi enabled. your knowledge of this board is priceless
<peterm6881>
thank you
<Xogium>
that would just install the kernel headers required to compile dt overlays or kernel modules that are out of tree
<peterm6881>
success, back on wifi
<peterm6881>
go you
<Xogium>
hopefully the broadcom chip doesn't misbehave with your router
<peterm6881>
tells you to git clone, and git isnt in their image
<peterm6881>
u gotta laugh
<peterm6881>
theresa built in wifi antenna isnt there?
<peterm6881>
theres a
<Xogium>
hmm yeah I reckon so
<peterm6881>
i notice theres ant 1, which looks like a chip, and ant 2, which is a socket, like the OPi0
<Xogium>
I just had no luck with the chip, just as I had none with the st dev kit. They both use a broadcom wifi/bluetooth based module
<Xogium>
and for whatever reason my AP dislikes them both
<peterm6881>
lol broadcrap as you say
<peterm6881>
your odyssey is on wired lan right?
<Xogium>
yea
<peterm6881>
they tell you to make, and make isnt in their build
<peterm6881>
you gotta laugh
<Xogium>
but it sure wasn't the signal strength being a problem here. Even if it has an antenna socket I could have used, the fact the st dev kit had a -37 dbm signal and still managed to get randomly disconnected because of that chip shows it wouldn't have mattered
<peterm6881>
yeah nothing changed about failure to make that stupid audio overlay
<peterm6881>
meh
<Xogium>
you don't need it
<peterm6881>
i know, its just annoying ;)
<Xogium>
and nop sure changing the dtb won't make it magically work