Jump to content
GrimReaper
Message added by GrimReaper,

For Plugin version of the tool, go to:

 

 

Recommended Posts

VicMoore
Posted

hello rbjtech...  could you help me get started.  If I could just get going with a basic plugin, I think I could do everything else.  Is it possible to use javascript in a plugin, like its used in nodejs? Or, do I need to learn C#?

Vic

rbjtech
Posted
2 minutes ago, VicMoore said:

hello rbjtech...  could you help me get started.  If I could just get going with a basic plugin, I think I could do everything else.  Is it possible to use javascript in a plugin, like its used in nodejs? Or, do I need to learn C#?

Vic

Hi Vic, I'm really not the best person to ask here as I'm just adding to existing code via VS (cloned from Github) - but JS in a plugin is definitely an option.

If you are using Emby API's (which I presume you are) then it should translate reasonably well into the Emby Plugin framework. 

Have a reach out to @Cheesegeezer or @chef  is my advice.

I've not delved into the new Emby SDK, but cloning a public repo from Cheese or Chef might be a good indication on what's needed.

  • Like 1
Posted (edited)

I can not login to server, but everything is correct with login data. Only response is failed...

Ok, my failure, seeminling it is not allowed to be logged in to the emby server too...

 

 

Edited by Gascogne
Eigeplackter
Posted
2 hours ago, Gascogne said:

I can not login to server, but everything is correct with login data. Only response is failed...

Ok, my failure, seeminling it is not allowed to be logged in to the emby server too...

 

 

Why shoudln't you be allowed to be logged in parallel ?

Im right now logged into 7 emby devices with the same user (incl. Emby Tool).

Emby Tool counts toward your device limit, but that's kinda hard to reach.

 

Only thing I could think of, would be if that user is limited to 1 stream, mine is set to unlimited iirc thats default.

 

VicMoore
Posted

I will be home tomorrow and can answer your posts then.

Vic

Lookatyou
Posted

Hello @VicMoore

You kept doing a great job on this,

Would you please add custom rating in bulk edit too?

I am managing my music library and i would like to set "Approved" as Custom Rating for the non-explicit ones.

 

Thanks a lot for this

VicMoore
Posted

Good morning LookAtYou.  Yes I will look into adding it this week.

Vic

VicMoore
Posted

Gascogne, were you able to sign on? 

Vic

rbjtech
Posted (edited)

btw Vic @VicMoore - Quick Tip - use the @ sign before the name and people will get alerted to your response/request - ie @Lookatyou rather than just Lookatyou ..

:)

Edited by rbjtech
Posted

Hello, @VicMoore, I'm looking to try out your Emby tool, it looks amazing but for some reason my sign in won't take. I have no idea what I'm doing wrong, my username and password is correct and as far as I can see in my settings, the server IP and port is correct. There is no indication as to which one is incorrect. I've retried about 10 times! Help lol

Edit: I'm thinking I'm entering the IP wrong, do you include the http:// and the 4-digit port number at the end of it?

VicMoore
Posted

Hello dee101...

I am here to help 🙂  Before you try to sign on, press the F12 key to bring up the browser console. Then sign on and copy the contents of the console and send it to me. This way I can see what's happening. Keep in mind that the tool is only tested on Edge and Chrome browsers.

Vic

VicMoore
Posted

@rbjtech thanks so much for this tip. I have wondered for some time about how this is done. You have taught me a new trick and that made my day.

Vic

  • Like 2
VicMoore
Posted (edited)

@dee101you enter the servers ip address without a port. You can also leave off the http://.  You enter the port in the text field below the server ip.

Vic

Edited by VicMoore
Posted
1 hour ago, VicMoore said:

@dee101you enter the servers ip address without a port. You can also leave off the http://.  You enter the port in the text field below the server ip.

Vic

Ah, that worked! I was adding the http lol. Thank you @VicMoore I look forward to trying this out! Thank you for your help! I'll let you know how I go 👋🏾

VicMoore
Posted (edited)

@LookatyouTry out the new GUI code attached below. With it "Custom Rating" can be edited in bulk edit.

Vic

New_GUI_2.zip

Edited by VicMoore
Posted

It works great! 👍🏾 Thank you for this tool! I can now add tags to multiple files. It's probably been requested already but is there a way we can add 5-star ratings to music files? I used that alot in MusicBee and made smart playlists for 4-5 star rated songs. Could you add that or is there is a way to add them some other way? Someone said to use tags instead and number them, but I would prefer something more visual. 

VicMoore
Posted

@dee101let me think about it...

Vic

Posted
22 hours ago, VicMoore said:

@dee101let me think about it...

Vic

Great. Thanks for considering it :)

seanbuff
Posted

Hey @VicMoore just wanted to drop you a quick note to say thanks, love your tool it has saved me many hours thanks to the ability to bulk update.

Just wanted to make you aware of a minor typo, when it connects as a new device, it is spelled 'Chhrome'

image.png.c029a8a2cc7ee22d93fd921415687a7b.png

in 'tool.js'

function upload_signon(url) {
    let h = new Headers();
    h.append('Accept','application/json, text/plain, */*');
    h.append('Content-type', 'application/json; charset=UTF-8');
    h.append('X-Emby-Authorization', 'MediaBrowser Client="EmbyTool", Device="Chhrome", DeviceId="12121212-1212-1212-12121212121212121", Version="1.0.0.0"');
    
    console.log("=== Sign On = ",url);


Keep up the great work! 🍻

Posted
On 2/10/2023 at 4:18 PM, mixXxim said:

Hi

@VicMoore Thank you for the explanation.

can you please take a look at these wishes, thank you

 

Sicherungsabfrage.jpg

Hi @VicMoore,
many thanks for the new gui. Certainly a lot of work.
May I draw your attention to my request again

Junglejim
Posted

Nice work with the new GUI update Vic.. 👍

Good luck with your plugin dev ambitions too.

VicMoore
Posted

@seanbuffthanks for pointing out this error. I would have never found it. 

Vic

VicMoore
Posted

Hello @Junglejim, it's always nice to hear from you. I am working hard on the plugin, and it is a struggle. I am learning C# and lots of Emby things. I don't know if I am up to the task.

Vic

VicMoore
Posted

Hello @mixXxim, I hope to circle back soon and implements more requests. Right now I am saturated with trying to make a plugin.

Vic

Posted

@VicMoore

Thanks, no rush and looking forward to the new plugin from you, great

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...