![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edinburgh, United Kingdom
Device: Sony PRS-600
|
Plugboards help & Updating metadata from device to Library
I'm hoping someone here can help me out with these two questions, or at least point me in the right direction, because I'm feeling a little lost. (Or just tell me if I'm trying to do something impossible again.)
1. When transferring metadata from Calibre to my Sony T1 Reader, the tags get "converted" to collections, obviously. What I'm trying to is prefix the collection names with the tag's (user or predefined) category (and sub-category, if applicable). So, for example, if a book is tagged "Adventure", which is under the User Category "Genre", I want it to be part of the collection "Genre: Adventure; all the books that are part of the Dark Tower series in Calibre should be in a "Series: The Dark Tower" collection on the reader, etc. I know (or at least I'm pretty sure) that this should be done with plugboards, but I'm lost as to how to go about this, and google doesn't seem to be cooperating today. Help? 2. How do I "re-convert", so to speak, Collections "back" to tags for books already in the Library, and is it possible to do this selectively (either manually for certain books, or (automatically?) for certain collections? I have three collections on the reader to keep track of which books I've already read (as in, finished, as opposed to just opened), which I'm currently reading (which might be several), and which I'm planning to read next, and I usually "move" books from one collection to the other on the reader itself. Is there a way to make Calibre "import" these changes, or do I need to add/remove these tags manually? (This is the part I suspect may not be possible, but I figured I'd ask.) Thanks for any help, folks, and my apologies for rambling. ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,902
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Sorry, I am confused about what you are doing. When you say "User Category", what do you mean? Is that a custom column, or really a user-defined category in the tag browser? What is a sub-category?
If: - genre is a custom column (assume the lookup name is #genre) - the column name is the "category", - the column value is the sub-category, - you use automatic metadata management (good idea with the T1) then the tweak "Specify renaming rules for SONY collections" will solve your problem. In this example I assume that you have changed your T1 setup to build categories from series and #genre, but not from tags. Set the tweaks as follows: Code:
sony_collection_renaming_rules = {'series':'Series'} sony_collection_name_template = '{category:||: }{value}' Regarding importing collections back from the device, there is no way to do that. |
![]() |
![]() |
![]() |
#3 | ||
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edinburgh, United Kingdom
Device: Sony PRS-600
|
Quote:
Does that make more/any sense? ... Okay, running into additional problems, now. Augh. The example you gave should work for predefined categories like Series or Languages ... except I just tried it, and it does nothing. o_O I even tried c&ping the example used in the help section (the last one -- as in, the last two lines, basically), applied, restarted, checked that the tweak is still there, tried to transfer a book, and nada. the series is just a collection "Test Series", rather than "Series: Test Series", which it should be. Could I be missing something? o_O Quote:
|
||
![]() |
![]() |
![]() |
#4 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,902
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
User defined categories aren't real metadata. They are useful for organizing within calibre, but cannot be generally used as metadata items. I think that what you want to do is use hierarchical categories. See this tutorial for an example. If you set up a multi-level genre column matching your example, then with some template magic you can get these to build collection the way you want. Jumping way ahead, the tweak sony_collection_name_template would be defined as: Code:
sony_collection_name_template = '{value:'re($, '\.', ': ')'}' Quote:
The advantage of using auto management is that your collections are updated from current metadata every time you connect your device to calibre. Edit some metadata, connect the device, and voila. This is really very convenient, especially when you are still experimenting with a system. |
||
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edinburgh, United Kingdom
Device: Sony PRS-600
|
After a look at the tutorial you linked, this is in fact exactly what I want. Many, many thanks! Now I just have to change all the tags to columns. (A project! Yaye!)
Quote:
![]() Thanks again for your help! ![]() |
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Edinburgh, United Kingdom
Device: Sony PRS-600
|
Yay, it worked! Minor note for anyone finding this thread later, you want:
Code:
sony_collection_name_template = '{category:||: }{value:re(\\.,: )}' |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,902
Karma: 7076137
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
sony_collection_name_template = "{value:'re($, '\.', ': ')'}" ![]() |
|
![]() |
![]() |
![]() |
Tags |
calibre, sony reader, user categories |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
emailing books and 'On Device' / series / metadata plugboards | affa | Library Management | 10 | 06-18-2012 12:45 AM |
Metadata Plugboards and send to Storage Card A | ejacevich | Devices | 0 | 05-25-2011 11:10 AM |
Metadata Plugboards and "On Device" | kranu | Library Management | 2 | 04-10-2011 01:37 AM |
DR800 updating metadata externally | Mr. X | iRex | 7 | 04-10-2010 12:14 PM |
Send to Device & Metadata | Bob Butler | Calibre | 18 | 02-22-2009 09:33 PM |