Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
21
foobar2000 mobile / Editing metadata for genres and composers
Last post by TomH1138 -
Sorry, but I have another question...

I have a small handful of songs currently on my phone while I'm testing out Foobar2000, and I want to edit the genres on a lot of them. Some read "Christian" while others read "Christian & Gospel"; obviously this should be all one category. The Star Wars music that reads as "Film" is understandable, but I would rather change it to the more descriptive "Soundtrack." Then I have a handful of classic rock songs that Foobar2000 can't identify and so labels them as (Unknown Genre).

There doesn't seem to be a way to edit it in the mobile version itself; the program seems to only report the information that's already there. The wrench icon points to a place where I can choose the playback order, change the location of the folder that it looks in, etc., but there doesn't seem to be a place to edit this information.

I found a way to edit the genre by right-clicking the files, choosing "Properties," and then changing the genre under the "Details" tab .... but that's all under the hard drive. When I use File Explorer on the songs directly on the phone, "Details" doesn't allow me that level of editing.

I also can't find where to edit composers vs. conductors and other artists. Again using my Star Wars music as an example, I have an "Empire Strikes Back" album officially done by Williams himself, and I also have another version of the album by conductor Charles Gerhardt. The metadata keeps defaulting to Williams as the performer, and treats both albums as though they're the exact same recording.

Plugging in my phone automatically pops up Windows Media Player, so I tried syncing the data that way, but WMP freaks out looking at the content on my phone, providing even fewer details about album name, artist, etc., and quadruplicating tracks that are actually only on my phone once.

Is there something I'm missing? Do I need to have the desktop version of Foobar2000 to edit and to act in sync with the mobile version?

I'm really enjoying the app so far; just a few more growing pains I'm trying to get through in terms of learning to use this. Thanks (again) in advance!
22
foobar2000 mobile / Re: Adding album cover art
Last post by TomH1138 -
The songs are on my smartphone. However, once I exited and re-entered the program, I discovered that most of the songs now have the album viewable on the playlist. There are only a small handful of songs that don't show the art for whatever reason, and that's livable. Thanks again so much for your help!
25
3rd Party Plugins - (fb2k) / Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3
Last post by marc2k3 -
If there are locks in place preventing addition of items, any attempts to add always silently fail. There isn't really anything you have to do.

But to make things nicer, feedback can be provided during drag/drop operations that change the mouse pointer to show dropping is allowed/not permitted.

action.Effect should be zero or one depending on whatever conditions you determine...

https://jscript-panel.github.io/docs/interfaces/IDropAction/

edit: just realised I really need to update that to take in to account playlist locks that aren't autoplaylists. I think the bulk of that was written before they were supported.





27
3rd Party Plugins - (fb2k) / Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3
Last post by marc2k3 -
I don't think that's good enough. Deleting autoplaylists/locked playlists should be fine except when there is a lock in place that prevents removal. You can check the type of lock with plman.GetPlaylistLockFilterMask - I use these helper functions in jsplaylist/smooth playlist manager...

Code: [Select]
function playlist_can_rename(playlistIndex) {
return !(plman.GetPlaylistLockFilterMask(playlistIndex) & PlaylistLockFilterMask.filter_rename);
}

function playlist_can_remove(playlistIndex) {
return !(plman.GetPlaylistLockFilterMask(playlistIndex) & PlaylistLockFilterMask.filter_remove_playlist);
}

https://jscript-panel.github.io/docs/namespaces/plman/#plmangetplaylistlockfiltermaskplaylistindex

PlaylistLockFilterMask is defined in helpers.txt and also here...

https://jscript-panel.github.io/docs/flags/#playlistlockfiltermask

I don't think there should be popup messages either. It should silently fail when using the delete key and menu items should be greyed out when certain actions are not permissable. See here for example...

https://github.com/jscript-panel/component/blob/66c096863ee57acfc4d24312627cd2e292c5692f/samples/smooth/jsspm.js#L696-L697

EnabledMenuIf is a simple function inside helpers.txt..

https://github.com/jscript-panel/component/blob/66c096863ee57acfc4d24312627cd2e292c5692f/helpers.txt#L220





29
3rd Party Plugins - (fb2k) / Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3
Last post by zeremy -
@etip
Feedback:
Crashing when trying to delete a locked playlist.
Adding the following at line 1147 in the this.delete = function ()  stops the process.

Code: [Select]
			if (plman.GetPlaylistLockName(plman.FindByGUID(this.display[selected.index].id))){
var message = "Unable to delete. Playlist is locked by " + plman.GetPlaylistLockName(plman.FindByGUID(this.display[selected.index].id));
utils.ShowPopupMessage(message, "pl_organizer")
console.log(message);
return;
}

And similar validation is required also for "Rename playlist" if such restriction is already applied to the playlist.  
30
3rd Party Plugins - (fb2k) / Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3
Last post by hexenszene -
You can stick them all in the same folder.

Three of them are now needed there. The Main.js file is the one that gets loaded into the actual JScript panel - when you configure it (or go to Settings -> Configure if it's alreads setup), you can either paste in the contents of Main.js or go Tools -> Import and load the file (annoyingly the file dialog is looking for *.txt but you can easily change that).
 

That worked great.  Thanks!  The fact that the JSP import tool was looking for txts was really throwing me off.