IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Feature request - text-pastable tags, V2.54
chrisjj
post Nov 12 2013, 01:01
Post #1


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



Please could the tags copied to the clipboard be made pastable as text e.g. into a text editor? Thanks.
Go to the top of the page
 
+Quote Post
ohrenkino
post Nov 12 2013, 08:51
Post #2


Member


Group: Full Members
Posts: 8289
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.81b



ZITAT(chrisjj @ Nov 12 2013, 01:01) *
Please could the tags copied to the clipboard be made pastable as text e.g. into a text editor? Thanks.

AFAIK it is already possible to copy a single field to the clipboard.
For more fields there is the export function which creates a text file.
I think that the clipboard has a limited size whereas a textfile may become as long as there is space on the storage device.
Also: you probably do not see all fields in the files list but you can use an export script that exports all data.
You may define the meta format for the export (plain, rtf, html, probably xml) which saves you tedious conversions. I doubt that the clipboard supplies these functions.

This post has been edited by ohrenkino: Nov 12 2013, 08:53


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post Nov 12 2013, 09:25
Post #3


Member


Group: Full Members
Posts: 6421
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.81b



QUOTE (chrisjj @ Nov 12 2013, 01:01) *
Please could the tags copied to the clipboard be made pastable as text e.g. into a text editor? Thanks.

You can play with the attached script.
Attached File  Mp3tag_Tool____ToClipboard.txt ( 1.29K ) Number of downloads: 129

You can find gclip.exe there ...
http://www.ossh.com/gnu-win32/gclip.exe

There is another method to get content from the tag-fields and to copy them to the clipboard ...
http://forums.mp3tag.de/index.php?showtopi...ost&p=64645

DD.20131112.0925.CET

This post has been edited by DetlevD: Nov 12 2013, 14:42


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chrisjj
post Nov 12 2013, 14:14
Post #4


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



QUOTE (ohrenkino @ Nov 12 2013, 07:51) *
AFAIK it is already possible to copy a single field to the clipboard.


True, but I said tags plural, not field singular.

QUOTE (ohrenkino @ Nov 12 2013, 07:51) *
For more fields there is the export function which creates a text file.


True, but that requires one to code a script.

QUOTE (ohrenkino @ Nov 12 2013, 07:51) *
I think that the clipboard has a limited size


Clipboard may be up to 2 GB. That's big enough for me.

QUOTE (ohrenkino @ Nov 12 2013, 07:51) *
You may define the meta format for the export (plain, rtf, html, probably xml) which saves you tedious conversions. I doubt that the clipboard supplies these functions.


The clipboard support all those formats and if the app so choose, Copy to copy to clipboard could use an export script.

But my request is to copy the whole of the selected tags as plain text. It would be nice aso to have the option to copy just the shown fields of the selected tags e.g. like J. River Media Center:

Go to the top of the page
 
+Quote Post
chrisjj
post Nov 14 2013, 23:48
Post #5


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



QUOTE (DetlevD @ Nov 12 2013, 08:25) *
You can play with the attached script.
Attached File  Mp3tag_Tool____ToClipboard.txt ( 1.29K ) Number of downloads: 129

You can find gclip.exe there ...
http://www.ossh.com/gnu-win32/gclip.exe


Thanks D, but here it fails - shows



then launches IE with the home page.

QUOTE (DetlevD @ Nov 12 2013, 08:25) *
There is another method to get content from the tag-fields and to copy them to the clipboard ...
http://forums.mp3tag.de/index.php?showtopi...ost&p=64645


Useful - thanks. BTW it works on IE6, but not on Chrome 30.
Go to the top of the page
 
+Quote Post
DetlevD
post Nov 15 2013, 01:15
Post #6


Member


Group: Full Members
Posts: 6421
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.81b



QUOTE (chrisjj @ Nov 14 2013, 23:48) *
... Thanks D, but here it fails ...

Hm, the given example script contains different test approaches.
You can remove all lines regarding image search and escaping and so on.
When you run the cmd file via Mp3tag tools, then a line with Artist Title should be put onto the Clipboard.
Did you see it?

DD.20131115.0115.CET

This post has been edited by DetlevD: Nov 15 2013, 01:15


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chrisjj
post Nov 15 2013, 01:49
Post #7


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



OK, I get it now, D. I had miunderstood the installation instructions smile.gif

QUOTE (DetlevD @ Nov 15 2013, 00:15) *
then a line with Artist Title should be put onto the Clipboard. Did you see it?


Yup, e.g.

CODE
"Edwyn Collins A Girl Like You"


I can find no way to remove the quotes. %~P1% causes fail.

Also I note this only works on a single track.

Useful to have, though. Thanks!


Go to the top of the page
 
+Quote Post
DetlevD
post Nov 15 2013, 09:16
Post #8


Member


Group: Full Members
Posts: 6421
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.81b



QUOTE (chrisjj @ Nov 15 2013, 01:49) *
... I can find no way to remove the quotes.

SET P1=%~1
... removes the double quotes from the first parameter.

QUOTE (chrisjj @ Nov 15 2013, 01:49) *
... Also I note this only works on a single track. ...

Hm, you may set the Mp3tag tool option for opening multiple instances, but that does not fit because gclip.exe has no support for adding to the clipboard.

Using gclip.exe is just a stopgap (german: Notbehelf).
From internal Mp3tag it would be easy to implement outputting text to the Windows standard clipboard.

DD.20131115.0915.CET


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chrisjj
post Nov 20 2013, 00:53
Post #9


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



QUOTE (DetlevD @ Nov 15 2013, 08:16) *
SET P1=%~1
... removes the double quotes from the first parameter.


Thanks. That works... except it causes fail where the string contains e.g. "&" e.g.



QUOTE (DetlevD @ Nov 15 2013, 08:16) *
Hm, you may set the Mp3tag tool option for opening multiple instances, but that does not fit because gclip.exe has no support for adding to the clipboard.


OK, thanks.

QUOTE (DetlevD @ Nov 15 2013, 08:16) *
From internal Mp3tag it would be easy to implement outputting text to the Windows standard clipboard.


I agree. I hope Florian agrees! smile.gif

More pledges please...
Go to the top of the page
 
+Quote Post
DetlevD
post Nov 26 2013, 21:34
Post #10


Member


Group: Full Members
Posts: 6421
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.81b



QUOTE (chrisjj @ Nov 12 2013, 01:01) *
Please could the tags copied to the clipboard be made pastable as text e.g. into a text editor? Thanks.

chrisjj, I have some questions.

1. Would it be feasible for you, would it be ok for you, to run a Mp3tag tool with given parameters?
The tool will copy all given parameters to the clipboard, depending on the maximal size of the commandline of course.

2. How should the parameters put to the clipboard?
- Should the entire parameter part of the comandline put to the clipboard without any change?
- Should the parameters on the clipboard ordered from left to right, as given by the command line when calling the tool?
"Param1" "P a r a m 2" "Param 3"
- Should the parameters on the clipboard ordered from top to down, each parameter in a new line?
"Param1"
"P a r a m 2"
"Param 3"

3. Should the parameters on the clipboard be enclosed in double quotes or not?

4. Do you want to have the chance to view and edit the parameters text before copying to clipboard?

5. Do you want to run such a "PutParamsToClipboard" tool against only one file or against a set of files?
For multiple files how should the output to clipboard be organized?

DD.20131126.2135.CET


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chrisjj
post Mar 20 2014, 14:46
Post #11


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



QUOTE (DetlevD @ Nov 26 2013, 20:34) *
1. Would it be feasible for you, would it be ok for you, to run a Mp3tag tool with given parameters?


Yes.

QUOTE (DetlevD @ Nov 26 2013, 20:34) *
2. How should the parameters put to the clipboard?


In what ever format that allows paste into other programs e.g. text editor, music librarian such as JRiver Media Center.

QUOTE (DetlevD @ Nov 26 2013, 20:34) *
4. Do you want to have the chance to view and edit the parameters text before copying to clipboard?


No.

QUOTE (DetlevD @ Nov 26 2013, 20:34) *
5. Do you want to run such a "PutParamsToClipboard" tool against only one file or against a set of files?


Against the selected files.

QUOTE (DetlevD @ Nov 26 2013, 20:34) *
For multiple files how should the output to clipboard be organized?


As Media Center would be good:

CODE
Name    Artist    Album Artist    Album    Rating    Genre    Track #    Duration    Bitrate    File Type    Date    Filename
Tic, tac    Enríque Rodríguez canta Armando Moreno        Chris Misc. Trad. [02480002928829]    ? stars    Tango    22    2:30    577    wma    1941    (Install Drive):\TLIB\02480002928829\1\22.wma
Desencanto    Francisco Canaro canta Roberto Maida        Chris Misc. Trad. [02480002928829]    ? stars    Tango    23    2:37    309    wma    1937    (Install Drive):\TLIB\02480002928829\1\23.wma
Go to the top of the page
 
+Quote Post
DetlevD
post Mar 20 2014, 15:08
Post #12


Member


Group: Full Members
Posts: 6421
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.81b



Chris, I thought that this thread is done.

Use the export script from there ...
http://forums.mp3tag.de/index.php?showtopic=18035

DD.20140320.1508.CET


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chrisjj
post Mar 20 2014, 15:41
Post #13


Member


Group: Full Members
Posts: 1527
Joined: 25-October 05
Member No.: 2273
Mp3tag Version: -



Thanks D.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th March 2017 - 08:16