Will a script solve this Android music issue?

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Will a script solve this Android music issue?

Post by mikehende » Tue Oct 16, 2018 5:40 pm

Hey guys, so I am looking into another music situation. I have tried the Braina Android app which is good, solid and reliable but problem is with a playlist running in MediaMonkey, when I speak a command on my android to play any specific tune in MM, when the tune is done playing this interrupts or stops the playlist.

Can you guys tell me if a script writer would be able to fix this issue please?

skribb
Experienced User
Posts: 212
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Will a script solve this Android music issue?

Post by skribb » Sat Oct 20, 2018 10:21 pm

mikehende wrote:
Tue Oct 16, 2018 5:40 pm
Hey guys, so I am looking into another music situation. I have tried the Braina Android app which is good, solid and reliable but problem is with a playlist running in MediaMonkey, when I speak a command on my android to play any specific tune in MM, when the tune is done playing this interrupts or stops the playlist.

Can you guys tell me if a script writer would be able to fix this issue please?
I know nothing about MM, but...

How does MM start playing a tune when you command it via voice?

if the function that activates just plays an audio file, I can understand why your current playlist is erased or interrupted.
If your voice command is supposed to append the file into your current playlist and then enqueue/play that audio file, perhaps this is a design flaw in MM.

if you start an audio file in MM without voice command but using keyboard/mouse, does it also stop the current playlist or does it behave differently?
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

User avatar
kgschlosser
Site Admin
Posts: 4506
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Will a script solve this Android music issue?

Post by kgschlosser » Tue Oct 23, 2018 6:31 pm

I agree with skribb. there are a few things we need to know.

The new song you are playing.. is it on the playlist?

if the song is on the playlist and you double click on it in the file system, does it play the one that is in the playlist? or does MM create a new temporary playlist and add the song there?

if it is not on the playlist and you double click on it in the file system, does MM add the new song to the currently playing playlist? or does it create a new temporary playlist, add the song then play it?

depending on what is happening and what API is available depends on what can be done.

start off there and let us know. depending on the answer there may be more questions.
If you like the work I have been doing then feel free to Image

mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will a script solve this Android music issue?

Post by mikehende » Sun Nov 25, 2018 3:47 pm

My apologies Skribb, I never got the email notif that you had posted, I only now got this latest post email notif by kgschlosser.

No the new song I command on the android is not in the currently playing playlist of folder of music, it is a tune which in the general library.

Yes, with a playlist/folder running, the app [not MM] will substitute a new playlist on the phone based on the search. For example if I speak "play michael bolton", it will create a new playlist with all of Michael bolton's songs and replace the previously playing playlist BUT it will only keep playing over and over the same first song from michael bolton, in other words it will not autoplay all the songs in the michael bolton playlist. If I want to hear another song from the list I would need to speak that specific tune.

MM and Braina both have free versions, if you guys should have some free time maybe you can try it so you will see exactly what I am getting? Here's the links just in case, both are easy to install and setup:

https://www.mediamonkey.com/

https://www.brainasoft.com/braina/

User avatar
kgschlosser
Site Admin
Posts: 4506
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Will a script solve this Android music issue?

Post by kgschlosser » Fri Nov 30, 2018 6:13 am

can you check and see if for some reason the track repeat is turned on?
If you like the work I have been doing then feel free to Image

mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will a script solve this Android music issue?

Post by mikehende » Mon Dec 03, 2018 3:35 pm

Sorry, still no email notifs from this site so only now seeing you had posted.

No, MM natively runs it's playlist one track after another and it works as normal, only when I speak a command to play a specific tune in the Braina android app and it plays the tune that it stops the MM running playlist.

skribb
Experienced User
Posts: 212
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Will a script solve this Android music issue?

Post by skribb » Tue Dec 25, 2018 8:21 pm

mikehende wrote:
Mon Dec 03, 2018 3:35 pm
Sorry, still no email notifs from this site so only now seeing you had posted.

No, MM natively runs it's playlist one track after another and it works as normal, only when I speak a command to play a specific tune in the Braina android app and it plays the tune that it stops the MM running playlist.
I will not have time to delve into this issue, however if you haven't yuo should try to see how braina behaves with other music players.
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

mikehende
Experienced User
Posts: 113
Joined: Sun Feb 10, 2008 1:59 pm

Re: Will a script solve this Android music issue?

Post by mikehende » Wed Dec 26, 2018 1:31 pm

I have, same deal, braina support says they can customize it as needed but will cost $300. I think Alexa, Spotify or Google will come up with this in the near future as there seem to be many people who are seeking this setup. You can already run playlists via voice commands with those, it's only the ability to call up specific tunes while the playlist is running which remains to be added.

Post Reply