INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 4 [5] 6 7 8 9 ... 14   Go Down

Author Topic: "Swag of Tools" : Collection of Utilities for MC  (Read 98708 times)

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #200 on: December 30, 2020, 04:51:53 pm »

@Mans, I tested on a TS file and it was OK for me, but....  Can you please post the SOT created MediaInfo file is for one of the rips (it should be next to your TS File but named "(ripname)_mediainfo.txt" so I can have a look?

PS - Thanks for the well wishes Mans & zxsiz and I trust you are also well :)
Logged
JRiver CEO Elect

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #201 on: January 01, 2021, 07:53:41 am »

The mediainfo tool was run on most of my movies and seemed to have worked ok.  It took a while to run and the log shows each movie as it was processed.

Later I did some cleanup and renaming of movie files, and MC doesn't rename the _mediainfo.txt file like it does the .jpg and the .xml sidecar files, so I deleted all mediainfo.txt files and ran the tool again.

This time it didn't process all of the movies.
It seems to think that because there were no changes needed on the first file, that it didn't need to go any further.
I confirmed that it only created ONE mediainfo.txt file and it was for the movie mentioned in the log.
Here's the output.

Code: [Select]
The MC Run Time Command has finished, you can now either press
 - "Cancel" to close the Swag of Tools or
 - "Launch Full Version"
Error - 500  Processed Failed (see details below)
http://127.0.0.1:52199/MCWS/v1/File/SetInfo?File=13219663&FileType=Key&Field=Language&Value=English;French;Japanese;Portuguese;Spanish; English; French; Japanese; Portuguese; Spanish
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="Failure" Information="No changes."/>

DTS:X track found and already in MC Compression Field
Created Extra file for "\\NAS\movies\2 Fast 2 Furious [2003]\2.Fast.2.Furious_MediaInfo.txt"
Commenced - Please wait....
The MC Runtime Command Received was : MediaInfo
Media Center Version 27.0.47 Found at 127.0.0.1:52199

Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #202 on: January 01, 2021, 11:16:21 pm »

Mmmm, so to stop runaway issues SOT checks the response back from MC after each call and STOPS if it gets anything other than a "200" (all good).

The "500" from MC is a general "Something Went Wrong" (in this case "Response Status="Failure" Information="No changes") for the call shown.  I'm not sure why MC would return an "500" Error Msg for this.

I guess there are a few ways of working on this:
1) Have MC not error out for "No Changes" (that would need JRiver to make a change and they may not agree)
2) Clear out the Data from your Language fields and then SOT should run and repopulate them anyway
3) Remove the error check in SOT/Media Info Module, just log them and press on through the list to be processed
4) Instead of SOT exiting, put up a Popup on the first error saying that it failed (with the error info), and do you want to continue anyway?
5) Specifically exclude the 500 errors that contain "No changes" from halting the process (but log them anyway)

As I can't commit to #1, the "easiest" option would be #2 as this is the first time we have seen the issue... but it may be better in the long run to update the error handling code, so I guess it would be #5 would for this specific case, or for a more general approach #4 or ultimately #3 but that last one sounds like a bad idea to me.....

What do you think?
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #203 on: January 02, 2021, 12:12:01 am »

OK - after more thought I went with #5 and marked them in the Log.  This should now work on all MCWS calls (not just Media Info).   Odd thing is I think the behaviour from MC has changed on this.... As I'm pretty sure I've run it multiple times and not seen the error. 

Here is a test build (Win 64-Bit).  If it is all good, I'll update the GitHub repository.  Let me know how it goes.

Thanks
Nathan
Logged
JRiver CEO Elect

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #204 on: January 02, 2021, 09:55:05 am »

Thanks Nathan!
The adjustment is working.
It's scanning through all the movies and I've confirmed presence of hundreds of additional mediainfo.txt files.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #205 on: January 03, 2021, 12:55:31 am »

Release : 02 Jan 2020
- Available @ https://github.com/jmone1/Swag-of-Tools

Change Log:
- Small change to allows the continuation of the processing of items even if there is a MCWS "500" Status Error where that error is reported as "No changes."
Logged
JRiver CEO Elect

Mans

  • Galactic Citizen
  • ****
  • Posts: 417
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #206 on: January 03, 2021, 11:37:35 am »

Great day Jmone,

Apologies for the delay, attached you can find the Video_TS Mediafile of the specific film.

Thanks for your feedback,

Cheers.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #207 on: January 03, 2021, 04:14:40 pm »

Hey Mans,
Here is a test (64-Bit compile) that now also scans all the IFO files of the disc instead of the Main IFO file (as the Language info can be in the child IFO files). 

Let me know of any issues and if OK, I'll update Git Hub.

Thanks
Nathan
Logged
JRiver CEO Elect

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41915
  • Shoes gone again!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #208 on: January 04, 2021, 03:17:09 am »

This is a long thread, but let me know if you think anything should be changed in MC (or the MCWS handling).  Thanks.
Logged
Matt Ashland, JRiver Media Center

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #209 on: January 04, 2021, 05:00:00 am »

Hey Matt, this is a collection of scripts to cover stuff MC just does not do (or do well), though I would be delighted if any were part of MC :)   

I'd say the 3 most popular ones to consider would be:
- Better Metadata from Video Files / Folder based rips, in particular: 
     - Atmos & DTS:X Detection:  MC uses ffprobe but that can not detect if you have an Atmos / DTS:X track..... but MediaInfo can
     - MC does not show all the Languages on some Folder rips as this info can be stored in child files not just the "main" one
- Option to Create Particles based on the Chapter Start / Stop Times:  so you can manage Music Videos on a per Track Basis as you can a CD
- Import / Export / Update a selection (or the entire) MC Library from a Spreadsheet

MCWS itself is working well for me!


Logged
JRiver CEO Elect

Mans

  • Galactic Citizen
  • ****
  • Posts: 417
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #210 on: January 04, 2021, 09:46:41 am »

Quote
Hey Mans,
Here is a test (64-Bit compile) that now also scans all the IFO files of the disc instead of the Main IFO file (as the Language info can be in the child IFO files).

Let me know of any issues and if OK, I'll update Git Hub.

Thanks Nathan, this version does returns much, much more updated field(s)  :)
Much appreciated,

Cheers !
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #211 on: January 04, 2021, 02:52:30 pm »

Release : 04 Jan 2020
- Available @ https://github.com/jmone1/Swag-of-Tools

Change Log:
- Additional Language information is collected from DVD structures by scanning all the IFO files of the disc instead of the Main IFO file (as the Language info can be in the child IFO files).
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1963
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #212 on: January 15, 2021, 02:59:30 pm »

Hi jmone,
Couple of issues and a question...
Could you add utf filename support? Seems to me that SoT cannot find any info from files which have such characters. Also it seems that SoT reacts to ESC even when it is not active window which has resulted me to accidentally close the active scarping.

And the question:
If I leave mediainfo txt file on the disk is SoT going to use it for next scrape so it doesn't need to read media file again? It would be a time saver when collection bunch of information.

Thanks for the tool anyway. It is very useful for me :)
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #213 on: January 15, 2021, 05:03:42 pm »

Hi lepa,
I can have a look this weekend, but want to check a couple of things:
- ESC:  I can remove this easily, so to close the script from then on you have to either close the SOT window (X) or use the button in SOT
- Existing MediaInfo.txt: I can skip existing MediaInfo.txt, though it will mean if you want to "refresh" them (if you say replace the original file in MC with a "better" one), you will need to manually delete the relevant MediaInfo.txt file
- UTF: SOT is already UFT-8 BOM encoded, so I suspect the issue may be this note from Media Info "Microsoft Windows command line does not support Unicode, so if you use command line, let use MediaInfo without Unicode"..... but I'll need to look.  Can you give me an example of the UTF Filename where it fails so I can test?

Thanks
Nathan
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1963
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #214 on: January 15, 2021, 06:31:55 pm »

SoT:
Karakkaze yarô (1960).mkv
--> Karakkaze yarô (1960)_MediaInfo.txt

Manually calling MediaInfo creates correct filename eg.
MediaInfo.exe "Karakkaze yarô (1960).mkv" >"Karakkaze yarô (1960).txt"
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #215 on: January 15, 2021, 06:36:00 pm »

Thanks - I'll have a look.
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1963
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #216 on: January 15, 2021, 06:40:37 pm »

About logfile creation:
Maybe option to refresh/overwrite exististing MI-logfile would be good? I'm getting Text:Language, Audio:Language, Audio:Format/Commercial Name, Video:HDR Format etc so reading actual media file on every pass is a little slow. Of course If you could create UI to scrape many things on one pass it would be the heaven.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #217 on: January 16, 2021, 06:15:28 pm »

;Here is a test build:
- Media Info (Bug Fix): Now supports UTF Names
- Media Info (New Option): Don't overwrite existing MediaInfo "Extra" file
- General: ESC will no longer exit SOT

@lepa - have a look at the Media Info instructions (and pics) on https://yabb.jriver.com/interact/index.php/topic,106802.msg742303.html#msg742303 regarding using multi field in one pass.  Just seperate them with a ";"

Let me know of any bugs, issues etc and if good I'll post up the code on Github. 

Thanks
Nathan
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1963
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #218 on: January 17, 2021, 11:34:54 am »

ah, multifield handling was there already :)
Didn't face any problems with my utf-files so for me it is working. Also SoT was crunching data while I was doing something else and also needing to hit ESC and SoT kept on going in the background  8)
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #219 on: January 17, 2021, 02:40:51 pm »

Glad it is working :) ... though I found a bug.

Next test build:
- Media Info (Bug Fix): The new "Don't overwrite existing MediaInfo "Extra" file was still adding the (largest) Bluray M2TS and all the DVD IFO files to the "_MediaInfo.txt" sidecar file.
Logged
JRiver CEO Elect

Inquisition

  • World Citizen
  • ***
  • Posts: 211
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #220 on: January 18, 2021, 02:47:49 am »

I tryed it for creating chapters by some of mine mp4 videos, but it doesnt work good for me.

i make the chapterlist and it is send to mc and the correct file, but when i start this video in theatermode it already will start without chapters.

only way to get the chapters working is to call it in standard mode with right klick of mouse and call "play with stack list".

but this way isnt useful for me cause i always work in theatermode to control with ir remote or with ip commands over tablet (mediola).


dont know if i am doing something wrong
Logged
My English is not perfect, so be merciful with me

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #221 on: January 18, 2021, 02:59:04 am »

Hi Inquisition,
I don't understand why the particles would show in Std View but not Theater View?  Here is an example of what it looks like for me.
Thanks
Nathan
Logged
JRiver CEO Elect

Inquisition

  • World Citizen
  • ***
  • Posts: 211
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #222 on: January 18, 2021, 08:35:55 am »

hmm did you choose "resolve stack" in standardview before?

i didnt do that, i let the videofile in one piece so it shows only one peace in theaterview, but i have no chapters.

is this my error?
Logged
My English is not perfect, so be merciful with me

Inquisition

  • World Citizen
  • ***
  • Posts: 211
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #223 on: January 18, 2021, 08:40:12 am »

so i tryed "resolve stack" first, now i see all chapters in theaterview.  but not in numbered order, it shows in alphabetical order  ? ?
Logged
My English is not perfect, so be merciful with me

Inquisition

  • World Citizen
  • ***
  • Posts: 211
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #224 on: January 18, 2021, 08:52:38 am »

It works now.

the name of the chapter had also been numbered
Logged
My English is not perfect, so be merciful with me

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #225 on: January 18, 2021, 01:42:44 pm »

:) glad you got it working!
Logged
JRiver CEO Elect

mvandyke

  • World Citizen
  • ***
  • Posts: 157
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #226 on: January 19, 2021, 08:26:45 am »

Having Problems with using the Excel export and import.  I've been through this many times and not making any headway - asking for assistance

Here's what I did
Installed newest SWOT - it autocreated a filekey field per the log file and visually looking internally in JR
Created new field Name DVD field as string
Created Playlist of just one DVD
Removed all fields not required - see first attachment
Exported through File Export playlist with  text file.csv defined
Brought .csv file into excel
Added data to Name DVD field - See second attachment
Saved as Txt file with tab - see third attachment  Name DVD field does have data
Ran SWOT as  update MC library from TXT file.  Selected appropriate file
SWOT reports file updated
No data is in the Name DVD field in JRiver
TXT file does have data in it.  See 3rd attached file

What might I be missing?

Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #227 on: January 19, 2021, 03:05:06 pm »

Hi mvandykey, I think this is all the issue is (just change your Header from "FileKey" to "Key"):

Quote
So if you are using the "Update MC Library" the Column Header in your TXT file should be called "Key" (not "FileKey") or nothing will match and be updated.

I tested with that change and my "Name DVD" col was updated...... I should add some more logging so we can see what works and fails.  :(

Thanks
Nathan
Logged
JRiver CEO Elect

mvandyke

  • World Citizen
  • ***
  • Posts: 157
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #228 on: January 19, 2021, 03:15:31 pm »

Hi mvandykey, I think this is all the issue is (just change your Header from "FileKey" to "Key"):

I tested with that change and my "Name DVD" col was updated...... I should add some more logging so we can see what works and fails.  :(

Thanks
Nathan

Yes, that did work! Thanks!

 But.., I believe that SWOT created the fileKey field and labeled it filekey and not Key as it should be - is that correct?

Thanks again, now time for a lot of updating.....
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #229 on: January 19, 2021, 04:37:31 pm »

It's all a bit of a workaround as the field "Key" in MC is not displayed or exportable.  So we create a "Calculated Field" called "FileKey" that reads this hidden value from "Key" and puts it in "FileKey" (which we can see and export).  When we need to update MC, we need to use the value in "FileKey" but the MCWS call to MC must be to "Key".  I guess I could automap FileKey to Key in SOT but somehow that fells wrong, so I make you title the column "Key" to be sure.

I'm also working on adding some additional logging.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #230 on: January 19, 2021, 04:41:05 pm »

...also, SOT will update MC with every col in your txt file, so you should only include columns which have changes in the data.  There is no point in having cols where you don't want the data changed.  eg, in your example only have "KEY" and "Name DVD"
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #231 on: January 19, 2021, 05:19:43 pm »

Another test build:
- Data Fiddler: Log will update with the # of entries updated in MC
- Data Fiddler: Log will warn if there were 0 entries updated in MC and ask you to check there is a "Key" column
- General: Log now has a "Turn on Verbose Logging of MCWS Calls" - Careful using this one as it may be very long if you are doing a lot of MCWS calls (eg a big batch).

Let me know of any bugs, issues etc and if good I'll post up the code on Github.

Thanks
Nathan
Logged
JRiver CEO Elect

mvandyke

  • World Citizen
  • ***
  • Posts: 157
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #232 on: January 19, 2021, 05:45:41 pm »

Perfect - thanks for all of your help here.  We all really appreciate it :)
Logged

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #233 on: January 19, 2021, 05:47:29 pm »

Warning: Technologically somewhat challenged user here!

I have downloaded SWOT, and started the Credentials procedure. As per attached screenshot, it wants a Username and password.....to what?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #234 on: January 19, 2021, 05:57:56 pm »

This is the Server Side in MC, so you get to pick what Username and Password you want external parties / apps to have to use to get access to MC Server.
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #235 on: January 19, 2021, 06:09:15 pm »

This is the Server Side in MC, so you get to pick what Username and Password you want external parties / apps to have to use to get access to MC Server.
Ok thanks. This is probably an MC thing (rather than SWOT) but the pop-up should really say "Enter the username and password you wish to use"
Logged

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #236 on: January 19, 2021, 06:16:16 pm »

Have entered those, and also into SWOT Configure window, but I get:

Error 401 Access Denied
- Check Username / Password is correct in the Configuration Options
Adding "FileKey" Field to MC Library
Check if "FileKey" Field already exists in MC Library
Error 401 Access Denied
- Check Username / Password is correct in the Configuration Options
Adding "ChapterDB #" Field to MC Library
Check if "ChapterDB #" Field already exists in MC Library
Writing Registry Keys to HKEY_CURRENT_USER, SOFTWARE\JRiver\Media Center 27
Writing to Swag of Tools.ini


Which was preceded by:

Success, Media Center Found at 127.0.0.1:52199!
Checking for Media Center at 127.0.0.1:52199

Is this because I am not "running as Administrator"? I got no prompts to that, which is what usually happens. I don't actually know how to run as Admin.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #237 on: January 19, 2021, 06:22:52 pm »

Maybe ..... In Windows Explorer --> Right Click on "Swag of Tools.exe" --> Run a Administrator and see if that works (it only needs to be done once).
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #238 on: January 19, 2021, 06:25:39 pm »

Maybe ..... In Windows Explorer --> Right Click on "Swag of Tools.exe" --> Run a Administrator and see if that works (it only needs to be done once).
So it is because it needs to run as Admin? Right clicking on the .exe only shows Open, Cut, Copy, Delete, Properties.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #239 on: January 19, 2021, 06:34:42 pm »

From "memory" (many years ago), SOT needed a single "Run as Administrator" to add some stuff to the registery for the "Sent to" links in MC to be added..... but should not impact the actual access to MC from SOT (I've attached a pic anyway).

Also, if I run SOT --> Configuration --> and press "Test Configuration", I get the following if everything is OK:
Code: [Select]
Success, Media Center Found at 127.0.0.1:52199!
Checking for Media Center at 127.0.0.1:52199

If my Username or Password does not match, I get:
Code: [Select]
Error 401 Access Denied
- Check Username / Password is correct in the Configuration Options
Checking for Media Center at 127.0.0.1:52199


Trying setting a very Simple Password and Username in MC first?
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #240 on: January 19, 2021, 06:48:17 pm »

I had to take it out of the Zipped folder to be able to run as admin - got fooled because I was able to run it from there as non-Admin.

I have already entered my username and psw in MC (Authentication window). They are not complicated but not supersimple. I can't see either in the Config window as they are just dots.

I'm getting:

Error 401 Access Denied
- Check Username / Password is correct in the Configuration Options
Adding "FileKey" Field to MC Library
Check if "FileKey" Field already exists in MC Library
Error 401 Access Denied
- Check Username / Password is correct in the Configuration Options
Adding "ChapterDB #" Field to MC Library
Check if "ChapterDB #" Field already exists in MC Library
Writing Registry Keys to HKEY_CURRENT_USER, SOFTWARE\JRiver\Media Center 27
Writing to Swag of Tools.ini
Media Center Version 27.0.43 Found at 127.0.0.1:52199



So I went back to the Authentication window, put the same user & psw in, went to SWOT > Configure and tried again. Same deal,
Check Username / Password correct in the Configuration options.

Whilst I can only see dots, I am certain that they are the same as I put into Authentication.
Logged

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #241 on: January 19, 2021, 06:52:01 pm »

Changed it to a two character user & Psw - can't go wrong with that (my initials). Still won't accept it. Confirming that I am running it as Admin, btw.
Logged

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #242 on: January 19, 2021, 06:55:11 pm »

The download i took was the second line in the attached screenshot (64bit):
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #243 on: January 19, 2021, 06:59:30 pm »

Yeah, you have to extract SOT from the Zip File to a folder (anywhere) and then run it from there and once run the first time (for Config) there is no need to run it again as Administrator

For some reason MC is not giving read/write access.  I take it you are putting the Username & Password in MC under:
- Authentication (must be on to use the Library Server Sync) check box?

To test the Password/Username from within MC, go to "Media Network --> MCWS (we services) --> ... Open with web browser" it should open up a web page asking for your Username / Password
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #244 on: January 19, 2021, 07:14:08 pm »

For some reason MC is not giving read/write access.  I take it you are putting the Username & Password in MC under:
- Authentication (must be on to use the Library Server Sync) check box?

To test the Password/Username from within MC, go to "Media Network --> MCWS (we services) --> ... Open with web browser" it should open up a web page asking for your Username / Password
Using the second checkbox in the first screenshot. When I go to MCWS using my two letter username and PSW I can see the second screenshot.

Was there something else I needed to do beforehand to do with Library Keys or summink?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #245 on: January 19, 2021, 07:17:44 pm »

Did you have to type in your Username and Password to get to the web page showing the list of functions?
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #246 on: January 19, 2021, 07:19:14 pm »

Yes.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #247 on: January 19, 2021, 07:23:30 pm »

Mmmm - so Authentication is working at the MC end, but some some reason SOT is not able to.  Can you try this test version of SOT
*** removed ***
- Run SOT
- Go to the Configuration Page
- Check the "Turn on Verbose Logging of MCWS Calls"
- Press Test Configuration
- Press Save Configuration
- Select all the items in the Log Box and do a copy and paste of the results here
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14263
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #248 on: January 19, 2021, 07:29:15 pm »

The download i took was the second line in the attached screenshot (64bit):

...also I assume you have 64-Bit windows? (from the "Type here to search" in the windows taskbar type "About" and hit enter.  It should say something like "System type: 64-bit operating systems, x64-based processor)
Logged
JRiver CEO Elect

FenceFurniture

  • Galactic Citizen
  • ****
  • Posts: 420
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #249 on: January 19, 2021, 07:32:05 pm »

As per your instructions:
After Test Config:
Code: [Select]
Success, Media Center Found at 127.0.0.1:52199!
MCWS Status - 200  MCWS Call and Result (see details below)
http://127.0.0.1:52199/MCWS/v1/Authenticate
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK">
<Item Name="Token">XYZXYZ</Item>
<Item Name="ReadOnly">0</Item>
<Item Name="PreLicensed">0</Item>
</Response>

After save Config:

Code: [Select]
MCWS Status - 200  MCWS Call and Result (see details below)
http://127.0.0.1:52199/MCWS/v1/Library/CreateField?Name=FileKey&Expression=FileKey()
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK"/>

Adding "FileKey" Field to MC Library
Check if "FileKey" Field already exists in MC Library
MCWS Status - 200  MCWS Call and Result (see details below)
http://127.0.0.1:52199/MCWS/v1/Library/CreateField?Name=ChapterDB #&Type=string
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK"/>

Adding "ChapterDB #" Field to MC Library
Check if "ChapterDB #" Field already exists in MC Library
MCWS Status - 200  MCWS Call and Result (see details below)
http://127.0.0.1:52199/MCWS/v1/Library/Fields
<Fields>
<Field Name="Filename" DataType="Path" EditType="Filename"/>
.....
<Field Name="Instrum used" DataType="List" EditType="Standard"/>
</Fields>

Writing Registry Keys to HKEY_CURRENT_USER, SOFTWARE\JRiver\Media Center 27
Writing to Swag of Tools.ini
Logged
Pages: 1 2 3 4 [5] 6 7 8 9 ... 14   Go Up