Need to change the path on every file in the library

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Need to change the path on every file in the library

Re: Need to change the path on every file in the library

by mwg47x » Thu Jul 21, 2022 5:12 pm

Thanks for all that info!
I really appreciate it. :D

I will play around with all this tomorrow since I have the day off from work.

Re: Need to change the path on every file in the library

by ZvezdanD » Thu Jul 21, 2022 5:01 pm

I doubt that MM4 is the reason for such behavior, especially since it "worked fine for years and then in the last 2 or 3 months or so it has become a major issue."

In my experience, there are only two reasons why MM could suddenly start behaving badly: a broken database or broken settings stored in MediaMonkey.ini file. Since you have a problem even with files opened from Windows with "Play in MediaMonkey", then the database is not a problem (assuming that you tried to open file that is not already added to the database).

You could test these two possible reasons by renaming the MM.DB and MediaMonkey.ini files temporarily to e.g. MM.DB.bak and MediaMonkey.ini.bak, and when you start the program it will be fresh. Their location is explained here: https://www.mediamonkey.com/support/kno ... ini-files/. Then you could try the same right-click thing in Windows to see if it happens again. After you finish with the test, remove the bak extensions from the original two files. Or, you could try to install MM4 on your wife's computer if it is connected to the same NAS and do the same test with the empty database and clean .ini file.

By the way, MM5 works fine on Win7 (at least for now).

Re: Need to change the path on every file in the library

by mwg47x » Thu Jul 21, 2022 3:50 pm

ZvezdanD wrote: Thu Jul 21, 2022 3:23 pm What happens when you choose "Play in MediaMonkey" and it doesn't work? Is that file appears in Now Playing panel at all? Is its color gray? Are you getting such behavior during regular access to NAS or only after waking it up?
When doing the right click sometimes it just doesn't play.
Yes, it does appear in Now Playing.
Usually after messing with it for a minute I can get it to work when right clicking the music file.
I don't think I have ever seen it go gray when doing it that way. (Right clicking and clicking Play in MediaMonkey)
It only goes gray when trying to play from MMW proper.

This TrueNAS box doesn't go to sleep.

Re: Need to change the path on every file in the library

by ZvezdanD » Thu Jul 21, 2022 3:23 pm

What happens when you choose "Play in MediaMonkey" and it doesn't work? Is that file appears in Now Playing panel at all? Is its color gray? Are you getting such behavior during regular access to NAS or only after waking it up?

Re: Need to change the path on every file in the library

by mwg47x » Thu Jul 21, 2022 3:14 pm

ZvezdanD wrote: Thu Jul 21, 2022 3:05 pm
mwg47x wrote: Thu Jul 21, 2022 2:56 pm Everything works perfectly except MMW4.
This is not what you said before:
mwg47x wrote: Mon Jul 18, 2022 1:20 pm So I was wrong, right clicking and starting playback from Windows doesn't always work either.
Your correct, I did say that but I wasn't clear in what I meant which can be a fault of mine at times...

If I right click a music file in Windows and click "Play in MediaMonkey", sometimes it works and other times it doesn't.
However, if I do an "open with" and choose VLC or Winamp, it does work 100% of the time.
I want to use MMW because I can pipe it to my 2 channel stereo system with good speakers etc using DLNA as the player.

Re: Need to change the path on every file in the library

by ZvezdanD » Thu Jul 21, 2022 3:05 pm

mwg47x wrote: Thu Jul 21, 2022 2:56 pm Everything works perfectly except MMW4.
This is not what you said before:
mwg47x wrote: Mon Jul 18, 2022 1:20 pm So I was wrong, right clicking and starting playback from Windows doesn't always work either.

Re: Need to change the path on every file in the library

by mwg47x » Thu Jul 21, 2022 2:56 pm

Thanks for posting.
I was not aware of that script and will take a look at it.

This isn't a hardware issue.
Everything works perfectly except MMW4.
I can play back music using WMP, VLC or Winamp just fine from the NAS.
Only MMW4 gives me problems.

Re: Need to change the path on every file in the library

by ZvezdanD » Thu Jul 21, 2022 6:05 am

You could do exactly what you want with the Update Location of Files in Database add-on, assuming that your \\IPaddress\sharename physically exists.

However, I doubt that you will get anything better with such change. If you have an issue playing files in Windows, then your NAS and/or network connection is problematic, not software. Changing program or even OS cannot fix a broken hardware.

Re: Need to change the path on every file in the library

by Peke » Wed Jul 20, 2022 7:29 pm

mwg47x wrote: Tue Jul 19, 2022 6:50 am So, I have decided to install Win 10 into a Virtual machine.
I will load MM5 on that VM.
I can just import the MM4 database, correct?
I assume that having the path as \\servername\sharename in MM5 doesn't cause the issues that it does in MM4?
You mentioned that I should install MM5 as a portable install.
I'm curious as to why that is better.
Is it to avoid the issues I am having?
1. Yes.
2. Yes, correct MM5 should not have issues with UNC paths
3, 4. No system files access eg. better compatibility with VM versions of Windows and all is under same roof in MM install folder
5. Yes and it is easier to fully backup full working copy of MM..

Re: Need to change the path on every file in the library

by mwg47x » Tue Jul 19, 2022 6:50 am

I think I am going to take some of your advice and approach this issue differently.
Changing the name on that box is going to break a lot of things and I just don't want to deal with it.
Especially since I can't be 100% sure it will even fix my issue.

So, I have decided to install Win 10 into a Virtual machine.
I will load MM5 on that VM.
I can just import the MM4 database, correct?
I assume that having the path as \\servername\sharename in MM5 doesn't cause the issues that it does in MM4?
You mentioned that I should install MM5 as a portable install.
I'm curious as to why that is better.
Is it to avoid the issues I am having?

Re: Need to change the path on every file in the library

by Peke » Mon Jul 18, 2022 7:18 pm

mwg47x wrote: Mon Jul 18, 2022 11:52 am MM5 requires Win10 which I hate and do not use.
I was early adopter of Win 10. except telemetry it is very stable OS especially if you enable GOD MODE control Panel.
mwg47x wrote: Mon Jul 18, 2022 1:20 pm What is really irritating is that this worked fine for years and then in the last 2 or 3 months or so it has become a major issue.
I can't for the life of me figure out what changed to cause this suddenly but I do have a feeling it was one of the updates to TrueNAS.
Do not exclude MS that quickly.

Please keep us posted.

Re: Need to change the path on every file in the library

by mwg47x » Mon Jul 18, 2022 1:20 pm

So I was wrong, right clicking and starting playback from Windows doesn't always work either.
In looking at this more, I remembered that SMB v1 was disabled in TrueNAS by default.
I went into the SMB config on TrueNAS and found a checkbox to turn that on which I did.
This has helped but I'm not convinced it is the solution yet.

What is really irritating is that this worked fine for years and then in the last 2 or 3 months or so it has become a major issue.
I can't for the life of me figure out what changed to cause this suddenly but I do have a feeling it was one of the updates to TrueNAS.

Re: Need to change the path on every file in the library

by mwg47x » Mon Jul 18, 2022 11:52 am

Peke wrote: Mon Jul 18, 2022 9:43 am Hi,
Why don't you just install latest MM5 as Portable and play.

Also if you get back to Grayed track and play it again does it play completely or just few seconds and skips?

WiFi can be problematic, if you have Auto Switch channels. I created Asus Mesh (WiFi 6 4300 Mbps LACP on 4 LAN ports Switch) around house to avoid issues with mobile devices, tablets, STB and Android TV that depends on WiFi, but server is on L2+ Switch in LACP 2Gb/s (1+1 LAN port), and main PC is wired.

As for DNS, looks like I will not avoid to dig in Mikrotik again and set it to be DNS LAN server+Proxy alongside firewall function. THX for offer, I maybe will need some suggestions.
MM5 requires Win10 which I hate and do not use.

If I go back to the greyed out track, sometimes it refuses to play at all and other times it will play a couple of seconds and skip again.
No WiFi here. The house is wired and everything is on a wired 1Gbps LAN.
What is interesting is that if I browse the NAS and right click the files that MM has greyed out and click "Play in MediaMonkey", they play just fine.
That is why I am hoping that changing the path to the IP address versus the host name will help.

Re: Need to change the path on every file in the library

by Peke » Mon Jul 18, 2022 9:43 am

Hi,
Why don't you just install latest MM5 as Portable and play.

Also if you get back to Grayed track and play it again does it play completely or just few seconds and skips?

WiFi can be problematic, if you have Auto Switch channels. I created Asus Mesh (WiFi 6 4300 Mbps LACP on 4 LAN ports Switch) around house to avoid issues with mobile devices, tablets, STB and Android TV that depends on WiFi, but server is on L2+ Switch in LACP 2Gb/s (1+1 LAN port), and main PC is wired.

As for DNS, looks like I will not avoid to dig in Mikrotik again and set it to be DNS LAN server+Proxy alongside firewall function. THX for offer, I maybe will need some suggestions.

Re: Need to change the path on every file in the library

by mwg47x » Mon Jul 18, 2022 7:28 am

So editing the database directly is a no go.
Got it.

Let me ask you this - If I do this, is it going to help with my issue?
Sometimes MM will actually play a song for 2 to 5 seconds, then it stops and goes to the next song in the playlist.
The song that played for a few seconds will be greyed out in MMW4.
Drives me crazy.
If I do all this work, is this even going to help or am I wasting my time?

To answer your DNS question - I have a pfSense box as my router and that is the main DNS server for the network.
All lookups for my domain are forwarded from pfSense to one of the domain controllers, which also acts as a DNS and DHCP server.
If you want any specifics, just ask.
I'll help in anyway I can...

Top