peterm6881 has joined #Speedsaver
<peterm6881> the last one is Naim's own HD audio stream, to showcase their High Res equipment
<peterm6881> the BBC one spams errors in mplayer, but it works. mpv doesnt have those errors streaming bbc, but its too unstable generally
<peterm6881> feel free to add any of your own preferences
<Xogium> looks like I will have to port mplayer to buildroot as well as port a autologin solution
<peterm6881> Enable autologin account:
<peterm6881> sudo cp /lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyS0.service
<peterm6881> ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM
<peterm6881> change the line
<peterm6881> sudo nano /etc/systemd/system/serial-getty@ttyS0.service
<peterm6881> to
<peterm6881> ExecStart=-/sbin/agetty --autologin admin --noclear --keep-baud 115200,38400,9600 %I $TERM
<peterm6881> sudo ln -s /etc/systemd/system/serial-getty@ttyS0.service /etc/systemd/system/getty.target.wants/ (may exist!)
<peterm6881> sudo systemctl daemon-reload
<peterm6881> sudo systemctl start serial-getty@ttyS0.service
<peterm6881> sudo systemctl enable serial-getty@ttyS0.service
<peterm6881> sudo systemctl start serial-getty@ttyS0.service
<peterm6881> this is how I enable autologon in Armbian
<peterm6881> admin is the name I gave the sudo account Armbian forced me to create at the start
<Xogium> right but having this isn't a smart idea
<peterm6881> you may prefer to create a simple user account instead
<Xogium> it means people will never be able to login over serial to look how the system runs
<Xogium> and also solves why you cannot control your player
<peterm6881> yup thats fine, create a user account
<peterm6881> im pretty dumb, i can only do so much ;)
<Xogium> your player runs on the serial tty. If you want to control it, you have to use uart
<peterm6881> ohh
<peterm6881> make it so
<Xogium> so that explains why your control via keyboard doesn't work
<peterm6881> i must look into the playlist command in mplayer, i only tinkered with the playlist command in mpv, and reverted to editing profile
<peterm6881> excellent knowledge Xogium
<peterm6881> thanks for that, that always annoyed the crap out of me, because we can get little stripped down keyboards
<Xogium> the proper way to auto login is to install some software that can be configured properly to do this for you
<Xogium> so either way I need to port 2 things to buildroot
<Xogium> though make that 3
<peterm6881> spi that allwinner tested on the V3s
<peterm6881> not that it matters
<Xogium> I need an actual network manager to handle the network access
<peterm6881> makes sense :)
<peterm6881> have fun!
<peterm6881> I musty look up the keyboard commands for mplayer
<peterm6881> must
<Xogium> that's 5 or 6 mb of ram eaten there, need also to know how much ram mplayer can consume, need to install wpa_supplicant which will be 3 or 4 mb additional
<peterm6881> bear in mind we can strip some speedsaver stuff out right?
<Xogium> well, there's just navit to strip
<Xogium> navit and the ssd1306 oled thingy
<peterm6881> rest in peace navit
<peterm6881> no leave the oled driver
<Xogium> what for ?
<peterm6881> its likely we will want that, if people play icy streams
<peterm6881> to scroll whats playing, or at least the url
<peterm6881> sc6502 will have NO trouble with that
<Xogium> hmm
<peterm6881> we arent using it YET
<Xogium> then in that case what we'd want is direct framebuffer support in linux
<peterm6881> but its an obvious progression, since it would do that job fantastically well
<Xogium> otherwise we cannot do this, sc6502 would need to fork mplayer to add the oled lib support
<peterm6881> are you sure someone hasnt forked it already?
<Xogium> I doubt very much someone would have forked it to add exactly this specific library
<peterm6881> if you are confident we can achieve the same thing through the framebuffer, then go ahead and didtch the ArduiPi_oled driver
<peterm6881> ditch
<Xogium> besides the oled is so tiny that most url would be cut off
<peterm6881> no no, it woill scroll
<peterm6881> will
<Xogium> but it would display the entire mplayer interface
<Xogium> or try to
<peterm6881> it would be a thing of beauty. Alternatively, we can go across 2 lines
<peterm6881> i think just leave the driver in, its lean
<Xogium> but I don't know how framebuffer works at all on f1c200s, hell, I don't even know if its supported
<peterm6881> because having framebuffer scroll sounds difficult or maybe impossible
<peterm6881> whereas sc6502 already did it with our screensaver
<Xogium> but the driver would be useless unless mplayer knows how to use it
<Xogium> the only reason navit uses the oled in the first place is because Pierre's modified the code for this
<peterm6881> we know the driver and the SSD1306 controller supports it
<peterm6881> sc6502 is pretty familiar with the driver
<peterm6881> it wont do any harm to leave it in place
<Xogium> true, but that would require maintaining our own darn fork of mplayer
<peterm6881> even if we dont use it
<peterm6881> we arent implementing anything with it just yet, or even planning to
<peterm6881> but id include it in our build, people can go off and play with it
<Xogium> well 2 minutes ago you wanted to display the url of the currently playing stream so
<peterm6881> you're mistaking a wishlist with an instruction
<Xogium> besides no they can't play with it, its just a lib
<peterm6881> WE arent doing that
<peterm6881> no but it gives them the idea
<Xogium> they would need to rebuild the system for themselves, with their code using that library, and the code of that library in the first place
<peterm6881> yup
<peterm6881> its not doing our build any harm, just leave it there
<Xogium> so you want us to maintain a fork of mplayer just so it can use the oled ?
<peterm6881> ffs
<peterm6881> we are not gonna implement anything on an oled display at this stage
<peterm6881> we just need a simple streamer, but i reserve the right to revisit this idea
<Xogium> well you're confusing me because you said that earlier
<Xogium> so sorry if I'm confused and didn't follow
<peterm6881> yes i said what it could do, that wasnt an instruction
<peterm6881> <peterm6881> its likely we will want that, if people play icy streams
<peterm6881> <peterm6881> to scroll whats playing, or at least the url
<peterm6881> ok i admit i wasnt clear. Let me be clear, we arent in any way developing that idea at this stage
<Xogium> kay, right
<peterm6881> But leave the driver in our build, it indicates what we were considering
<peterm6881> its doesnt need Python , its lean and versatile, and sc6502 has touched it. So at some point, we may think about it again.
<peterm6881> but for now, we just need a simple streamer
<peterm6881> ;)
<Speedsaver> Title: 79 Keyboard Shortcuts for MPlayer (at www.keyxl.com)
<peterm6881> seems to be the same as mpv, but that wasnt my experience. Im gonna double check it now
<peterm6881> mplayer -playlist playlist.txt
<peterm6881> thats actually simpler than mpv --playlist=playlist.txt
<peterm6881> more intuitive
<Xogium> I don't see any difference really
<peterm6881> you'd never guess mpv needed an = sign
<peterm6881> well, YOU might, but I wouldnt
<Xogium> most long options in softwares do need that = sign
<Xogium> its actually confusing when it doesn't
<peterm6881> i rest my case
<peterm6881> i think its more human to have less syntax
<peterm6881> plus its one less -
<peterm6881> my only skill is cutting the crap
<peterm6881> most of the super stereo chile streams are down, thats a bit shit. They're broadcasting a technical issues placeholder
<peterm6881> yeah kill those, its stops you scrolling the playlist
<peterm6881> those are the ones that are just an IP address
<Xogium> alright
<peterm6881> new playlist is http://stream.radioparadise.com/mellow-flac
<peterm6881> plus whatever you wanna add
<peterm6881> all other controls working ok
<peterm6881> < > scroll
<peterm6881> 9 vol down
<peterm6881> 0 vol up
<peterm6881> q quit
<peterm6881> p pause
<peterm6881> [] speed
<peterm6881> m mute
<peterm6881> speed is great fun lol
<Xogium> hehe yes
<peterm6881> it works REALLY well
<peterm6881> that would be fantastic for podcasts
<peterm6881> or audiobooks
<peterm6881> it would save a chunk of time, but i might need a new brain
<peterm6881> its a shame the arrow keys are pre-configured as Seek, useless for us. If they had been scroll through playlist, a numerical keyboard would probably have been adequate
<peterm6881> ohhh
<peterm6881> guess what
<peterm6881> the Enter button scrolls in mplayer
<Xogium> Thomas accepted your dm request, I saw
<Xogium> huh
<Xogium> does it
<Xogium> what about backspace
<peterm6881> haha well spotted
<peterm6881> no backspace on a numerical keyboard
<peterm6881> on a full keyboard it increases speed
<peterm6881> but its usefull to know you could scroll forward on a simmple 3 dollar numerical keypad
<peterm6881> simple
<peterm6881> you could connect via ssh under a different account, but i guess you cant take over control
<peterm6881> lets not think about that
<peterm6881> it messes with my head
<peterm6881> like thinking in 3D
<peterm6881> Delete and + pause and unpause, random
<peterm6881> only when Num Lock is on. I think full qwerty is the only way to go
<peterm6881> is there no way to copy text from a dm?
<Xogium> not sure… I do it from screen reader ways
<peterm6881> ok
<peterm6881> peterm6881> Hi Thomas, are you well?
<peterm6881> <peterm6881> I just wondered if you'd had a chance to think about Xogium's question via DM the other day?
<peterm6881> <peterm6881> I realise its effectively asking for a Buildroot policy statement, so its not a simple question
<peterm6881> <peterm6881> we have a developer who is willing to submit patches as having been signed off by him, with an accompanying note that the author is a nick, in our case Xogium. We need no know if this would be acceptable to Buildroot, in the way that it can be done within the rules of Linux
<peterm6881> <peterm6881> to * know
<peterm6881> just so you're in the loop, im not looking for approval
<peterm6881> but does it sound reasonable
<Xogium> yes
<peterm6881> by the way, for a regular IRC client, after you highlight text, as soon as you release the left mouse button the text is copied to the clipboard
<Xogium> oh
<Xogium> handy
<peterm6881> in case anybody asks you the same question
<peterm6881> indeed
<peterm6881> let me say if that also works in the channel
<peterm6881> see
<peterm6881> <peterm6881> just so you're in the loop, im not looking for approval
<peterm6881> whoop
<peterm6881> well that just made my life a bunch easier
<peterm6881> dont ask how i was previously doing it
peterm6881 has quit [Quit: Leaving]