Configuring Emby server

msm doesn’t support the uppercase L flag, only lowercase -l or --latest

So you could do:
msm --latest install emby

So I have tried uppercase L, lowercase l and msm --latest install emby.

(.venv) pi@picroft:~ $ msm install -l emby
usage: msm [-h] [-p {kde,mycroft_mark_1,default,picroft}] [-u REPO_URL]
[-b REPO_BRANCH] [-d SKILLS_DIR] [-c REPO_CACHE] [-l] [-r]
{install,remove,search,info,list,update,default} …
msm: error: unrecognized arguments: -l
(.venv) pi@picroft:~ $ msm --latest install emby
WARNING - Could not prepare repo (GitCommandError([‘git’, ‘fetch’], 128, b’error: object file .git/objects/30/854132f37b63e307746adc84536b3c949d26d0 is empty\nerror: object file .git/objects/30/854132f37b63e307746adc84536b3c949d26d0 is empty\nfatal: loose object 30854132f37b63e307746adc84536b3c949d26d0 (stored in .git/objects/30/854132f37b63e307746adc84536b3c949d26d0) is corrupt\nfatal: The remote end hung up unexpectedly’, b’’)), Creating temporary repo
INFO - Best match (1.0): emby by rickyphewitt
AlreadyInstalled: emby
(.venv) pi@picroft:~ $

I don’t really understand what is returned, but mycroft doesn’t seem to like any of it very much.
Thanks
Aaron

okay try this:

msm uninstall emby
msm --latest emby
1 Like

That second line should be
msm --latest install emby

thanks Gez, I’m sleepy :sleeping_bed:

haha don’t worry, I know the feeling, it’s so easy to do!

1 Like

I’ve tried all this and it did say emby had been reinstalled, but still no music. Could there be something wrong with settings on my router? Or my emby configuration in mycroft (which is as below).

Hope you guys aren’t loosing the will to live because of me.
I believe in open souce
I BELIEVE IN MYCROFT
Ha ha

1 Like

The config all looks good. (Assuming that the mycroft has an ip of 192.168.1.x)

One thing to note is that the utterance should be ‘play {artist/album/song} from emby’. Looking at a previous post you used ‘by’ instead of ‘from’. The skill should defiantly support more than just from. I’ve added an issue for this.

If you still can’t get emby to play you should be able to run mycroft directly via ’ mycroft-cli-client’ and type in your query ‘Play blue from emby’.

If emby doesn’t play after typing directly into mycroft please provide the logs of that interaction.

Thankyou sampsonight
I think I am getting closer. When I say “hey mycroftt play blue from emby” I get “playing blue mix” but there is no sound. I even updated volume to 10.

Also, when I ssh into mycroft I always come to ‘(.venv) pi@picroft:~ $’ and not the interface for telling mycroft what to do. Can you tell me how to change it? please.

From here you can enter mycroft-cli-client to enter the CLI interface.

How do I get to the CLI. I thought it opened automatically
And do you have idea about my emby problem?

When you log in and are at the prompt:

(.venv) pi@picroft:~ $

Just type mycroft-cli-client and hit enter, so it would look like:

(.venv) pi@picroft:~ $ mycroft-cli-client

This should open the CLI interface for you.

In terms of the Emby audio trouble, do you have any problems with other audio in Mycroft? Does it respond if you ask a question like “What time is it?”

Have you tried any other music skills like Spotify or Pandora? Just curious if the issue is isolated to this Skill or to your device.

I haved just sshed into picroft from my laptop and typed mycroft-cli-client (at the .venv) pi@picroft:~ $ prompt) and it returns (.venv) pi@picroft:~ $. So I can not use picroft remotely.

Picroft is totally unresponsive now, but yes he did respond to 'what time is it, and ‘make me laugh’
No I haven’t tried Spotify or Pandora, i do not have accounts.
I will reimage the sd card when I get some tme.
Thanks for all your responses.
Aaron

@aaron57,

Regarding the audio issue: What format are the audio files on Emby? Until recently the Emby skill only played mp3 files. There was a recent commit by a community member that tells the Emby server to transcode a file to mp3 if its not already in that format. Update the skill (if it hasn’t auto-updated already) and give it another go!

It is strange, because by default when you SSH into a Picroft it should load the CLI automatically. So re-imaging the card is not a bad idea.

If you want to try one other thing, I would first run:
mycroft-stop
to shutdown all the mycroft-core services. Then:
mycroft-start debug
that will start all the services then should launch into the CLI.

I have re-imaged the sd card with raspbian-stretch_Picroft_2018-09-12.zip.
After sshing in from laptop I still cannot get to the cli client.
As you suggested I tried mycroft-stop and mycroft-start debug and now I get ‘ssh: connect to host 192.168.1.166 port 22: No route to host’
No option to pair with server, and no audio input/output (I have raspiaudio pi hat). Another big fat nothing muffin!

Can you check that your IP address is correct by saying:
Hey Mycroft, what is my I P address?

Pycroft is an ex croft. It no longer works.
I re-imaged the sd card and now I cannot talk or speak to him. When I ssh into him I get no rout to host. Please see my last post.
I suspect there is something wrong with the image, but I haven’t really got a clue.

Do you have a monitor that you can plug the Raspberry Pi into?
This will let you see what is happening on the device as it boots

Yes please. I have screen an keyboard ready