Nemo - View Additional Attributes in File details

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

Nemo - View Additional Attributes in File details

Postby anandrkris on Mon Jun 10, 2013 12:29 pm

Hi,

For video files, i would like to see the duration of the file w/o opening it. Is this currently available? View > Visible columns has very few options in my opinion.

Regards,
Anand
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Linux Mint is funded by ads and donations.
 

Re: Nemo - View Additional Attributes in File details

Postby eanfrid on Mon Jun 10, 2013 12:43 pm

You can install "mediainfo-gui" and create a nemo script action available with a right-click on the file in nemo.

Open your "~/.local/share/nemo/actions" folder and create this file: mediainfo.nemo_action, then put this inside:
Code: Select all
[Nemo Action]
Name=Media properties
Comment=Media properties
Exec=mediainfo-gui %F
Icon-Name=mediainfo
Selection=S
Extensions=mp3;avi;flv;<whatever>;
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1618
Joined: Mon Apr 30, 2012 2:49 am
Location: there is no place like ~

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Mon Jun 10, 2013 1:26 pm

Thanks. It worked like a charm. :) A helpful and neat workaround but appearing as a column would be better, say, to sort, by duration,etc. I should perhaps put a feature request on this.

Update - https://github.com/linuxmint/nemo/issues/337 added here.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 7:47 am

Hello!

I installed "mediainfo-gui" and made that file in "~/.local/share/nemo/actions" folder but nothing new happens... Can you help me with this? I don't know where I made a wrong step...
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby eanfrid on Wed Jul 10, 2013 8:11 am

So what is the actual content of your "/home/<username>/.local/share/nemo/actions/mediainfo.nemo_action" ?
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1618
Joined: Mon Apr 30, 2012 2:49 am
Location: there is no place like ~

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 8:19 am

I put the code you give:
Code: Select all
[Nemo Action]
Name=Media properties
Comment=Media properties
Exec=mediainfo-gui %F
Icon-Name=mediainfo
Selection=S
Extensions=mp3;avi;flv;<whatever>;
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby eanfrid on Wed Jul 10, 2013 8:39 am

"<whatever>" is supposed to be a valid file extension in this file :)

Mine is:
Code: Select all
[Nemo Action]
Name=Propriétés média
Comment=Propriétés Mediainfo
Exec=mediainfo-gui %F
Icon-Name=mediainfo
Selection=S
Extensions=mp3;avi;flv;webm;mp4;mkv;

Also, maybe are you running an older nemo release where scripts support was not yet actually working ?
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1618
Joined: Mon Apr 30, 2012 2:49 am
Location: there is no place like ~

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 8:46 am

Haha, silly me! :D :D

I'm using Nemo 1.8.3
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 8:52 am

But still, when I change that, nothing happens... Do I need to do something else?
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Wed Jul 10, 2013 9:13 am

TRZALICA wrote:But still, when I change that, nothing happens... Do I need to do something else?

There should be an additional option "Media properties" when you right-click a media file in Nemo. It doesnt show up?
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 9:20 am

After restart it shows up... Weird, before even for bigger corrections or modifications restart wasn't necessary...

Thanks for help!!

Are there any signs that this will be implemented in Nemo in a near future?? Because, this is quite irritating lapse...

P.S. I still can't see how long video file is on this way... :/
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Wed Jul 10, 2013 9:42 am

Hmm. I am not currentl;y at my home PC where I have this installed. But I remember seeing duration in a pop-up like this.
Image

Could you add your comments https://github.com/linuxmint/nemo/issues/337 here? If more users request for this, perhaps might get picked up soon.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Wed Jul 10, 2013 2:51 pm

After I once again do the steps as it was described, it finally works! :)

I will add my comment on github and I hope that Mint team will add these functionalities soon.
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Wed Sep 11, 2013 4:35 am

Good news. Looks like it is fixed and should be available in daily build ppa shortly, as per developer comments.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Thu Oct 10, 2013 5:57 am

anandrkris wrote:Good news. Looks like it is fixed and should be available in daily build ppa shortly, as per developer comments.


But it isn't available yet :(
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Thu Oct 10, 2013 11:58 am

Its working for me. You have to install nemo-media-columns from the repo.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Thu Oct 10, 2013 3:21 pm

How to do that? I searched in Synaptic and nothing there... Where did you find that?
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby anandrkris on Fri Oct 11, 2013 10:47 am

http://ppa.launchpad.net/gwendal-lebihan-dev/cinnamon-nightly/ubuntu/ - Check here and add the PPA. Am running development daily build of cinnamon which gives latest updates. Please note it could be unstable although I haven't faced any issues. Obviously, not recommended for production usage.
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 835
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: Nemo - View Additional Attributes in File details

Postby TRZALICA on Fri Oct 11, 2013 6:30 pm

Thanks! :) I appreciate your help!
TRZALICA
Level 2
Level 2
 
Posts: 50
Joined: Tue Mar 06, 2012 5:43 pm

Re: Nemo - View Additional Attributes in File details

Postby bobzilla on Wed Feb 19, 2014 12:59 am

Sorry to bump but that line should say
Code: Select all
Exec=mediainfo-gui "%F"


The fix doesn't seem to have made it to the Arch repos yet.
bobzilla
Level 1
Level 1
 
Posts: 1
Joined: Wed Feb 19, 2014 12:47 am

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 9 guests