Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guess Tags
17-06-2017, 07:00
Post: #1
Guess Tags
I use untagged files in Artist/Album/Track format. Logitech Media Server has a feature to guess tags, if they are missing, based on the directory structure and file name. Any chance of adding this feature?

Thanks,
Mike
Find all posts by this user
Quote this message in a reply
18-06-2017, 05:06
Post: #2
RE: Guess Tags
I don't have any plans to add this to MinimServer.

It might be possible to add these tags to your library in a batch operation using a tagging program such as Mp3tag.
Find all posts by this user
Quote this message in a reply
18-06-2017, 16:21
Post: #3
RE: Guess Tags
(18-06-2017 05:06)simoncn Wrote:  I don't have any plans to add this to MinimServer.

It might be possible to add these tags to your library in a batch operation using a tagging program such as Mp3tag.

I have considered batch converting, but I prefer to just rename a folder or file instead of messing with the actual file. Is there any way to send a default value like a space for a missing tag?

One other question, off topic, is there a way to call different external programs to upsample, etc. than ffmpeg, ie. sox, which has more features, or brutefir, etc.?

Thanks again Simon, great program
Find all posts by this user
Quote this message in a reply
19-06-2017, 06:49
Post: #4
RE: Guess Tags
(18-06-2017 16:21)ps3guy Wrote:  I have considered batch converting, but I prefer to just rename a folder or file instead of messing with the actual file. Is there any way to send a default value like a space for a missing tag?

This isn't possible and I don't see how having a tag value of space would be helpful.

Quote:One other question, off topic, is there a way to call different external programs to upsample, etc. than ffmpeg, ie. sox, which has more features, or brutefir, etc.?

Thanks again Simon, great program

You can make MinimStreamer call ffmpeg with libsoxr for upsampling by using the convOut option of the stream.options property. See the Streaming options section of the MinimStreamer user guide for more information. (The forum won't let me post a direct link to this section.)
Find all posts by this user
Quote this message in a reply
19-06-2017, 08:16
Post: #5
RE: Guess Tags
(17-06-2017 07:00)ps3guy Wrote:  I use untagged files in Artist/Album/Track format. Logitech Media Server has a feature to guess tags, if they are missing, based on the directory structure and file name. Any chance of adding this feature?

Thanks,
Mike
Creating tags based purely on dirname/filename is not great. Even if your files are all organized nicely artist/album/file there is still the difficulty of decoding the filename itself, and the additional complexity of how multidisc releases are dealt with. Even if you deal with that you still have to deal with the limitations of the filenames themselves (which differ for different operating systems and drive formats). Such as not be able to store accents like é and just storing e, using underscore for space, case lost , limitations on file length ectera.And filenames will only be able to retrieve a very basic set of metadata (typically artist, album, trackno,track title).

Automated tagging based on online sources is far more accurate and effective.
Visit this user's website Find all posts by this user
Quote this message in a reply
19-06-2017, 15:42
Post: #6
RE: Guess Tags
(19-06-2017 06:49)simoncn Wrote:  
(18-06-2017 16:21)ps3guy Wrote:  I have considered batch converting, but I prefer to just rename a folder or file instead of messing with the actual file. Is there any way to send a default value like a space for a missing tag?

This isn't possible and I don't see how having a tag value of space would be helpful.

Quote:One other question, off topic, is there a way to call different external programs to upsample, etc. than ffmpeg, ie. sox, which has more features, or brutefir, etc.?

Thanks again Simon, great program

You can make MinimStreamer call ffmpeg with libsoxr for upsampling by using the convOut option of the stream.options property. See the Streaming options section of the MinimStreamer user guide for more information. (The forum won't let me post a direct link to this section.)

The reason for the space was so that renderers would show a space instead of the word unkown.

I only use artist, album, tracknumber, trackname but paultaylor's comment about portability of filename issues has me considering batch tagging everything

I am currently using the sox options within ffmpeg, but would like to be able to use the full sox binary and other programs like brutefir, etc.
Find all posts by this user
Quote this message in a reply
26-06-2017, 05:19
Post: #7
RE: Guess Tags
(19-06-2017 15:42)ps3guy Wrote:  I am currently using the sox options within ffmpeg, but would like to be able to use the full sox binary and other programs like brutefir, etc.

MinimServer uses ffmpeg/avconv for transcoding between different audio formats and sample rates. The convOut option in stream.options provides support for using other ffmpeg filters and was added because it was simple to implement as an add-on to the existing transcoding usage.

Adding support for calling sox or brutefir directly (with or without also calling ffmpeg for transcoding) would be a lot more work to implement and would require a very compelling justification. As an example of the issues this would raise, the options passed to sox or brutefir would need to be constrained so that there is no interference with any other functionality of MinimServer/MinimStreamer. Can you provide details of the usage scenarios for which calling these programs directly would be required?
Find all posts by this user
Quote this message in a reply
26-06-2017, 22:11
Post: #8
RE: Guess Tags
(26-06-2017 05:19)simoncn Wrote:  
(19-06-2017 15:42)ps3guy Wrote:  I am currently using the sox options within ffmpeg, but would like to be able to use the full sox binary and other programs like brutefir, etc.

MinimServer uses ffmpeg/avconv for transcoding between different audio formats and sample rates. The convOut option in stream.options provides support for using other ffmpeg filters and was added because it was simple to implement as an add-on to the existing transcoding usage.

Adding support for calling sox or brutefir directly (with or without also calling ffmpeg for transcoding) would be a lot more work to implement and would require a very compelling justification. As an example of the issues this would raise, the options passed to sox or brutefir would need to be constrained so that there is no interference with any other functionality of MinimServer/MinimStreamer. Can you provide details of the usage scenarios for which calling these programs directly would be required?

Some of the options in sox allow more control of the upsampling such as miminum phase and intermediate phase. Brutefir support would allow room correction filters to be applied. Programs like hqplayer, brick, smarc 3, etc provide better/different upsampling than sox, ideally it would be nice to be able to use anything but I'm guessing it's probably a huge undertaking and can of worms.
Find all posts by this user
Quote this message in a reply
27-06-2017, 03:12
Post: #9
RE: Guess Tags
Thanks for this information. This feels more like renderer-side functionality than server-side functionality and is some way beyond the scope of the current MinimStreamer design and implementation. I will keep your request in mind but it is unlikely that MinimStreamer would add support for this.
Find all posts by this user
Quote this message in a reply
27-06-2017, 03:37
Post: #10
RE: Guess Tags
(27-06-2017 03:12)simoncn Wrote:  Thanks for this information. This feels more like renderer-side functionality than server-side functionality and is some way beyond the scope of the current MinimStreamer design and implementation. I will keep your request in mind but it is unlikely that MinimStreamer would add support for this.

Logitech Media Server will do this from the server side at least with sox, brutefir and ffmpeg, and potentially some other command line programs. Unfortunately this does not work with their upnp plugin only using their own protocol to a render like squeezelite and it is not straight forward to get working. Some renderers like squeezelite can also do additional processing if they are powerful enough. HQplayer and roon are using powerful servers to upsample as high as 512dsd with low power network renderers feeding the dac. Interesting times. Thanks again, great job on minimserver.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)