-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] - Allow Ryot to track anything #73
Comments
This would be a great idea. I would find this one very useful for my uses. |
This would be great. Configurable fields (image/gallery, url, description, tags, coordinates) would be good, or just enough generic ones - is that what you meant by user configs? One of the things I've been wanting to track for a long time is notable places visited. Tracking research papers, publications or website articles would be nice too. |
I plan to have a google forms like builder that will allow one to create tables, add image/url/text fields and so on. |
Original post at #4
To add on to this I decided to come up with an example name: Snack Tracker
navigation:
name: Food
icon: mdi:food # This is for refrencing the 'food' icon in the Material Design Icons library similar to HASS
- tab:
name: Snacks
config: snacks.yaml snacks.yaml# I'm assuming itemConfig wouldnt need to have everything defined for example
# I would assume most if not all tracker items would have things like:
# Title, Description, Image, Sub heading (Movies have the category - runtime - year)
itemConfig:
# These would be used to create the tabs inside the item view and In this case I would assume there are
# both generics like: input, markdown, api, etc. As well as more specific ones like review that would have
# the logic pre-programed into it so it matches the rest of ryot.
- overview # Markdown?
- review # Implement the same review system as the other trackers for consistency
- input # A generic Input thats tab gets named Comment
name: Comment
# This is a very rough idea in my head. It would be nice to someone configure it so that the
# JSON data could be displayed maybe using HTML, or Markdown or something.
- api
endpoint: https://api.example.com/foodstuff/snack?id=generic_chips This would obviously need some type of add button to store custom items in a database of some type. Maybe Mongo? Or some other NOSQL DB? |
This looks pretty nice.
How would API integration work here?
I think we can leverage JSON fields. No need to introduce an additional component. I want to keep Ryot as lean as possible. |
This is where things get a little fuzzy in my head. I'm trying to thing of some system that would allow users to basically display text from the respons JSON. For example if the response for the example snack api was {
"snack": {
"name": "Chips"
"calories": 125
"sugar": "2mg"
"flavor": "BBQ"
}
} Then the user could setup some type of config like: - api
endpoint: https://api.example.com/foodstuff/snack?id=generic_chips
display:
- "Flavor: {snack['flavor']}"
- "Calories: {snack['calories']}" I am not sure of the best way to use the variables inside the YAML but as an example I used Flavor: BBQCalories: 125
That would definitely be better. Thats sorta on the same line I was thinking with Mongo as it uses BSON (Basically JSON) for storage. |
Huh interesting. I like the idea but I think it would be pretty difficult to implement and get right. |
From @mmarquezs
|
Agreed, would love to see the ability to track almost anything. Make hierarchical methods of tracking items. For example, magazines which have years/volumes, issues, etc. Have user definable fields/tags that allow for things like adding subjects, whether that issue is in the collection or not, has it been read, etc. Also, the ability to attach media to each item such as a photo or cover image. |
Track Steam Games and Playtime API Info API Endpoints |
How about travels / visits? People could mark cities of a country as visited, or even specific locations, such as district, or pinpoint locations etc. Multiple visits could also be tracked. |
Once this is implemented, you will be able to make custom schemas for tracking anything. So yeah travel locations is an excellent idea. I plan to create a separate repo for commonly used schemas. |
Maybe look at Tandoor Recipe. There is a project about importing foods and there values |
I would also like to see this but even just for the things that RYOT can already track. For example, I am keeping track of movies through RYOT but want to be able to tag movies with custom tags or info - such as whether I own it digitally or physically on disc. If I own it physically on disc, I want to be able to tag or tell RYOT somewhere whether the disc is a steelbook, a normal disc, a 4k disc, a criterion version, etc. From what I can see in the demo instance, I can create collections for each of these but then there's no way to see what collections a movie is part of in the movie's details. Being able to extend or modify the item templates is really what I'm looking for and that seems like it would also be extensible to being able to track anything. |
There is a "Mark as owned" button under "More actions" in the actions tab. Not sure why the collections are not showing up in the media details. I think you should open another issue for that. |
I think you misunderstood me. I want to keep track of the distinction of whether I own it physically or digitally, not just whether I own it. And the collections thing was a workaround that I was using to not being able to add tags based on that ownership. As I mentioned, I would like to be able to specify what edition or variant a movie is as those would be different depending on whether it’s a physical or digital release. Right now, RYOT has no way to do that that I can see. |
I agree. Can you open a separate issue for this so that we can discuss this better? |
Is this moving somewhere? |
It was moved to a discussion. |
From a Discord conversation:
|
The idea was from Reddit.
Ryot be extended to track other types of items. For example:
I do not plan to work on this anytime soon since it would be a big undertaking, and I would like to finish the fitness tracking. But I am creating this issue to gather feedback.
The text was updated successfully, but these errors were encountered: