Re: [SlimDevices: Plugins] Announce: Material Skin
Has anyone noticed this weird highlighting issue as of the past few days? It only seems to happen on the main menu, not when drilling down. 26727 +---+ |Filename: Screen Shot 2019-02-11 at 11.25.24 AM.jpg| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=26727| +---+ BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=109624 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] MusicIP Headless w/ MergerFS (FUSE)
Roland0 wrote: > The stat call is just to read information about files / dirs (which you > can do even if you don't have permissions to access it), after that, the > process exits (and I can't even see what command the process is) > I'm not familiar with how MIP scans work, as I haven't used it for > years. > Generally, identify which program is used to scan (is this done by the > server? iirc, there's a standalone program to do this), and run this > program directly with strace -o miptrace.log -f > Usually, lines like > open("/storage/file.flac", O_RDONLY) = 3 > and subsequent lines referencing the file descriptor (3 in > this example) > will be of interest Thanks for all the help. I might be at a dead end though. Running mipcore (the fingerprinting program) seems to work fine. It successfully reads the file I give it and creates a fingerprint file. So it seems that something in the main MusicMagicServer application is not reading that directory properly (and therefore not passing any files off to mipcore for fingerprinting). I might try creating a small C program that calls stat64 w/ the given path to see what it does, but without the MusicMagicServer source, probably won't be able to fix any calls. I really appreciate all your help and info in trying to debug this though! BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=110092 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] MusicIP Headless w/ MergerFS (FUSE)
Roland0 wrote: > the sudo in the command posted above is merely used to execute a command > as the user MIP is run by, so in this context it's necessary. I switched to root and ran the cp command w/ sudo as the user MIP runs as and did not see any issues. The file copied correctly to /tmp. > Run the MIP scan with 'strace' (https://linux.die.net/man/1/strace), > redirecting it's output to a file and check it for anything related to > the file(s) MIP can't access. I didn't see any access issues in the strace. I'm not a C dev, so a lot of this doesn't make much sense to me, but here is what I think is the relevant area: > [pid 22714] clone(strace: Process 22719 attached > child_stack=0xf73ff424, > flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, > parent_tidptr=0xf73ffba8, tls={entry_number=12, base_addr=0xf73ffb40, > limit=0x0f, seg_32bit=1, contents=0, read_exec_only=0, > limit_in_pages=1, seg_not_present=0, useable=1}, > child_tidptr=0xf73ffba8) = 22719 > [pid 22719] set_robust_list(0xf73ffbb0, 12 > [pid 22714] accept(3, > [pid 22719] <... set_robust_list resumed> ) = 0 > [pid 22718] mmap2(NULL, 8392704, PROT_NONE, > MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 > [pid 22719] recv(4, > [pid 22718] <... mmap2 resumed> ) = 0xf59ff000 > [pid 22718] mprotect(0xf5a0, 8388608, > PROT_READ|PROT_WRITE|PROT_EXEC) = 0 > [pid 22718] clone(strace: Process 22720 attached > > [pid 22720] set_robust_list(0xf61ffbb0, 12 > [pid 22718] <... clone resumed> child_stack=0xf61ff424, > flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, > parent_tidptr=0xf61ffba8, tls={entry_number=12, base_addr=0xf61ffb40, > limit=0x0f, seg_32bit=1, contents=0, read_exec_only=0, > limit_in_pages=1, seg_not_present=0, useable=1}, > child_tidptr=0xf61ffba8) = 22720 > [pid 22720] <... set_robust_list resumed> ) = 0 > [pid 22718] send(7, "HTTP/1.0 302 Found\r\nLocation: /s"..., 41, 0 > > [pid 22720] time(NULL) = 1548612482 > (2019-01-27T10:08:02-0800) > [pid 22718] <... send resumed> )= 41 > [pid 22720] openat(AT_FDCWD, "/sys/devices/system/cpu/online", > O_RDONLY|O_CLOEXEC > [pid 22718] close(7 > [pid 22720] <... openat resumed> ) = 8 > [pid 22718] <... close resumed> ) = 0 > [pid 22720] read(8, > [pid 22718] madvise(0xf63fe000, 8372224, MADV_DONTNEED > [pid 22720] <... read resumed> "0-3\n", 8192) = 4 > [pid 22718] <... madvise resumed> ) = 0 > [pid 22720] close(8 > [pid 22718] exit(0 > [pid 22720] <... close resumed> ) = 0 > [pid 22718] <... exit resumed>) = ? > [pid 22720] mmap2(NULL, 2097152, PROT_NONE, > MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 > [pid 22718] +++ exited with 0 +++ > [pid 22720] <... mmap2 resumed> ) = 0xf57ff000 > [pid 22720] munmap(0xf57ff000, 4096)= 0 > [pid 22720] munmap(0xf590, 1044480) = 0 > [pid 22720] mprotect(0xf580, 135168, PROT_READ|PROT_WRITE) = 0 > [pid 22720] stat64("/storage/music/Weezer/2019 - Teal Album (flac)", > {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 > [pid 22720] madvise(0xf59ff000, 8372224, MADV_DONTNEED) = 0 > [pid 22720] exit(0) = ? > [pid 22720] +++ exited with 0 +++ > [pid 22719] <... recv resumed> "GET /server HTTP/1.1\r\nHost: 192."..., > 4095, 0) = 1448 > [pid 22719] stat64("/opt/MusicIP/server/index.html", > {st_mode=S_IFREG|0664, st_size=6561, ...}) = 0 > [pid 22719] openat(AT_FDCWD, "/opt/MusicIP/server/index.html", O_RDONLY) > = 7 > [pid 22719] read(7, "\r\n\r\nMusicIP H"..., 6561) = > 6561 > [pid 22719] close(7)= 0 > [pid 22719] stat64("/home/administrator/.MusicMagic/default.m3lib", > {st_mode=S_IFREG|0600, st_size=10858025, ...}) = 0 > [pid 22719] send(4, "HTTP/1.0 200 OK\r\nCache-Control: "..., 7111, 0) = > 7111 > [pid 22719] close(4)= 0 > [pid 22719] madvise(0xf6bff000, 8372224, MADV_DONTNEED) = 0 > [pid 22719] exit(0) = ? > [pid 22719] +++ exited with 0 +++ > [pid 22715] <... _newselect resumed> ) = 0 (Timeout) > [pid 22715] sendto(5, "\0\0\204\0\0\0\0\6\0\0\0\0\33MusicMagic Mixer > on"..., 215, 0, {sa_family=AF_INET, sin_port=htons(5353), > sin_addr=inet_addr("224.0.0.251")}, 16) = 215 > pid 22720 is what seems to be looking for files in the directory I specified (Weezer's latest cover album). I'm guessing the = 0 is the return code of that function, which seems to indicate no errors, but once again I'm not totally sure what to make of this. BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=110092 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] MusicIP Headless w/ MergerFS (FUSE)
Roland0 wrote: > So user_allow_other is enabled in /etc/fuse.conf ? It is not enabled, but user_allow_other should not be needed, as fstab runs as root and is therefore allowed to specify the allow_other option. >From my understanding, user_allow_other lets non-root users run the mount command using the allow_other option, but that shouldn't come into play w/ fstab. > What I meant is if you can't get MergerFS to work, you can always just > mount the drives (eg. as /mnt/disk1, /mnt/disk2, ..., create > /mnt/storage, and ln -s /mnt/disk? into it). Not elegant, but workable > as long as you don't need any of the advanced MergerFS features I do use the merged filesystem for a lot of other automation and having MergerFS handle all free space allocation, etc... is definitely desirable. > Check which user MIP runs as, and try accessing the file as that user. > e.g. as root, run: sudo -g mipuser -u mipuser /bin/cp > /storage/path/to/file.flac /tmp I run MIP w/ my main user/admin account, so no need for sudo there, but that account has no problems reading and writing from and to the pool, so I don't think it's a permissions issue (at least as far as I can tell). BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=110092 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] MusicIP Headless w/ MergerFS (FUSE)
Hey, thanks for the response! I do have the allow_other mont option enabled, and have no other permissions issues with other software. Just for reference, here is my fstab entry: /mnt/data/* /storage fuse.mergerfs defaults,allow_other,direct_io,use_ino,category.create=lfs,moveonenospc=true,minfreespace=20G,fsname=mergerfsPool 0 0 I also tried symlinking to the mergerfs pool but it still does not work; is that what you were advising to do? It seems that as soon as MIP hits the pool through the symlink it fails. I don't see any errors in either the log.txt in MIP or the syslog either, so I'm not really sure how to debug further. BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=110092 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] MusicIP Headless w/ MergerFS (FUSE)
Hey, I've been running mhddfs for a while now and MusicIP was able to read my pooled mountpoint fine. However, recently, I switched to MergerFS due to some weird seg-fault errors that mhddfs was throwing. Overall, MergerFS way better, completely stable, faster & still maintained. However, when I tried to add new music, MusicIP doesn't see any files. I tried passing in a single mounted drive and it works fine, but when I switch to the pooled mount, it no longer reads it. The owner & permissions on both the real device as well as the FUSE mount are the same. It seems that for some reason, MusicIP can't correctly navigate to the pooled path. Has anyone else here had any experience with this? Is there a way to analyze the files using the individual drives, but then change the path in the default.m3lib after the fact, so LMS will recognize it as the same file? I thought that maybe I could use a Windows box to do the fingerprinting and LMS would pick that up, but I think I run into the same problem, since MusicIP does need to be running on my server w/ the correct paths in order to work. A last ditch effort I thought of was to break my LMS library up into the real devices (e.g. add /mnt/data/disk1/music, /mnt/data/disk2/music, etc...) and then running MusicIP similarly so the paths match. But that completely defeats the purpose of my drive pooling (/storage/music). Any help or ideas would be greatly appreciated! BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=110092 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.0.0 - Spotify Connect for your Squeezebox
mherger wrote: > > [18-12-26 15:27:26.9324] > > Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) > > Connect daemon is running, but not connected - shutting down to force > > restart: 00:04:20:16:ac:4b > > I think that's an issue we've seen recently where Spotify would return > an unexpected response. Would the same happen if you left the Spotify > app open? Or does the player only disappear once the app is closed or > has been backgrounded for a while? > > -- > > Michael The (short) logs I provided happened with the app open the entire time. I was playing a song on one player and then switched to a second player (a grouped player including the player that was previously playing individually). After the switch, the music stopped playing and I noticed an error in the logs (and the original player I was playing on disappeared from the list). Then I stopped playback, and restarted it again and it played on the group player, but ALL other Squeezeboxes disappeared at that point. I then stopped playback again and restarted it and all the players reappeared after a minute or 2. The Spotify app was open the entire time this happened (a matter of 3-4 minutes total). BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=108561 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Spotty 2.0.0 - Spotify Connect for your Squeezebox
Hey, I did brief search of this thread and found some similar posts, but nothing really popped up w/ the errors I'm seeing in the logs. I notice that my squeezeboxes are constantly disappearing from the Spotify Android app (tried clearing the app's storage/cache but no success.) Here's an expert of what I'm seeing. I notice that a few minutes after the error happens, the players will show up again (guessing due to the mentioned restart) [18-12-26 15:27:26.9324] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:16:ac:4b [18-12-26 15:28:30.7478] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:7f:04 [18-12-26 15:29:48.9518] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:7f:04 Sometimes it seems to occur when switching players (other times just seemingly randomly). I am using the group players plugin to sync a group of players, not sure if that has any impact/negative interaction w/ this plugin or not, but any help would be great. BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=108561 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Spotify Premium Plugin (Beta)
Since Spotify opened up streaming to Android and other devices, do you think there's a chance we could get the plugin working for all Spotify users, not just premium members? BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Windows 8 App
Is there any way you could integrate the standard Windows Media controls into this? I use the app on my PC and would like to control the audio via my keyboard (next/prev, play/pause, etc...) The web version of the interface doesn't offer these controls, so I got yours hoping that I'd be able to do this. BreakTheStatic's Profile: http://forums.slimdevices.com/member.php?userid=42048 View this thread: http://forums.slimdevices.com/showthread.php?t=97998 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins