Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MP4noTags

1
Questions / Re : Disable Remove from Disk
November 29, 2013, 21:41:43
Hello dmullinax. I'm a user like you.

Opening the correct file in a file manager is not easy to do in a Linux world. Deleting from gmb is nice to have, I used it several times to remove immediately some music files I disliked as they came in a random play session.

Still you're right, it's dangerous to risk deleting files by mistake.

Perhaps a default to a confirmation dialog would be a good middle ground ?

Just my two cents.
2
Hello,

Switched to github version of gmusicbrowser.
Will tell if bug happens again.

Please tell me if the fix in gmusicbrowser ignores .m4a files without tags and all .mp4 are good.
3
Created a second pull request for the second (and last) issue:

Accept MPEG4 files without ilst box. by fidergo-stephane-gourichon · Pull Request #64 · squentin/gmusicbrowser

I observe that these two pull request fix the issues on my machine, and believe they are a correct fix in general.

Please tell me if they are.

Thank you for your attention.
5
When letting gmusicbrowser play some music, after a few files this error appears when it switches to the next song:

Playing error : Resource not found. at /usr/bin/../share/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 135.


But the next song is successfully playing.

What's irritating is that gmusicbrowser refuses any interaction until I click "Close". But when I do that, it stops playing the song that was correctly playing, forcing to reach a way to play it again (the main window may have been minimized, moved on another desktop, etc).

Here's the code:

sub bus_message_end
{   my ($msg,$error)=($_[1],$_[2]);
   #error msg if $error is true, else eos
   if ($Sink->get_name eq 'server') #FIXME
   { $Sink->set_locked_state(1); $PlayBin->set_state('null'); $Sink->set_locked_state(0); }
   else { $PlayBin->set_state('null'); }
   if ($error)   { ::ErrorPlay($msg->error); }
   else      { ::end_of_file(); }
}


Cheers,
6
Suggestions / Re : Search to include File Names
November 28, 2013, 19:28:49
Hello,

I just found this topic while checking if there's a way in gmusicbrowser to find files by file name.

I don't understand why current code does not include file names in search by default. It is a must when there are files without a tag, and it should not hurt if all files have tags.

I know what to do thanks to this post, but be aware that nothing invites user to click on the magnifier, making the fix unreachable to user (as testified above by LondonJohnny).

Only people that have :

  • a perfectly ordered and tagged collection (tags for all files, all informations in tag)
  • and no actual information in path or file name
would be happy with a search that does not include dir/file match in search.

For all the others, that is nearly everyone, current behavior of not including file name in search will never find many files, which is not what the user expects. See Principle of least astonishment.

In other words, while current feature set is capable, it fails on the "sensible defaults" criterion.

Changing the default search behavior will enhance the user experience for many users a bit.  :)

Thank you for your attention.
7
Hello,

This is an assistance request formulated as a bug report for clarity (it might be an actual bug, after all).

Summary On Xubuntu 13.10 64-bit, it is observed that gmusicbrowser doesn't deal with all expected formats.

Context

Available files have various extensions (.mp3 .mp4 .ogg .m4a .wav .OGG .MP3 .flac .mp2).
All files can be played with e.g. gst123, so they can be played by gmusicbrowser too, can't they ?
tested mp3 files have tags.
tested mp4 and m4a files have no tags.
the .mp2 file is actually an MPEG Layer 3 with tags.

How to reproduce

Drop files in gmusicbrowser main window from file manager.

Expected behavior

All files are added to current playlist

Observed behavior

Files with these extensions are added to playlist: .mp3 .ogg .OGG .MP3 .flac

Files with these extensions are not added to playlist: .mp4 .m4a .wav .mp2

Additional information

Version is 1.1.10-0ubuntu1. It is patched a little by Debian/Ubuntu . I reviewed them, nothing seems related to the issue (patches downloadable on http://archive.ubuntu.com/ubuntu/pool/universe/g/gmusicbrowser/gmusicbrowser_1.1.10-0ubuntu1.debian.tar.gz link retrieved from http://packages.ubuntu.com/saucy/gmusicbrowser ).

Launching gmusicbrowser from command line allows to see stdout/stderr.

When darg-n-dropping a MP4 file with .m4a extension this appears :


Reading Tag for /somepath/somefile.m4a
error, can't read file or not a valid m4a file
can't read tags for /somepath/somefile.m4a
Error reading tag for /somepath/somefile.m4a


As stated above, tested mp4 and m4a files have no tags.

In all other cases, nothing appears.



This appeared once but not every times:


Use of uninitialized value in substitution (s///) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2008.
Use of uninitialized value in substitution (s///) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2008.
Use of uninitialized value in substitution (s///) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2008.
Use of uninitialized value in pattern match (m//) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2009.
Use of uninitialized value within @MissingKeyFields in join or string at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2011.
Use of uninitialized value within @MissingKeyFields in join or string at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2011.
Use of uninitialized value within @MissingKeyFields in join or string at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 2011.
Use of uninitialized value in transliteration (tr///) at (eval 72) line 37.
Use of uninitialized value $val in substitution (s///) at (eval 72) line 37.
Use of uninitialized value in subroutine entry at /usr/bin/gmusicbrowser line 625.
Use of uninitialized value in transliteration (tr///) at (eval 72) line 137.
Use of uninitialized value $val in substitution (s///) at (eval 72) line 137.
Use of uninitialized value $val in hash element at (eval 72) line 138.
Use of uninitialized value in transliteration (tr///) at (eval 72) line 143.
Use of uninitialized value $val in substitution (s///) at (eval 72) line 143.
Use of uninitialized value $name in concatenation (.) or string at (eval 72) line 144.
Use of uninitialized value $name in string eq at (eval 72) line 144.
Use of uninitialized value in pattern match (m//) at (eval 72) line 148.
File '/someotherpath/somefileinexistingcollectionnotrelatedtotheonedropped.mp3' does not exist.
can't read tags for /someotherpath/somefileinexistingcollectionnotrelatedtotheonedropped.mp3



Request : how to ensure .mp4 files and .m4a without tags are included in collection like any other ?

Thanks !