New project opportunity: Media player?

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

Dear community,

OuGeeNucleo 1.0 now ready for download.
It uses still the basic engine, but a fully reworked graphic layer, equalizer, Bluetooth Remote Control (Volume, Play, Pause, Next and Previous Song).

You will find the download link in the head post above.
Hopefully it works for you. In case you face sever issues, please drop me a PM. I do not plan further developments or bug-fixes.

millim
These users thanked the author millim for the post:
kelbot (Sun Sep 26, 2021 11:26 pm)

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

Hello, millim.
You did oustanding work!
Yet I need to test it with my bluetooth headset, but all in all (interface and number of features you implemented) makes me want to buy another odroid go just for music playback in the car.
Thank you!
BTW In help inside the app it is told that A+Left will change play order, but actualy it is A+Right.

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

Working quite well here. Excellent work and thank you so much. I'm loving it!

User avatar
mad_ady
Posts: 10155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 632 times
Been thanked: 817 times
Contact:

Re: New project opportunity: Media player?

Post by mad_ady »

Noob here! Can it play internet radio streams as well?

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

mad_ady wrote:
Mon Sep 27, 2021 3:32 am
Noob here! Can it play internet radio streams as well?
only mp3 from sdcard, it is mentioned somewhere

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

mad_ady wrote:
Mon Sep 27, 2021 3:32 am
Noob here! Can it play internet radio streams as well?
HI mad_ady

yes, indeed no internet radio at the moment. I am working on this currently, it is really a nice feature. I do not want to go the route of adding the access-point feature. With that one needs always a second device to get local WIFI access on the OG and I see no point for searching and posting IP addresses. It shall be handy with built in SSID discovery and password input feature. Therefore I need virtual keyboard and edit-box support. The radio itself (44.1kHz mp3) is straightforward.

I am targeting to share a firmware around Christmas time.

Regards
millim

User avatar
mad_ady
Posts: 10155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 632 times
Been thanked: 817 times
Contact:

Re: New project opportunity: Media player?

Post by mad_ady »

That's great to hear! Thanks!
I do not want to go the route of adding the access-point feature
I don't think there's a need for that. I think having wifi credentials in a txt files on sd is acceptable.

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

mad_ady wrote:
Wed Oct 06, 2021 5:31 pm
I don't think there's a need for that. I think having wifi credentials in a txt files on sd is acceptable.
Well, sure this is an option. Still I feel uncomfortable having the wifi credentials in the SD card(s) for several reasons. Much more in favour of keeping it somewhat secret in the NVS storage. But this is just a minor point. The main purpose, I have use-cases in mind with ad-hoc usage on different networks. Here preparing the txt-file and storing it on the SD card still requires an additional device like a mobile phone or PC. And when I do have a PC or phone available, why should I use the OG?

millim

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

millim wrote:
Wed Oct 06, 2021 8:52 pm
mad_ady wrote:
Wed Oct 06, 2021 5:31 pm
I don't think there's a need for that. I think having wifi credentials in a txt files on sd is acceptable.
Well, sure this is an option. Still I feel uncomfortable having the wifi credentials in the SD card(s) for several reasons. Much more in favour of keeping it somewhat secret in the NVS storage. But this is just a minor point. The main purpose, I have use-cases in mind with ad-hoc usage on different networks. Here preparing the txt-file and storing it on the SD card still requires an additional device like a mobile phone or PC. And when I do have a PC or phone available, why should I use the OG?

millim
That's a good point. If you're at a friend's house or whatever it would be nice to just find and enter credentials on device and start streaming rather than having to fiddle with a phone or computer to get it connected. The credentials on sd card makes sense for something you would only ues at home but this is a different use case.

User avatar
dtrieb
Posts: 7
Joined: Sat Aug 31, 2019 12:55 am
languages_spoken: english, german
ODROIDs: Odroid Go
Has thanked: 2 times
Been thanked: 0
Contact:

Re: New project opportunity: Media player?

Post by dtrieb »


millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

dtrieb wrote:
Sun Oct 31, 2021 4:40 pm
Perhaps this helps:
https://m.youtube.com/watch?v=lThawtfSQYA
thank you very much for the link. Really a nice project..

Ever since my last post, I have worked a bit on the radio integration. Network scan/access and credentials input work with virtual keyboard already. So no need of using access point + additional network device (phone, tablet, pc). So far so good.
On the radio itself, I was not able to find a light-weight repository simply supporting Shoutcast/ICYcast + metadata support + http and https + server redirection + PSRAM memory allocation + ESP_IDF (no ARDUINO!). So I have written my own radio client from scratch.It is functional already. I also want to make use of radio-browser.info to browse worldwide radio-stations on the OG directly, which is currently under development. Need to work on memory optimization.

Overall, there are still two/three tricky things to solve. But I am confident to get it done in the next two month.

~millim
These users thanked the author millim for the post:
dtrieb (Mon Nov 08, 2021 11:54 pm)

User avatar
mad_ady
Posts: 10155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 632 times
Been thanked: 817 times
Contact:

Re: New project opportunity: Media player?

Post by mad_ady »

Please, if possible, allow playback on the integrated soundcard too. Even if it will sound funny, I expect it will be good enough for voice only.
These users thanked the author mad_ady for the post:
dtrieb (Mon Nov 08, 2021 11:54 pm)

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

mad_ady wrote:
Tue Nov 02, 2021 3:25 pm
Please, if possible, allow playback on the integrated soundcard too. Even if it will sound funny, I expect it will be good enough for voice only.
Agree that would be nice as an option. I listen to podcasts and even music over the internal speaker sometimes. It's not too terrible for low volume background music sometime IMO.

User avatar
dtrieb
Posts: 7
Joined: Sat Aug 31, 2019 12:55 am
languages_spoken: english, german
ODROIDs: Odroid Go
Has thanked: 2 times
Been thanked: 0
Contact:

Re: New project opportunity: Media player?

Post by dtrieb »

Yes that's would be a nice option!

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

dtrieb wrote:
Mon Nov 08, 2021 11:55 pm
Yes that's would be a nice option!
Sure, the internal speaker is always the primary sound output device. When the radio player is ready, you will experience no difference, it is the same thing as you would play mp3 from the sd-card. Still, for the first release, I plan to support mp3 only, but this time with different sampling rates (48k, 32k, 22k, 16k, 8k, 44.1k). This set is supported by the SBC, want to go without resampling DSP.

Plan is to use -
A.) .m3u file format for the URLs, what can be selected with the file browser (one single URL per file)
B.) radiobrowser.info browser API with search function using the new virtual keyboard.

The overall concept and the individual modules are ready. Need to glue everting together and hopefully WiFi, Bluetooth, and Display can co-exist without sound glitches.

regards
millim
These users thanked the author millim for the post:
kelbot (Thu Nov 18, 2021 2:24 am)

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

Hello!
Finally, I gathered myself up and finished my I2S DAC project. I found out that if you switch to EXT DAC in settings then start playing music and press "pause" you stard to hear loud noise that stops only when you continue to play music. Not sure if you are willing to check it, I use bluetooth most of the time anyway.
Image

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

Hi, very nice project :-)

btw. I do have some SMD DACs laying around (from Analog Devices), and I thought also to make such an adapter. Do not have the tools to make it reeeeaaaally small to fit into a small plug. Indeed, I need to order an DAC shield to test I2S output. I try to fix it in the radio update coming soon..

millim

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

I have a similar i2s dac board I use sometimes but I don't remember experiencing any popping when paused. I'll test it later and see if it happens with mine too.

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

Ok, yes I get the loud noise on pause as well. It happens when paused and also briefly in between tracks when shuffling a large playlist. When listening to a short playlist it doesn't happen.

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

UPDATE: OuGeeNucleo 1.1 (+ WEB RADIO SUPPORT)

Had some time during Christmas break to complete the web radio version. You will find the details in the head post.

millim
These users thanked the author millim for the post:
ddrsoul (Tue Jan 11, 2022 2:30 am)

User avatar
mad_ady
Posts: 10155
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 632 times
Been thanked: 817 times
Contact:

Re: New project opportunity: Media player?

Post by mad_ady »

Thanks for the web radio support! I hope to put my go to good use!

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

Latest version is not working for me. Bluetooth is not connecting to my JBL GO (it hangs on 1/4 then just returns back to device list). On 1.0 it was working great.
Also, when I try to go into "wifi settings" everything just hangs (i don't get into settings at all). Only reboot helps.

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

I've had the hanging issue as well but it seems random. Restarting and trying again a couple times and eventually it worked.

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

kelbot wrote:
Tue Jan 11, 2022 9:30 am
I've had the hanging issue as well but it seems random. Restarting and trying again a couple times and eventually it worked.
Might be this is related to number of access points? I mean, now I tried to set wifi at the office and it works every time I open this setting. I can play radio via internal speaker.
At home I have HUGE AMOUNT of access points in near surrounding. Will try again this evening.

Also, I can not connect to my TWS bluetooth headset D:

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

ddrsoul wrote:
Tue Jan 11, 2022 10:10 pm
kelbot wrote:
Tue Jan 11, 2022 9:30 am
I've had the hanging issue as well but it seems random. Restarting and trying again a couple times and eventually it worked.
Might be this is related to number of access points? I mean, now I tried to set wifi at the office and it works every time I open this setting. I can play radio via internal speaker.
At home I have HUGE AMOUNT of access points in near surrounding. Will try again this evening.

Also, I can not connect to my TWS bluetooth headset D:
I understand, sorry that it does not functioning out of the box for you. I think it is related to the number of access points. I think if it exceeds a certain number, the app crashes. I can have a look into it you send me the crash log in a private email. On the BT connection issue, I have an option to debug and can work on an update.

Please try the updated version (V1.2) from the head post. The BT should work now. WIFI, I cannot test, should list at least up to 25 proximity networks.

millim

alektronic
Posts: 16
Joined: Fri Sep 14, 2018 2:08 am
languages_spoken: english
ODROIDs: ODROID-GO, OGA v1
Has thanked: 19 times
Been thanked: 0
Contact:

Re: New project opportunity: Media player?

Post by alektronic »

This is working pretty well, thanks millim! 8-)

I also experience the wifi crash, but getting very close to my router and retrying a few times makes it work.

Radio Browser and opening m3u files work.

I was able to link my BT headphones, although the playback is choppy (whereas it is ok through the speaker) - perhaps this is to be expected due to the device limitations.

I'm experiencing hanging in the latest 1.2 version when I select I2S DAC from the Audio Device menu. This happens whether my DAC is plugged in (and working in other apps) or not.

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

Yes, this is very impressive and thank you. One small (well hopefully small) request. When scrolling through long lists of songs or radio stations it can take forever and a ton of button presses. Repeating up/down keypresses when holding the button down would be nice.

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

alektronic wrote:
Thu Jan 13, 2022 1:38 am
This is working pretty well, thanks millim! 8-)
- > THX :D
alektronic wrote:
Thu Jan 13, 2022 1:38 am
I also experience the wifi crash, but getting very close to my router and retrying a few times makes it work.
-> You may send me the crash log (Serial monitor data) in a private mail
alektronic wrote:
Thu Jan 13, 2022 1:38 am
I was able to link my BT headphones, although the playback is choppy (whereas it is ok through the speaker) - perhaps this is to be expected due to the device limitations.
-> Yes, I have similar issue with Motorola Escape 220, but works perfect for Jabra Elite 65t, Linux Mint, iLuv speaker.
alektronic wrote:
Thu Jan 13, 2022 1:38 am
I'm experiencing hanging in the latest 1.2 version when I select I2S DAC from the Audio Device menu. This happens whether my DAC is plugged in (and working in other apps) or not.
-> Yes, will fix it, soon.

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

kelbot wrote:
Thu Jan 13, 2022 1:56 am
Yes, this is very impressive and thank you. One small (well hopefully small) request. When scrolling through long lists of songs or radio stations it can take forever and a ton of button presses. Repeating up/down keypresses when holding the button down would be nice.
Holding up/down buttons pressed for ~500ms should work for scrolling. I will try to implement page up/down scrolling when pressing left/right.

ddrsoul
Posts: 54
Joined: Thu Feb 04, 2021 4:47 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: New project opportunity: Media player?

Post by ddrsoul »

millim wrote:
Tue Jan 11, 2022 10:34 pm
ddrsoul wrote:
Tue Jan 11, 2022 10:10 pm
kelbot wrote:
Tue Jan 11, 2022 9:30 am
I've had the hanging issue as well but it seems random. Restarting and trying again a couple times and eventually it worked.
Might be this is related to number of access points? I mean, now I tried to set wifi at the office and it works every time I open this setting. I can play radio via internal speaker.
At home I have HUGE AMOUNT of access points in near surrounding. Will try again this evening.

Also, I can not connect to my TWS bluetooth headset D:
I understand, sorry that it does not functioning out of the box for you. I think it is related to the number of access points. I think if it exceeds a certain number, the app crashes. I can have a look into it you send me the crash log in a private email. On the BT connection issue, I have an option to debug and can work on an update.

Please try the updated version (V1.2) from the head post. The BT should work now. WIFI, I cannot test, should list at least up to 25 proximity networks.

millim
Hello millim, thank you for help.
I tried new version. With new install I tried to set WIFI and it always failed as before. Then I changed audio device to "bluetooth" (and bt finally works! thank you!) and this time wifi seting worked! But it was the last time I managed to run it properly. Anyway my ssid and password is already set and I can experiment more. An here what i found:
Speaker output is broken. I mean it can play music (mp3) but: radio with speaker don't play (it fades black than returning back to radio list). Choosing |speaker" in audio devices causes odroid to hang. "Change App" button also causes odroid to hang.
But I don't have any problems when audio device is bluetooth! (except wifi list)
I though I can provide you crash log about wifi list but it is not generating any of it (because app is not crashing). If I can help you somehow to fix it just let me know how!
Also I noticed that equalizer now works properly with bluetooth. Nice!

I thought , if the issue with wi-fi is unclear, maybe you can add an option to input ssid and password by hand in other menu?

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

ddrsoul wrote:
Thu Jan 13, 2022 7:44 am
I tried new version. With new install I tried to set WIFI and it always failed as before. Then I changed audio device to "bluetooth" (and bt finally works! thank you!) and this time wifi seting worked! But it was the last time I managed to run it properly. Anyway my ssid and password is already set and I can experiment more.
I though I can provide you crash log about wifi list but it is not generating any of it (because app is not crashing). If I can help you somehow to fix it just let me know how!
I should send you a debug version with WIFI debug enabled. I will try next days to send it in a private mail. Maybe you have some SSIDs, the sorting can't deal with?
ddrsoul wrote:
Thu Jan 13, 2022 7:44 am
An here what i found:
Speaker output is broken. I mean it can play music (mp3) but: radio with speaker don't play (it fades black than returning back to radio list).
Just to clarify: When it fades back, could be that the radio station can't be found or the WIFI is still not ready. Has nothing to do with the audio output device.
ddrsoul wrote:
Thu Jan 13, 2022 7:44 am
Choosing |speaker" in audio devices causes odroid to hang.
This is a known problem, I could not find any solution. In case Speaker is selected again after DAC-OUT or BT, it hangs. DMA does not work, can't be reinitialized a second time.
ddrsoul wrote:
Thu Jan 13, 2022 7:44 am
"Change App" button also causes odroid to hang.
Yes, will fix it soon.
ddrsoul wrote:
Thu Jan 13, 2022 7:44 am
I thought , if the issue with wi-fi is unclear, maybe you can add an option to input ssid and password by hand in other menu?
Yes, good idea as preferred Wifi setting overriding smart scan. I will think about.

millim

alektronic
Posts: 16
Joined: Fri Sep 14, 2018 2:08 am
languages_spoken: english
ODROIDs: ODROID-GO, OGA v1
Has thanked: 19 times
Been thanked: 0
Contact:

Re: New project opportunity: Media player?

Post by alektronic »

millim wrote:
Thu Jan 13, 2022 3:06 am
alektronic wrote:
Thu Jan 13, 2022 1:38 am
I also experience the wifi crash, but getting very close to my router and retrying a few times makes it work.
-> You may send me the crash log (Serial monitor data) in a private mail
PM sent

kelbot
Posts: 120
Joined: Thu Aug 29, 2019 12:05 pm
languages_spoken: english
ODROIDs: C2, HC2 x2, Go
Has thanked: 17 times
Been thanked: 3 times
Contact:

Re: New project opportunity: Media player?

Post by kelbot »

Ah, thanks for the tip about holding the scroll buttons for 500ms. I just wasn't holding it long enough :-).

millim
Posts: 88
Joined: Mon Jun 08, 2020 6:11 pm
languages_spoken: english
ODROIDs: Odroid GO
Has thanked: 2 times
Been thanked: 49 times
Contact:

Re: New project opportunity: Media player?

Post by millim »

Update Version 1.3 available (from the head post).

- Fixed WIFI Setup crash on dense WIFI coverage
- Fixed "Change APP" return to firmware.

In general, after installing the APP from SD-CARD I recommend to force a cold boot (switch off/on), so that the NV memory gets correctly initialized.

millim
These users thanked the author millim for the post (total 2):
alektronic (Sun Jan 16, 2022 6:03 am) • odroid (Mon Jan 17, 2022 9:26 am)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest